enable_telemetry = false auto_create_table = true max_in_flight_write_bytes = "0KiB" write_bytes_exhausted_policy = "wait" init_regions_in_background = false init_regions_parallelism = 16 heartbeat_env_vars = [] [http] addr = "192.168.1.12:5000" timeout = "0s" body_limit = "64MiB" prom_validation_mode = "strict" cors_allowed_origins = [] enable_cors = true [grpc] bind_addr = "192.168.1.12:4001" server_addr = "192.168.1.12:4001" max_recv_message_size = "512MiB" max_send_message_size = "512MiB" flight_compression = "arrow_ipc" runtime_size = 8 http2_keep_alive_interval = "10s" http2_keep_alive_timeout = "3s" [grpc.tls] mode = "disable" cert_path = "" key_path = "" ca_cert_path = "" watch = false [mysql] enable = true addr = "127.0.0.1:4002" runtime_size = 2 keep_alive = "0s" prepared_stmt_cache_size = 10000 [mysql.tls] mode = "disable" cert_path = "" key_path = "" ca_cert_path = "" watch = false [postgres] enable = true addr = "127.0.0.1:4003" runtime_size = 2 keep_alive = "0s" [postgres.tls] mode = "disable" cert_path = "" key_path = "" ca_cert_path = "" watch = false [opentsdb] enable = true [influxdb] enable = true default_merge_mode = "last_non_null" [jaeger] enable = true [prom_store] enable = true with_metric_engine = true pending_rows_flush_interval = "0s" max_batch_rows = 100000 max_concurrent_flushes = 256 worker_channel_capacity = 65526 max_inflight_requests = 3000 [wal] provider = "raft_engine" file_size = "128MiB" purge_threshold = "1GiB" purge_interval = "1m" read_batch_size = 128 sync_write = false enable_log_recycle = true prefill_log_files = false recovery_parallelism = 32 [storage] data_home = "/red-plus/db/greptimedb/data" type = "File" providers = [] [metadata_store] file_size = "64MiB" purge_threshold = "256MiB" purge_interval = "1m" [procedure] max_retry_times = 3 retry_delay = "500ms" max_running_procedures = 128 [flow] num_workers = 16 [flow.batching_mode] query_timeout = "10m" slow_query_threshold = "1m" experimental_min_refresh_duration = "5s" grpc_conn_timeout = "5s" experimental_grpc_max_retries = 3 experimental_frontend_scan_timeout = "30s" experimental_max_filter_num_per_query = 20 experimental_time_window_merge_threshold = 3 experimental_enable_incremental_read = false read_preference = "Leader" [logging] dir = "/red-plus/db/greptimedb/data/logs" log_format = "text" max_log_files = 720 append_stdout = true enable_otlp_tracing = false [[region_engine]] [region_engine.mito] num_workers = 16 worker_channel_size = 128 worker_request_batch_size = 64 manifest_checkpoint_distance = 10 experimental_manifest_keep_removed_file_count = 256 experimental_manifest_keep_removed_file_ttl = "1h" compress_manifest = false max_background_index_builds = 4 max_background_flushes = 16 max_background_compactions = 8 max_background_purges = 32 experimental_compaction_memory_limit = "unlimited" experimental_compaction_on_exhausted = "wait" auto_flush_interval = "30m" global_write_buffer_size = "1GiB" global_write_buffer_reject_size = "2GiB" sst_meta_cache_size = "128MiB" vector_cache_size = "512MiB" page_cache_size = "8192230KiB" selector_result_cache_size = "512MiB" range_result_cache_size = "512MiB" prefilter_result_cache_size = "128MiB" enable_write_cache = false write_cache_path = "" write_cache_size = "5GiB" preload_index_cache = true index_cache_percent = 20 enable_refill_cache_on_read = true manifest_cache_size = "256MiB" sst_write_buffer_size = "8MiB" max_concurrent_scan_files = 384 allow_stale_entries = false scan_memory_limit = "unlimited" scan_memory_on_exhausted = "fail" min_compaction_interval = "0s" default_flat_format = true [region_engine.mito.index] aux_path = "" staging_size = "2GiB" staging_ttl = "7days" build_mode = "sync" write_buffer_size = "8MiB" metadata_cache_size = "64MiB" content_cache_size = "128MiB" content_cache_page_size = "64KiB" result_cache_size = "128MiB" [region_engine.mito.inverted_index] create_on_flush = "auto" create_on_compaction = "auto" apply_on_query = "auto" mem_threshold_on_create = "auto" [region_engine.mito.fulltext_index] create_on_flush = "auto" create_on_compaction = "auto" apply_on_query = "auto" mem_threshold_on_create = "auto" compress = true [region_engine.mito.bloom_filter_index] create_on_flush = "auto" create_on_compaction = "auto" apply_on_query = "auto" mem_threshold_on_create = "auto" [region_engine.mito.gc] enable = false lingering_time = "1m" unknown_file_lingering_time = "1h" max_concurrent_lister_per_gc_job = 32 max_concurrent_gc_job = 4 [[region_engine]] [region_engine.file] [tracing] [slow_query] enable = true record_type = "system_table" threshold = "30s" sample_ratio = 1.0 ttl = "2months 29days 2h 52m 48s" [query] parallelism = 0 allow_query_fallback = false memory_pool_size = "unlimited" [memory] enable_heap_profiling = true