This section describes related default parameters involved in the execution of SQL statements.
Parameter description: Specifies the order in which schemas are searched when an object is referenced with no schema specified. The value of this parameter consists of one or more schema names. Different schema names are separated by commas (,).
Type: USERSET
Value range: a string
Default value: "$user",public
$user indicates the name of the schema with the same name as the current session user. If the schema does not exist, $user will be ignored.
Parameter description: Specifies the current schema.
Type: USERSET
Value range: a string
Default value: "$user",public
$user indicates the name of the schema with the same name as the current session user. If the schema does not exist, $user will be ignored.
Parameter description: Specifies the default tablespace of the created objects (tables and indexes) when a CREATE command does not explicitly specify a tablespace.
Type: USERSET
Value range: a string. An empty string indicates that the default tablespace is used.
Default value: empty
Parameter description: Specifies the Node Group where a table is created by default. This parameter takes effect only for ordinary tables.
Type: USERSET
Value range: a string
Default value: installation
Parameter description: Sets the storage format version of the column-store table that is created by default.
Type: SIGHUP
Value range: enumerated values
Default value: 2.0
Parameter description: Specifies tablespaces to which temporary objects will be created (temporary tables and their indexes) when a CREATE command does not explicitly specify a tablespace. Temporary files for sorting large data are created in these tablespaces.
The value of this parameter is a list of names of tablespaces. When there is more than one name in the list, GaussDB(DWS) chooses a random tablespace from the list upon the creation of a temporary object each time. Except that within a transaction, successively created temporary objects are placed in successive tablespaces in the list. If the element selected from the list is an empty string, GaussDB(DWS) will automatically use the default tablespace of the current database instead.
Type: USERSET
Value range: a string An empty string indicates that all temporary objects are created only in the default tablespace of the current database. For details, see default_tablespace.
Default value: empty
Parameter description: Specifies whether to enable validation of the function body string during the execution of CREATE FUNCTION. Verification is occasionally disabled to avoid problems, such as forward references when you restore function definitions from a dump.
Type: USERSET
Value range: Boolean
Default value: on
Parameter description: Specifies the default isolation level of each transaction.
Type: USERSET
Value range: enumerated values
Default value: READ COMMITTED
Parameter description: Specifies whether each new transaction is in read-only state.
Type: SIGHUP
Value range: Boolean
Default value: off
Parameter description: Specifies the default delaying state of each new transaction. It currently has no effect on read-only transactions or those running at isolation levels lower than serializable.
GaussDB(DWS) does not support the serializable isolation level of each transaction. The parameter is insignificant.
Type: USERSET
Value range: Boolean
Default value: off
Parameter description: Specifies the behavior of replication-related triggers and rules for the current session.
Type: USERSET
Setting this parameter will discard all the cached execution plans.
Value range: enumerated values
Default value: origin
Parameter description: If the statement execution time (starting when the server receives the command) is longer than the duration specified by the parameter, error information is displayed when you attempt to execute the statement and the statement then exits.
Type: USERSET
Value range: an integer ranging from 0 to 2147483647. The unit is ms.
Default value: 0
Parameter description: Specifies the minimum cutoff age (in the same transaction), based on which VACUUM decides whether to replace transaction IDs with FrozenXID while scanning a table.
Type: USERSET
Value range: an integer from 0 to 576460752303423487.
Although you can set this parameter to a value ranging from 0 to 1000000000 anytime, VACUUM will limit the effective value to half the value of autovacuum_freeze_max_age by default.
Default value: 5000000000
Parameter description: Specifies the time that VACUUM freezes tuples while scanning the whole table. VACUUM performs a whole-table scan if the value of the pg_class.relfrozenxid column of the table has reached the specified time.
Type: USERSET
Value range: an integer from 0 to 576460752303423487.
Although users can set this parameter to a value ranging from 0 to 2000000000 anytime, VACUUM will limit the effective value to 95% of autovacuum_freeze_max_age by default. Therefore, a periodic manual VACUUM has a chance to run before an anti-wraparound autovacuum is launched for the table.
Default value: 15000000000
Parameter description: Specifies the output format for values of the bytea type.
Type: USERSET
Value range: enumerated values
Default value: hex
Parameter description: Specifies how binary values are to be encoded in XML.
Type: USERSET
Value range: enumerated values
Default value: base64
Parameter description: Specifies whether DOCUMENT or CONTENT is implicit when converting between XML and string values.
Type: USERSET
Value range: enumerated values
Default value: content
Parameter description: Specifies the maximum number of function compilation results stored in the server. Excessive functions and compilation results generated during the storage may occupy large memory space. Setting this parameter to a proper value can reduce the memory usage and improve system performance.
Type: POSTMASTER
Value range: an integer ranging from 1 to INT_MAX
Default value: 1000
Parameter description: Specifies the maximum size of the GIN pending list which is used when fastupdate is enabled. If the list grows larger than this maximum size, it is cleaned up by moving the entries in it to the main GIN data structure in batches. This setting can be overridden for individual GIN indexes by modifying index storage parameters.
Type: USERSET
Value range: an integer ranging from 64 to INT_MAX. The unit is KB.
Default value: 4 MB