打开dms时,数据库只能使用段页式存储,开放release版本的enable_segment参数可配置,提升易用性
This commit is contained in:
@ -727,6 +727,7 @@ logical_sender_timeout|int|0,2147483647|ms|NULL|
|
||||
var_eq_const_selectivity|bool|0,0|NULL|NULL|
|
||||
enable_save_confirmed_lsn|bool|0,0|NULL|NULL|
|
||||
ss_enable_dss|bool|0,0|NULL|NULL|
|
||||
enable_segment|bool|0,0|NULL|NULL|
|
||||
ss_dss_vg_name|string|0,0|NULL|NULL|
|
||||
ss_dss_conn_path|string|0,0|NULL|NULL|
|
||||
ss_enable_dms|bool|0,0|NULL|NULL|
|
||||
|
@ -1593,6 +1593,10 @@ static void setup_config(void)
|
||||
securec_check_c(nRet, "\0", "\0");
|
||||
conflines = replace_token(conflines, "#ss_enable_dss = off", repltok);
|
||||
|
||||
nRet = strcpy_s(repltok, sizeof(repltok), "enable_segment = on");
|
||||
securec_check_c(nRet, "\0", "\0");
|
||||
conflines = replace_token(conflines, "#enable_segment = off", repltok);
|
||||
|
||||
conflines = ss_addnodeparmater(conflines);
|
||||
}
|
||||
|
||||
|
@ -956,7 +956,6 @@ static void InitStorageConfigureNamesBool()
|
||||
NULL,
|
||||
NULL},
|
||||
|
||||
#ifdef USE_ASSERT_CHECKING
|
||||
{{"enable_segment",
|
||||
PGC_SIGHUP,
|
||||
NODE_ALL,
|
||||
@ -968,7 +967,7 @@ static void InitStorageConfigureNamesBool()
|
||||
NULL,
|
||||
NULL,
|
||||
NULL},
|
||||
#endif
|
||||
|
||||
{{"enable_gtm_free",
|
||||
PGC_POSTMASTER,
|
||||
NODE_DISTRIBUTE,
|
||||
|
@ -852,3 +852,4 @@ job_queue_processes = 10 # Number of concurrent jobs, optional: [0..1000]
|
||||
#ss_enable_ondemand_recovery = off
|
||||
#ss_ondemand_recovery_mem_size = 4GB # min: 1GB, max: 100GB
|
||||
#enable_ss_dorado = off
|
||||
#enable_segment = off
|
||||
|
Reference in New Issue
Block a user