Parameter description: Specifies the level of the information that is written to WALs.
Type: POSTMASTER
Value range: enumerated values
Advantages: Certain bulk operations (including creating tables and indexes, executing cluster operations, and copying tables) are safely skipped in logging, which can make those operations much faster.
Disadvantages: WALs only contain basic information required for the recovery from a database server crash or an emergency shutdown. Archived WALs cannot be used to restore data.
Adds logging required for WAL archiving, supporting the database restoration from archives.
Default value: hot_standby
Parameter description: Specifies the synchronization mode of the current transaction.
Type: USERSET
Value range: enumerated values
Default value: on
Parameter description: Specifies the number of XLOG_BLCKSZs used for storing WAL data. The size of each XLOG_BLCKSZ is 8 KB.
Type: POSTMASTER
Value range: -1 to 218. The unit is 8 KB.
Default value: 256 MB
Setting suggestions: The content of WAL buffers is written to disks at each transaction commit, and setting this parameter to a large value does not significantly improve system performance. Setting this parameter to hundreds of megabytes can improve the disk writing performance on the server, to which a large number of transactions are committed. Based on experiences, the default value meets user requirements in most cases.
Parameter description: Specifies whether to enable WAL log rate limiting. This parameter is supported only by cluster versions 8.2.0 and later.
Type: SIGHUP
Value range: Boolean
Default value: on
Parameter description: Specifies the behavior policy after rate limiting is triggered. This parameter is supported only by clusters of 8.2.0 and later versions.
Type: USERSET
Value range: enumerated values
Default value: warning
Setting the parameter to warning does not affect performance. Setting it to decelerate will limit the rate based on policy settings if the rate exceeds the threshold.
Parameter description: Specifies the maximum WAL write speed (byte/s) allowed by each query on a single DN. This parameter is supported only by clusters of 8.2.0 or later.
Type: USERSET
Value range: an integer ranging from 1024 to 10240000, in KB.
Default value: 30MB
The rate of a large number of jobs with index copy and deletion operations will be limited.
Parameter description: Specifies the threshold of WAL write rate limiting for each query on a single DN. This parameter is supported only by cluster versions 8.2.0 and later.
Type: USERSET
Value range: an integer ranging from 1024 to 100000000000, in KB.
Default value: 128MB
This function is triggered only if the number of Xlogs generated by a single query is greater than the value of this parameter. DDL operations or a small number of DML operations are not affected.
Parameter description: Specifies the duration of committed data be stored in the WAL buffer.
Type: USERSET
Value range: an integer, ranging from 0 to 100000 (unit: μs). 0 indicates no delay.
Default value: 0
Parameter description: Specifies a limit on the number of ongoing transactions. If the number of ongoing transactions is greater than the limit, a new transaction will wait for the period of time specified by commit_delay before it is submitted. If the number of ongoing transactions is less than the limit, the new transaction is immediately written into a WAL.
Type: USERSET
Value range: an integer ranging from 0 to 1000
Default value: 5
Parameter description: Specifies whether to compress FPI pages.
Type: USERSET
Value range: Boolean
Default value: on
Parameter description: Specifies the compression level of zlib compression algorithm when the wal_compression parameter is enabled.
Type: USERSET
Value range: an integer ranging from 0 to 9.
Default value: 9