Skip to content

Commit 42718e5

Browse files
add some config (#4310)
* add some config * address comments Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
1 parent 7ca2bad commit 42718e5

4 files changed

+34
-0
lines changed

conf/nebula-graphd.conf.default

+2
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
--ws_http_port=19669
7070
# storage client timeout
7171
--storage_client_timeout_ms=60000
72+
# slow query threshold in us
73+
--slow_query_threshold_us=200000
7274
# Port to listen on Meta with HTTP protocol, it corresponds to ws_http_port in metad's configuration file
7375
--ws_meta_http_port=19559
7476

conf/nebula-graphd.conf.production

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
--ws_http_port=19669
6969
# storage client timeout
7070
--storage_client_timeout_ms=60000
71+
# slow query threshold in us
72+
--slow_query_threshold_us=200000
7173
# Port to listen on Meta with HTTP protocol, it corresponds to ws_http_port in metad's configuration file
7274
--ws_meta_http_port=19559
7375

conf/nebula-storaged.conf.default

+18
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,21 @@
112112
--rocksdb_column_family_options={"write_buffer_size":"67108864","max_write_buffer_number":"4","max_bytes_for_level_base":"268435456"}
113113
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma
114114
--rocksdb_block_based_table_options={"block_size":"8192"}
115+
116+
############### misc ####################
117+
# Whether remove outdated space data
118+
--auto_remove_invalid_space=true
119+
# Network IO threads number
120+
--num_io_threads=16
121+
# Worker threads number to handle request
122+
--num_worker_threads=32
123+
# Maximum subtasks to run admin jobs concurrently
124+
--max_concurrent_subtasks=10
125+
# The rate limit in bytes when leader synchronizes snapshot data
126+
--snapshot_part_rate_limit=10485760
127+
# The amount of data sent in each batch when leader synchronizes snapshot data
128+
--snapshot_batch_size=1048576
129+
# The rate limit in bytes when leader synchronizes rebuilding index
130+
--rebuild_index_part_rate_limit=4194304
131+
# The amount of data sent in each batch when leader synchronizes rebuilding index
132+
--rebuild_index_batch_size=1048576

conf/nebula-storaged.conf.production

+12
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,19 @@
115115
--rocksdb_enable_blob_garbage_collection=true
116116

117117
############### misc ####################
118+
# Whether remove outdated space data
119+
--auto_remove_invalid_space=true
120+
# Network IO threads number
121+
--num_io_threads=16
122+
# Worker threads number to handle request
123+
--num_worker_threads=32
124+
# Maximum subtasks to run admin jobs concurrently
125+
--max_concurrent_subtasks=10
126+
# The rate limit in bytes when leader synchronizes snapshot data
118127
--snapshot_part_rate_limit=10485760
128+
# The amount of data sent in each batch when leader synchronizes snapshot data
119129
--snapshot_batch_size=1048576
130+
# The rate limit in bytes when leader synchronizes rebuilding index
120131
--rebuild_index_part_rate_limit=4194304
132+
# The amount of data sent in each batch when leader synchronizes rebuilding index
121133
--rebuild_index_batch_size=1048576

0 commit comments

Comments
 (0)