This document describes the system configuration parameters in the YMatrix database cluster category.
Note!
To ensure system stability and security, manually modifying these parameters should be done with caution.
Determines whether dropping the YMatrix extension is allowed.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | master; session; reload |
Specifies the Segment used when creating a table.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; session; reload; superuser |
Specifies the default Segment set used when creating a table.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; session; reload; superuser |
Sets the provider for YMatrix high availability features.
external; if deploying via command line, it defaults to fts.| Data Type | Default Value | Valid Values | Setting Scope |
|---|---|---|---|
| enum | external | fts / external | segments; system; restart |
Signal sent to postmaster upon death of its parent process.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0 | 0 ~ 64 | segments; system; restart |
Controls updates to active standby segments in YMatrix primary-mirror replication.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 1 | 0 ~ INT_MAX/1073741824 | master; system; reload; superuser |
When segment mirroring is enabled, specifies the maximum amount of Write-Ahead Logging (WAL) data (in KB) that can be written by a Primary transaction before being flushed to the Mirror for replication.
0 disables checking based on record count. Records are only written after a checkpoint occurs.0 may lead to performance issues under heavy workloads involving long-running transactions without checkpoints.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 1024 | 0 ~ INT_MAX/1024 | master; system; reload |
Specifies the flow control method for the default YMatrix UDPIFC interconnect.
| Data Type | Default Value | Valid Values | Setting Scope |
|---|---|---|---|
| enum | loss | loss / capacity | master; session; reload |
Specifies proxy ports used by YMatrix when server parameter gp_interconnect_type is set to proxy. Otherwise, this parameter is ignored.
gp_interconnect_type is set to proxy, you must specify a proxy port for each Master, Standby, and all Segment instances in the format: <db_id>:<cont_id>:<seg_address>:<port>[, ... ].db_id, cont_id, and seg_address — can be found in the gp_segment_configuration catalog table. The fourth field, port, is the TCP/IP port for the proxy of the YMatrix Master or Segment instance.mxstop -u to reload the gp_interconnect_proxy_addresses values.gpconfig command to set gp_interconnect_proxy_addresses as a quoted 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 Value | Setting Scope |
|---|---|---|
| string | segments; system; reload |
Sets the depth of queued interconnect data per peer on the receiver side for the default UDPIFC (data is dropped if no buffer space is available, requiring retransmission).
1 and 10.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 4 | 1 ~ 4096 | master; session; reload |
Specifies the time (in seconds) YMatrix waits for interconnect setup to complete before timing out.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 7200 | 0 ~ 7200 | master; session; reload |
Sets the depth of queued data per peer on the sender side for the default UDPIFC interconnect.
1 and 4.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 2 | 1 ~ 4096 | master; session; reload |
Specifies the time (in seconds) YMatrix waits for network transmission of interconnect traffic before timing out.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 3600 | 1 ~ 7200 | master; session; reload |
Sets the network protocol used for YMatrix interconnect traffic.
udpifc specifies UDP with flow control and is the only supported value.gp_interconnect_fc_method to specify the interconnect flow control method.tcp as the interconnect protocol limits YMatrix to 1000 Segment instances — fewer than 1000 if query workloads involve complex multi-slice queries.| Data Type | Default Value | Valid Values | Setting Scope |
|---|---|---|---|
| enum | udpifc | udpifc / tcp | segments; system; restart |
Sets the tuple serialization block size for the YMatrix interconnect.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 8192 | 512 ~ 65507 | master; system; restart |
Timeout (in seconds) for YMatrix interconnect attempts to connect over the network to a Segment instance.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 180 | 0 ~ INT_MAX | segments; system; reload |
Enables compression of interconnect payload.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | master; session; reload |
Specifies round-trip time (RTT) for the underlying interconnect layer.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 100 | 10 ~ 1000 | master; session; reload |
Number of times the replication agent on each Segment retries sending a probe request if no response is received.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 30 | 0 ~ 100 | master; system; restart |
Interval (in seconds) between probe messages sent by the replication agent on each Segment.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 60 | 10 ~ 3600 | master; system; restart |
Timeout (in seconds) for probe requests sent by the replication agent on each Segment.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 20 | 10 ~ 3600 | master; system; restart |
Number of idle Segment worker processes retained in cache after query execution. All others are destroyed.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 5 | 1 ~ INT_MAX | master; system; reload |
When enabled, binds YMatrix server processes (postmaster) to specific CPUs at startup.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | master; system; reload |
Maximum number of distributed transaction log entries cached in backend process memory on a Segment instance to optimize visibility processing.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 1024 | 0 ~ INT_MAX | segments; system; restart |
Enables recording of transaction commit timestamps.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | segments; system; restart |
Directory used for data storage.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | ConfigDir | read only |
Displays the number of commands received by the master server from clients.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| int | 0 | read only |
Content ID of the server.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| int | read only |
Local dbid for a Segment.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| int | 1 | read only |
Role of the server process.
dispatch on Master, execute on Segment.| Data Type | Default Value | Valid Values | Setting Scope |
|---|---|---|---|
| enum | dispatch / execute / utility | read only |
Session ID assigned by the system to a client session.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | -1 | integer > 1 | read only |
Reports the server version number as a string.
| Data Type | Setting Scope |
|---|---|
| string (e.g., 5.0.0) | read only |
Reports the server version number as an integer.
| Data Type | Valid Range | Setting Scope |
|---|---|---|
| int | Mmmpp, where M = major, mm = zero-padded minor, pp = zero-padded patch. Example: 50000 | read only |