From 2adc045331fd71fccd2277ab4996505d3bbf2f89 Mon Sep 17 00:00:00 2001 From: Yee <2520865+yixinglu@users.noreply.github.com> Date: Fri, 31 Mar 2023 10:38:20 +0800 Subject: [PATCH] Add some performance options in configure file (#5463) Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> --- conf/nebula-graphd.conf.default | 7 +++++++ conf/nebula-graphd.conf.production | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/conf/nebula-graphd.conf.default b/conf/nebula-graphd.conf.default index c937b665ac6..9fb904677ca 100644 --- a/conf/nebula-graphd.conf.default +++ b/conf/nebula-graphd.conf.default @@ -123,3 +123,10 @@ # memory background purge interval in seconds --memory_purge_interval_seconds=10 +########## performance optimization ########## +# The max job size in multi job mode +--max_job_size=1 +# The min batch size for handling dataset in multi job mode, only enabled when max_job_size is greater than 1 +--min_batch_size=8192 +# if true, return directly without go through RPC +--optimize_appendvertices=false diff --git a/conf/nebula-graphd.conf.production b/conf/nebula-graphd.conf.production index 7fd8d3f6da5..3c63b25d7d6 100644 --- a/conf/nebula-graphd.conf.production +++ b/conf/nebula-graphd.conf.production @@ -115,3 +115,11 @@ --memory_purge_enabled=true # memory background purge interval in seconds --memory_purge_interval_seconds=10 + +########## performance optimization ########## +# The max job size in multi job mode +--max_job_size=1 +# The min batch size for handling dataset in multi job mode, only enabled when max_job_size is greater than 1 +--min_batch_size=8192 +# if true, return directly without go through RPC +--optimize_appendvertices=false