Starting with minor engine versions V1.1.28 (PostgreSQL 11) and V14.5.1.1 (PostgreSQL 14), changed default values for several parameters.
Check your engine version
Note Run one of these statements to check your cluster's minor engine version:
- PostgreSQL 11
show polar_version; - PostgreSQL 14
select version();
Parameter Details
The following parameters have new defaults:
| Parameter | Previous Default | New Default | Description |
| synchronous_commit | on | off | Controls whether transactions wait for WAL records to reach disk before the commit returns. Valid values:
Note To view the current setting: |
| wal_level | logical | replica | Controls how much information is written to the WAL. Valid values:
Warning Changing this parameter restarts the database. Proceed with caution. Note To view the current setting: |
| log_statement | all | ddl | Sets the audit log level. The default ddl audits only DDL statements, reducing log volume and improving performance. Note
|
Note All cluster parameter defaults are documented in Default Values for Cluster Parameters.
该文章对您有帮助吗?