!662 优化开箱即用的GUC调整

Merge pull request !662 from 胡正超/perfcfg
This commit is contained in:
opengauss_bot 2024-01-03 01:43:42 +00:00 committed by Gitee
commit a607777499
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 3 deletions

View File

@ -141,12 +141,15 @@ class OptBypassGUC(GUCTuneGroup):
self.enable_opfusion = self.bind('enable_opfusion')
self.enable_partition_opfusion = self.bind('enable_partition_opfusion')
self.opfusion_debug_mode = self.bind('opfusion_debug_mode')
self.enable_beta_opfusion = self.bind('enable_beta_opfusion')
def calculate(self):
infos = Project.getGlobalPerfProbe()
self.enable_opfusion.turn_on()
if infos.business.scenario == BsScenario.TP_PERFORMANCE and TblKind.havePartTbl(infos.business.rel_kind):
self.enable_partition_opfusion.turn_on()
if infos.business.scenario == BsScenario.TP_PERFORMANCE:
self.enable_beta_opfusion.turn_on()
if TblKind.havePartTbl(infos.business.rel_kind):
self.enable_partition_opfusion.turn_on()
class OptExplainGUC(GUCTuneGroup):

View File

@ -159,7 +159,6 @@ class DevelopOptionGUC(GUCTuneGroup):
self.support_batch_bind = self.bind('support_batch_bind')
self.log_pagewriter = self.bind('log_pagewriter')
self.advance_xlog_file_num = self.bind('advance_xlog_file_num')
self.enable_beta_opfusion = self.bind('enable_beta_opfusion')
self.enable_csqual_pushdown = self.bind('enable_csqual_pushdown')
self.string_hash_compatible = self.bind('string_hash_compatible')
self.pldebugger_timeout = self.bind('pldebugger_timeout')