Skip to content

Commit

Permalink
[Feature] fix some performance guc default
Browse files Browse the repository at this point in the history
  • Loading branch information
HBKO committed Jul 14, 2023
1 parent a2823ab commit 09e1682
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/backend/utils/misc/guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@ static struct config_bool ConfigureNamesBool[] =
NULL,
},
&polar_csn_enable,
false,
true,
NULL, NULL, NULL
},
{
Expand Down Expand Up @@ -5845,7 +5845,7 @@ static struct config_int ConfigureNamesInt[] =
GUC_UNIT_BLOCKS
},
&polar_bulk_extend_size,
0, 0, INT_MAX / 2,
512, 0, INT_MAX / 2,
NULL, NULL, NULL
},
{
Expand Down
3 changes: 2 additions & 1 deletion src/backend/utils/misc/postgresql.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,8 @@
# %% = '%'
# e.g. '<%u%%%d> '
#log_lock_waits = off # log lock waits >= deadlock_timeout
#log_statement = 'none' # none, ddl, mod, all
log_statement = 'ddl' # none, ddl, mod, all

#log_replication_commands = off
#log_temp_files = -1 # log temporary files equal or larger
# than the specified size in kilobytes;
Expand Down
2 changes: 1 addition & 1 deletion src/backend/utils/misc/postgresql.conf.sample.polardb_pg
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ log_planner_stats=off
log_replication_commands=off
log_rotation_age=0
log_rotation_size=131072 #128MB
log_statement='all'
log_statement='ddl'
log_statement_stats=off
log_temp_files=100000
log_timezone='UTC'
Expand Down

0 comments on commit 09e1682

Please sign in to comment.