# Node running mode, see `standalone.example.toml`. mode = "distributed" # Whether to use in-memory catalog, see `standalone.example.toml`. enable_memory_catalog = false # The datanode identifier, should be unique. node_id = 42 # gRPC server address, "127.0.0.1:3001" by default. rpc_addr = "127.0.0.1:3001" # Hostname of this node. rpc_hostname = "127.0.0.1" # The number of gRPC server worker threads, 8 by default. rpc_runtime_size = 8 [heartbeat] # Interval for sending heartbeat messages to the Metasrv in milliseconds, 5000 by default. interval_millis = 5000 # Metasrv client options. [meta_client_options] # Metasrv address list. metasrv_addrs = ["127.0.0.1:3002"] # Operation timeout in milliseconds, 3000 by default. timeout_millis = 3000 # Connect server timeout in milliseconds, 5000 by default. connect_timeout_millis = 5000 # `TCP_NODELAY` option for accepted connections, true by default. tcp_nodelay = true # WAL options, see `standalone.example.toml`. [wal] # WAL data directory # dir = "/tmp/greptimedb/wal" file_size = "256MB" purge_threshold = "4GB" purge_interval = "10m" read_batch_size = 128 sync_write = false # Storage options, see `standalone.example.toml`. [storage] type = "File" data_home = "/tmp/greptimedb/" # TTL for all tables. Disabled by default. # global_ttl = "7d" # Compaction options, see `standalone.example.toml`. [storage.compaction] max_inflight_tasks = 4 max_files_in_level0 = 8 max_purge_tasks = 32 # Storage manifest options [storage.manifest] # Region checkpoint actions margin. # Create a checkpoint every actions. checkpoint_margin = 10 # Region manifest logs and checkpoints gc execution duration gc_duration = '10m' # Whether to try creating a manifest checkpoint on region opening checkpoint_on_startup = false # Storage flush options [storage.flush] # Max inflight flush tasks. max_flush_tasks = 8 # Default write buffer size for a region. region_write_buffer_size = "32MB" # Interval to check whether a region needs flush. picker_schedule_interval = "5m" # Interval to auto flush a region if it has not flushed yet. auto_flush_interval = "1h" # Global write buffer size for all regions. global_write_buffer_size = "1GB" # Procedure storage options, see `standalone.example.toml`. [procedure] max_retry_times = 3 retry_delay = "500ms" # Log options # [logging] # Specify logs directory. # dir = "/tmp/greptimedb/logs" # Specify the log level [info | debug | error | warn] # level = "info"