This section describes the settings and value ranges of cluster transaction parameters.
Parameter description: Specifies the isolation level of the current transaction.
Type: USERSET
Value range:
Default value: READ COMMITTED
Parameter description: Specifies that the current transaction is a read-only transaction.
Type: USERSET
Value range: Boolean
Default value: off for CNs and on for DNs
Parameter description: Specifies whether the system is in maintenance mode.
Type: SUSET
Value range: Boolean
Default value: off
Enable the maintenance mode with caution to avoid cluster data inconsistencies.
Parameter description: Specifies whether to allow concurrent update.
Type: USERSET
Value range: Boolean
Default value: on
Parameter description: Specifies whether to create a restoration point for the GTM starting point.
Type: SUSET
Value range: Boolean
Default value: off
Parameter description: Sets the CN to check whether the connection between the local thread and the primary GTM is normal.
Type: SIGHUP
Value range: an integer ranging from 0 to INT_MAX/1000. The unit is second.
Default value: 10s
Parameter description: Specifies whether to delay the execution of a read-only serial transaction without incurring an execution failure. Assume this parameter is set to on. When the server detects that the tuples read by a read-only transaction are being modified by other transactions, it delays the execution of the read-only transaction until the other transactions finish modifying the tuples. Currently, this parameter is not used in GaussDB(DWS). Similar to this parameter, the default_transaction_deferrable parameter is used to specify whether to allow delayed execution of a transaction.
Type: USERSET
Value range: Boolean
Default value: off
Parameter description: This parameter is reserved for compatibility with earlier versions. This parameter is invalid in the current version.
Parameter description: This parameter is available only in a read-only transaction and is used for analysis. When this parameter is set to on/true, all versions of tuples in the table are displayed.
Type: USERSET
Value range: Boolean
Default value: off
Parameter description: Specifies the number of GTM reconnection attempts.
Type: SIGHUP
Value range: an integer ranging from 1 to 2147483647.
Default value: 30
Parameter description: Specifies whether unmatched nodes are redistributed.
Type: SUSET
Value range: Boolean
Default value: off
Parameter description: Specifies whether the GTM-FREE mode is enabled. In large concurrency scenarios, the snapshots delivered by the GTM increase in number and size. The network between the GTM and the CN becomes the performance bottleneck. The GTM-FREE mode is used to eliminate the bottleneck. In this mode, the CN communicates with DNs instead of the GTM. The CN sends queries to each DN, which locally generates snapshots and xids, ensuring external write consistency but not external read consistency.
You are not advised to set this parameter to on in OLTP or OLAP scenarios where strong read consistency is required. This parameter is invalid for GaussDB(DWS).
Type: SUSET
Value range: Boolean
Default value: off