This document describes the relevant parameters for the connection and authentication categories 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 enable Bonjour in the database.
| Data Type | Default | Set Category | | --- | --- | --- | --- | | boolean | off | segments; system; restart |
Specify the Bonjour broadcast name.
| Data Type | Default | Set Category | | --- | --- | --- | --- | | string | | segments; system; restart |
Timeout (seconds) for sending data to the unresponsive YMatrix database user client during query processing.
0
will disable the timeout and the YMatrix database will wait for the client indefinitely.3600
seconds, i.e. 1 hour.Could not send data to client: Connection timed out.
.| Data Type | Default | Set Category | | --- | --- | --- | --- | | int | 3600 | segments; system; reload |
Specifies the TCP/IP address that the server will listen for connections from the client application—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 connected.| Data Type | Default | Set Category | | --- | --- | --- | --- | | string | * | segments; system; restart |
The 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 for YMatrix server instances, see shared_buffers.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 300 | 10 ~ 262143 | segments; system; restart |
The database listening port for node instances in YMatrix.
gp_segment_configuration
.Data Type | Default | Set Category |
---|---|---|
int | 5432 | segments; system; restart |
The number of connections retained by superusers in the YMatrix database.
max_connections
minus superuser_reserved_connections
.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 10 | 1 ~ 262143 | segments; system; restart |
The UNIX domain socket directory used by the server to listen for connections from the client application.- Multiple sockets can be created by listing multiple directories separated by commas.
.s.PGSQL.nnnn
, where nnnn
is the server's port number), a normal file named .s.PGSQL.nnnn.lock
is created in every unix_socket_directories
directory. Do not remove the above files manually. Data Type | Default | Set Category |
---|---|---|
string | /tmp | segments; system; restart |
Sets the group to which the UNIX domain socket belongs.
Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
string | UNIX group name | segments; system; restart |
Sets access permissions for UNIX domain sockets.
0
and be set using octal notation.0777
, which means that anyone can connect. Reasonable candidates are 0770
(only accessible to users and people of the group) and 0700
(only accessible to users themselves). These are digital UNIX file permission modes (i.e., the form accepted by the system call chmod
or umask
command).Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 0777 | 0000 ~ 0777 | segments; system; restart |
Specifies the number of TCP Keepalive messages that can be lost before a server-to-client connection is considered interrupted.
0
, which means the system default value is used.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 0 | 0 ~ INT_MAX | segments; system; restart |
Specifies how long (seconds) inactive to send a Keepalive message to the client via TCP.
0
will set this parameter to 2 hours, because Windows does not support reading the system default value.0
, which means the system default value is used.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 0 | 0 ~ INT_MAX | segments; system; restart |
Specifies the interval in seconds for which TCP Keepalive messages that have not been acknowledged by the client should be retransmitted.- This parameter is only available on systems or Windows that support the TCP_KEEPINTVL or equivalent socket options. On other systems, it must be zero. In a session connected through a UNIX domain socket, this parameter is ignored and always read as zero.
0
will set this parameter to 1 second because Windows does not support reading the system default value.0
, which means the system default value is used.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 0 | 0 ~ INT_MAX | segments; system; restart |
Specifies the amount of time (in milliseconds) that the transmitted data can remain unacknowledged until the TCP connection is forced to close.- This parameter is only supported on systems that support TCP_USER_TIMEOUT; on other systems, it must be zero. In a session connected through a Unix-domain socket, this parameter is ignored and always read to zero.
0
, which means the system default value is used.Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 0 | 0 ~ INT_MAX | segments; system; restart |
The maximum time (seconds) to allow client authentication to be completed.
Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
int | 60 | 1 ~ 600 | segments; system; restart |
This parameter enables the username for each database.
postgresql.conf
file or on the server command line.username@dbname
. When a connection client sends username
, @
and dbname
are appended to the username and the server looks for the username related to the database. Note that when creating a user with a name containing @
in a SQL environment, you need to put the user name in quotes.@
, such as joe@
. @
will be stripped before the server looks for the username.db_user_namespace
causes the username expression of the client and server to be different. Authentication checks are always performed in the server's username expression, so the authentication method must be configured for the server username rather than the client username. Since the md5
method uses the username as salt on both the client and the server, md5
cannot be used simultaneously with db_user_namespace
.Data Type | Default | Set Category |
---|---|---|
boolean | off | master; system; restart |
Set whether the Kerberos username is case sensitive.
Data Type | Default | Set Category |
---|---|---|
boolean | off | segments; system; restart |
Sets the location of the Kerberos server key file.
Data Type | Default | Set Category |
---|---|---|
string | segments; system; restart |
When a password is specified in CREATE ROLE
or ALTER ROLE
, this parameter determines the algorithm used to encrypt the password.
Data Type | Default Value | Value Range | Set Classification |
---|---|---|---|
enum | md5(on) | md5(on) / scram-sha-256 | segments; session; reload |
Whether to enable SSL connection.
Data Type | Default | Set Category |
---|---|---|
boolean | off | segments; system; restart |
Specifies the file name that contains the SSL Server Certificate Authority (CA).
Data Type | Default | Set Category |
---|---|---|
string | segments; system; restart |
Specifies the file name that contains the SSL server certificate.
Data Type | Default | Set Category |
---|---|---|
string | server.crt | segments; system; restart |
Specifies a list of SSL passwords for secure connections.
Data Type | Default | Set Category |
---|---|---|
string | HIGH:MEDIUM:+3DES:!aNULL | segments; system; restart |
Specifies the file name that contains the SSL server certificate revocation list (CRL).
Data Type | Default | Set Category |
---|---|---|
string | segments; system; restart |
Specifies the file name that contains the Diffie-Hellman parameter for the so-called temporary DH family for the SSL password.
openssl dhparam -out dhparams.pem 2048
to create your own DH parameter file.Data Type | Default | Set Category |
---|---|---|
string | segments; system; restart |
Specifies the curve name used in the 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 can display a complete list of available curves. But not all are available in TLS.Data Type | Default | Set Category |
---|---|---|
string | prime256v1 | segments; system; restart |
Specifies the file name that contains the SSL server private key.
Data Type | Default | Set Category |
---|---|---|
string | server.key | segments; system; restart |
Sets the maximum SSL/TLS protocol version to use.
ssl_min_protocol_version
.Data Type | Default | Set Category |
---|---|---|
enum | segments; system; restart; superuser |
Sets the minimum SSL/TLS protocol version to use.
Data Type | Default | Set Category |
---|---|---|
enum | TLSv1 | segments; system; restart |
Sets an external command that is called when a password (such as a private key) is required to decrypt an SSL file.
0
. In this parameter value, %
is replaced with a prompt string (to get the literal %
, it should be written as %%
). Note that the prompt string will likely contain spaces, so be sure to put appropriate quotes. If there is a single new line at the end of the output, it will be stripped.Data Type | Default | Set Category |
---|---|---|
string | segments; system; restart |
This parameter determines whether the password command set by ssl_passphrase_command
is also called when a key file requires a password during configuration overloading.
off
(default), ssl_passphrase_command
will be ignored during overloading, and if a password is required during this period, the SSL configuration will not be overloaded.on
may be appropriate.Data Type | Default | Set Category |
---|---|---|
boolean | off | segments; system; restart |
Specifies whether to use the server's SSL password preferences, not the client's.
Data Type | Default | Set Category |
---|---|---|
boolean | on | segments; system; restart |