This document describes the system configuration parameters in the Connection and Authentication category.
Note!
To ensure system stability and security, manually modifying these parameters should be done with caution.
Enables or disables Bonjour advertising in the database.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | segments; system; restart |
Specifies the Bonjour service name.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Timeout (in seconds) for sending data to unresponsive YMatrix database client connections during query processing.
0 disables the timeout, causing YMatrix to wait indefinitely for the client.3600, or 1 hour.Could not send data to client: Connection timed out..| Data Type | Default Value | Setting Scope |
|---|---|---|
| int | 3600 | segments; system; reload |
Specifies the TCP/IP addresses on which the server listens for client connections — a comma-separated list of hostnames and/or numeric IP addresses.
'*' corresponds to all available IP interfaces. If the list is empty, only UNIX domain sockets can be used for connections.| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | * | segments; system; restart |
Maximum number of concurrent connections to the database server.
max_prepared_transactions.max_connections may cause YMatrix to request more shared memory. For information about shared memory buffers in YMatrix server instances, see shared_buffers.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 300 | 10 ~ 262143 | segments; system; restart |
Port number on which the database instance listens in YMatrix.
gp_segment_configuration.| Data Type | Default Value | Setting Scope |
|---|---|---|
| int | 5432 | segments; system; restart |
Number of connections reserved for superusers in YMatrix.
max_connections minus superuser_reserved_connections.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 10 | 1 ~ 262143 | segments; system; restart |
UNIX domain socket directories where the server listens for client connections.
.s.PGSQL.nnnn, where nnnn is the server's port), a regular file named .s.PGSQL.nnnn.lock is created in each unix_socket_directories directory. Do not manually remove these files.| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | /tmp | segments; system; restart |
Sets the group ownership of UNIX domain sockets.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| string | UNIX group name | segments; system; restart |
Sets access permissions for UNIX domain sockets.
0 and be specified in octal notation.0777, meaning anyone can connect. Reasonable alternatives are 0770 (accessible only by user and group) and 0700 (accessible only by user). These are numeric UNIX file permission modes (as accepted by the chmod system call or the umask command).| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0777 | 0000 ~ 0777 | segments; system; restart |
Number of TCP keepalive probes that can be lost before the server considers the client connection dead.
0 uses the system default.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0 | 0 ~ INT_MAX | segments; system; restart |
Time (in seconds) after which TCP sends a keepalive message to the client if the connection is idle.
0 sets this parameter to 2 hours, as Windows does not support reading system defaults.0 uses the system default.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0 | 0 ~ INT_MAX | segments; system; restart |
Interval (in seconds) between retransmissions of unacknowledged TCP keepalive messages.
0 sets this parameter to 1 second, as Windows does not support reading system defaults.0 uses the system default.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0 | 0 ~ INT_MAX | segments; system; restart |
Time (in milliseconds) that transmitted data may remain unacknowledged before the TCP connection is forcibly closed.
0 uses the system default.| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 0 | 0 ~ INT_MAX | segments; system; restart |
Maximum time (in seconds) allowed for a client to complete authentication.
| Data Type | Default Value | Valid Range | Setting Scope |
|---|---|---|---|
| int | 60 | 1 ~ 600 | segments; system; restart |
Enables per-database user names.
postgresql.conf file or on the server command line.username@dbname. When a client connection specifies username, @ and dbname are appended to the username, and the server looks up the database-specific user. Note that in SQL environments, usernames containing @ must be enclosed in quotes.@, e.g., joe@. The @ part is stripped before the server looks up the username.db_user_namespace causes client and server username representations to differ. Authentication checks always use the server's representation, so authentication methods must be configured for server usernames, not client usernames. Because the md5 method uses the username as salt on both client and server, md5 cannot be used with db_user_namespace.| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | master; system; restart |
Determines whether Kerberos usernames are case-insensitive.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | segments; system; restart |
Specifies the location of the Kerberos server key file.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Determines the algorithm used to encrypt passwords specified in CREATE ROLE or ALTER ROLE.
| Data Type | Default Value | Valid Values | Setting Scope |
|---|---|---|---|
| enum | md5(on) | md5(on) / scram-sha-256 | segments; session; reload |
Enables or disables SSL connections.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | segments; system; restart |
Specifies the filename containing the SSL certificate authority (CA) certificates.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Specifies the filename containing the SSL server certificate.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | server.crt | segments; system; restart |
Specifies a list of SSL ciphers to use for secure connections.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | HIGH:MEDIUM:+3DES:!aNULL | segments; system; restart |
Specifies the filename containing the SSL certificate revocation list (CRL).
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Specifies the filename containing Diffie-Hellman parameters for temporary DH key exchange in SSL.
openssl dhparam -out dhparams.pem 2048 to generate your own DH parameters file.| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Specifies the curve name to use for ECDH key exchange.
postgresql.conf file or on the server command line.prime256v1 (NIST P-256), secp384r1 (NIST P-384), secp521r1 (NIST P-521). The openssl ecparam -list_curves command displays a full list, though not all are available for TLS.| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | prime256v1 | segments; system; restart |
Specifies the filename containing the SSL server private key.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | server.key | segments; system; restart |
Sets the maximum SSL/TLS protocol version to use.
ssl_min_protocol_version.| Data Type | Default Value | Setting Scope |
|---|---|---|
| enum | segments; system; restart; superuser |
Sets the minimum SSL/TLS protocol version to use.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| enum | TLSv1 | segments; system; restart |
Specifies an external command to call when a passphrase (e.g., for decrypting a private key) is required for SSL files.
0. In the parameter value, % is replaced with a prompt string (to get literal %, write %%). Note the prompt may contain spaces, so proper quoting is essential. A trailing newline in the output is stripped.| Data Type | Default Value | Setting Scope |
|---|---|---|
| string | segments; system; restart |
Determines whether the command set by ssl_passphrase_command is called during configuration reload if a key file requires a passphrase.
off (default), ssl_passphrase_command is ignored during reload, and SSL configuration will not be reloaded if a passphrase is needed.on may be appropriate.| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | off | segments; system; restart |
Specifies whether the server's SSL cipher preferences should be used instead of the client's.
| Data Type | Default Value | Setting Scope |
|---|---|---|
| boolean | on | segments; system; restart |