docs/en/_assets/commonMarkdown/sharedDataCNconf.mdx
Before starting CNs, add the following configuration items in the CN configuration file cn.conf:
starlet_port = <starlet_port>
storage_root_path = <storage_root_path>
The CN heartbeat service port for the StarRocks shared-data cluster. Default value: 9070.
The storage volume directory that the local cached data depends on. Multiple volumes are separated by semicolon (;). Example: /data1;/data2.
The default value for storage_root_path is ${STARROCKS_HOME}/storage.
Local cache is effective when queries are frequent and the data being queried is recent, but there are cases that you may wish to turn off the local cache completely.
To turn off the data cache set:
storage_root_path =
NOTE
The data is cached under the directory
<storage_root_path>/starlet_cache.