fix opengauss example server yaml

Signed-off-by: Bin Hu <hubin73@huawei.com>
This commit is contained in:
Bin Hu
2022-07-05 20:14:19 +08:00
parent d909f7c0b6
commit df3113bb7d

View File

@@ -20,7 +20,7 @@ object :
name : "work_mem"
info :
desc : ""
get : "cat install/data/db1/postgresql.conf | grep '^work_mem =' | awk '{ $1=NULL; print $3 }"
get : "cat install/data/db1/postgresql.conf | grep '^work_mem =' | awk '{ $1=NULL; print $3 }'"
set : "sed -i 's/^work_mem.*$/work_mem = $valuekB/g' install/data/db1/postgresql.conf"
needrestart: "false"
type : "continuous"
@@ -33,7 +33,7 @@ object :
name : "commit_siblings"
info :
desc : ""
get : "cat install/data/db1/postgresql.conf | grep '^commit_siblings' | awk '{ $1=NULL; print $3 }"
get : "cat install/data/db1/postgresql.conf | grep '^commit_siblings' | awk '{ $1=NULL; print $3 }'"
set : "sed -i 's/^commit_siblings.*$/commit_siblings = $value/g' install/data/db1/postgresql.conf"
needrestart: "false"
type : "continuous"
@@ -46,7 +46,7 @@ object :
name : "commit_delay"
info :
desc : ""
get : "cat install/data/db1/postgresql.conf | grep '^commit_delay' | awk '{ $1=NULL; print $3 }"
get : "cat install/data/db1/postgresql.conf | grep '^commit_delay' | awk '{ $1=NULL; print $3 }'"
set : "sed -i 's/^commit_delay.*$/commit_delay = $value/g' install/data/db1/postgresql.conf"
needrestart: "false"
type : "continuous"
@@ -59,7 +59,7 @@ object :
name : "checkpoint_completion_target"
info :
desc : ""
get : "cat install/data/db1/postgresql.conf | grep '^checkpoint_completion_target' | awk '{ $1=NULL; print $3 }"
get : "cat install/data/db1/postgresql.conf | grep '^checkpoint_completion_target' | awk '{ $1=NULL; print $3 }'"
set : "sed -i 's/^checkpoint_completion_target.*$/checkpoint_completion_target = $value/g' install/data/db1/postgresql.conf"
needrestart: "false"
type : "continuous"