This document describes the relevant parameters of the YMatrix database cluster category in the system configuration parameters.
Notes!
To ensure the stability and security of the system, please be sure to manually modify the relevant parameters**.
Whether to allow deletion of YMatrix extensions.
| Data Type | Default | Set Category | | --- | --- | | boolean | off | master; session; reload |
Specifies the Segment used to create the table.
| Data Type | Default | Set Category | | --- | --- | | string | | segments; session; reload; superuser |
Specifies the default Segment collection used to create the table.
| Data Type | Default | Set Category | | --- | --- | | string | | segments; session; reload; superuser |
Set the provider of YMatrix high availability features.
external
by default; if you use the command line to deploy, fts
by default.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | enum | external | fts / external | segments; system; restart |
Send a signal to postmaster about the death of its parent process.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 0 | 0 ~ 64 | segments; system; restart |
For the YMatrix database master image, controls the update of active slave nodes.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 1 | 0 ~ INT_MAX/1073741824 | master; system; reload; superuser |
When YMatrix database segment mirroring is enabled, the maximum amount (KB) of the write-pre-log (WAL) is specified, which is a record written based on a Primary transaction before the record is written to the Mirror for replication.
wait_for_replication_threshold
value is reached, the YMatrix database writes records to the mirror segment instance.0
will disable the check of the number of records. Records are written to the mirror segment instance only after a checkpoint occurs.0
, database performance issues may occur under heavy loads of long transactions that do not perform checkpoint operations.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 1024 | 0 ~ INT_MAX/1024 | master; system; reload |
Specifies the flow control method used for the default YMatrix database UDPIFC interconnect.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | enum | loss | loss / capacity | master; session; reload |
When the server configuration parameter gp_interconnect_type
is set to proxy
, set the proxy port used by the YMatrix database. Otherwise, this parameter will be ignored.
gp_interconnect_type
parameter is set to proxy
, you must specify a proxy port in this format for Master, Standby, and all Segment node instances: <db_id>:<cont_id>:<seg_address>:<port>[, ... ]
.db_id
, cont_id
and seg_address
can be found in the gp_segment_configuration
directory table. The fourth field port
is the proxy port for YMatrix Master or Segment.mxstop -u
to reload the gp_interconnect_proxy_addresses
value.gpconfig
command sets the value of gp_interconnect_proxy_addresses
to a single quote string.gpconfig --skipvalidation -c gp_interconnect_proxy_addresses -v "'1:-1:192.168.180.50:35432,2:0:192.168.180.54:35000'"
| Data Type | Default | Set Category | | --- | --- | | string | | segments; system; reload |
Sets the amount of interconnected data for each party of the queued YMatrix database on the receiver for the default UDPIFC (the data will be discarded when data is received but there is no space available for receiving the data, and the sender will need to resend it).
1
and 10
.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 4 | 1 ~ 4096 | master; session; reload |
Specifies the time in seconds to wait for the YMatrix database interconnect to complete the setup before the timeout.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 7200 | 0 ~ 7200 | master; session; reload |
Sets the amount of data for each party queued on the default UDPIFC interconnect on the sender.
1
and 4
.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 2 | 1 ~ 4096 | master; session; reload |
Specifies the amount of time (in seconds) that the YMatrix database waits for the network transfer of interconnected traffic to complete before timeout.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 3600 | 1 ~ 7200 | master; session; reload |
Set up the network protocol for the YMatrix database interconnect traffic.
udpifc
specifies that UDP and traffic control are used to implement interconnect traffic and is the only supported value.gp_interconnect_fc_method
to specify the interconnect traffic control method.tcp
as the interconnect protocol, the YMatrix database has an upper limit of 1000 Segment instances - If the query workload involves complex multi-slice queries, the upper limit is less than 1000.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | enum | udpifc | udpifc / tcp | segments; system; restart |
Sets the tuple serialization block size for the YMatrix database interconnect.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 8192 | 512 ~ 65507 | master; system; restart |
The timeout (seconds) of the YMatrix interconnect attempts to connect to the Segment node instance over the network.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 180 | 0 ~ INT_MAX | segments; system; reload |
Compress the payload of the interconnect.
| Data Type | Default | Set Category | | --- | --- | | boolean | off | master; session; reload |
Specifies the round trip time (RTT) of the underlying interconnect layer.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 100 | 10 ~ 1000 | master; session; reload |
If the probe request is not received after sending it, the [Replica Service] (/doc/5.1/faq/architecture_faq#replication) on each segment will try this parameter as many times on each segment.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 30 | 0 ~ 100 | master; system; restart |
Specifies the polling interval in seconds for the Segment.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 60 | 10 ~ 3600 | master; system; restart |
Specifies the timeout (in seconds) for sending probe requests allowed by [Replica Service] (/doc/5.1/faq/architecture_faq#replication) corresponding to each segment.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 20 | 10 ~ 3600 | master; system; restart |
When you start a session using the YMatrix database and issue queries, the system creates a group of worker processes on each segment to complete the work. After the work is completed, the Segment worker process will be destroyed in addition to the number of caches set by this parameter.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 5 | 1 ~ INT_MAX | master; system; reload |
If enabled, when the YMatrix server process (postmaster) is started, it will be bound to a CPU.
| Data Type | Default | Set Category | | --- | --- | | boolean | off | master; system; reload |
Sets the maximum number of distributed transaction log entries to cache in the backend process memory of the Segment instance to optimize backend visibility processing.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | 1024 | 0 ~ INT_MAX | segments; system; restart |
Records the transaction's commit time.
Data Type | Default | Set Category |
---|---|---|
boolean | off | segments; system; restart |
Specifies the directory used for data storage.
| Data Type | Default | Set Category | | --- | --- | | string | ConfigDir | read only |
Displays the number of commands received by the master server from the client.
| Data Type | Default | Set Category | | --- | --- | | int | 0 | read only |
The content ID of the server.
| Data Type | Default | Set Category | | --- | --- | | int | | read only |
For Segment, the local dbid.
| Data Type | Default | Set Category | | --- | --- | | int | 1 | read only |
The role of this server process.
dispatch
and Segment is set to execute
.| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | enum | | dispatch / execute / utility | read only |
The ID number assigned by the system to the client session.
| Data Type | Default Value | Value Range | Set Classification | | --- | --- | --- | | int | -1 | integer > 1 | read only |
Reports the server's version number as a string.
Data Type | Settings Category |
---|---|
string (example: 5.0.0) | read only |
Reports the server version number as an integer.
| Data Type | Value Range | Set Classification | | --- | --- | | int | Mmmpp, where M is the main version, mm is the minor version with zero padding, and pp is the patch version with zero padding. Example: 50000 | read only |