Advanced parameters for Aiven for PostgreSQL®#
On creating a PostgreSQL® database, you can customize it using a series of the following advanced parameters:
General parameters#
Parameter |
Value Type |
Description |
---|---|---|
|
string |
Custom password for the admin user. It defaults to a random string, and should be set when a new service is being created. |
|
string |
Custom username for admin user. It should be set when a new service is being created. The default value is: |
|
integer |
The hour of the day (in UTC) when backup for the service is started. New backup is started only if the previous backup has been completed. A valid range is: 0-24 |
|
integer |
The minute of the hour when backup for the service is started. New backup is started only if the previous backup has been completed. A valid range is: 0-60 |
|
array |
Restricts the incoming connections from the Classless Inter-Domain Routing (CIDR) address block, e.g. The default value is: |
|
integer |
Amount of waiting time on a lock, in milliseconds, before the check to see if there is a deadlock condition. |
|
string |
Specifies the default TOAST compression method for values of compressible columns. Available since PostgreSQL version 14. The default value is |
|
integer |
Times out all sessions with open transactions after this time in milliseconds. |
|
boolean |
Controls the system-wide use of Just-in-Time Compilation (JIT). |
|
string |
Controls the amount of detail written in the server log for each message that is logged. A valid range is: terse, default, verbose |
|
string |
Lets you choose from one of the available log-formats. This supports log analysers, such as: |
|
integer |
Logs statements that take more than the specified number of milliseconds to run. The -1 disables it. |
|
integer |
The maximum number of PostgreSQL files that can be open per process. |
|
integer |
The maximum PostgreSQL locks per transaction. |
|
integer |
The maximum PostgreSQL logical replication workers (as defined by the pool of |
|
integer |
The maximum number of workers that the system can support for parallel queries. |
|
integer |
The maximum number of workers that can be started by a single |
|
integer |
The maximum predicate locks per transaction. |
|
integer |
The maximum prepared transactions. |
|
integer |
The maximum replication slots. |
|
integer |
The maximum depth of the stack in bytes. |
|
integer |
The maximum standby archive delay in milliseconds. |
|
integer |
The maximum standby streaming delay in milliseconds. |
|
integer |
The maximum Write-ahead logging (WAL) senders. |
|
integer |
The maximum number of background processes that the system can support. |
|
integer |
Time interval between the |
|
string |
Controls which role to use for the |
|
string |
Controls which statements are counted. Specify The default value is: top` A valid range is: |
|
integer |
Temporary file limit in KiB. Set -1 for unlimited. |
|
string |
The service timezone. |
|
integer |
The number of bytes reserved to track the command being executed for each active session. |
|
string |
The recording of transactions commit time. |
|
string |
The tracking of function call counts and time used. |
|
string |
The timing of the database input/output calls. The parameter is off by default, as it repeatedly queries the operating system for the current time, which can cause significant overhead on some platforms. The default value is: |
|
integer |
Terminates the replication connections that are inactive for longer than the specified amount of time, in milliseconds. Setting this value to zero disables the timeout. |
|
integer |
Write-ahead logging ( The default value is: |
|
boolean |
Defines the forked service as a read-only replica. The setting is deprecated. Use |
|
string |
The name of the PostgreSQL service from which to fork. The setting is deprecated. Use |
|
string |
The name of a project to fork a service from. It can only be used when a new service is being created. |
|
string |
The major version of PostgreSQL. |
|
boolean |
Allows clients to connect to PostgreSQL with a domain name system (DNS) name that always resolves to the service private IP addresses. It is only available in certain network locations. |
|
boolean |
Allows clients to connect to Prometheus with a domain name system (DNS) name that always resolves to the service private IP addresses. It is only available in certain network locations. |
|
boolean |
Enables PostgreSQL over private link. |
|
boolean |
Allows clients to connect to PostgreSQL from the public internet for service nodes that are in a project VPC or another type of private network. |
|
boolean |
Allow clients to connect to Prometheus from the public internet for service nodes that are in a Virtual Private Cloud (VPC) project or another type of private network. |
|
string |
The recovery target time when forking a service. It can only be used when a new service is being created. |
|
string |
The name of a service to fork from. This can only be used when a new service is being created. |
|
number |
The percentage of total RAM that the database server uses for shared memory buffers. A valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. A valid range is: 20-60 (float) |
|
boolean |
The static IP addresses: Use static public IP addresses. |
|
string |
Enables synchronous replication type. Only available on premium service plans. |
|
integer |
The number of background workers for |
|
string |
The variant of the PostgreSQL service which can affect the features that are delivered by default. |
|
integer |
Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. The default is 1MB + 0.075% of total RAM (up to 32MB). Default is 1MB + 0.075% of total RAM (up to 32MB). |
Migration parameters#
Parameter |
Value Type |
Description |
---|---|---|
|
Removes the migration option. |
|
|
string |
The database name for bootstrapping the initial connection. |
|
string |
The hostname or IP address of the server to migrate data from. |
|
string |
The comma-separated list of databases which should be ignored during migration (only supported by MySQL at the moment). |
|
string |
The password for server authentication to migrate data from. |
|
integer |
The port number of the server to migrate data from. |
|
boolean |
|
|
string |
The user name for server authentication to migrate data from. |
autovacuum
parameters#
Parameter |
Value Type |
Description |
---|---|---|
|
number |
The fraction of the table size to add to The default value is: 0.1 (10% of table size) A valid range is: 0-1 |
|
integer |
The minimum number of inserted, updated or deleted tuples needed to trigger an The default value is: 50 |
|
integer |
The maximum age (in transactions) that a table |
|
integer |
The maximum number of The default value is: 3 |
|
integer |
The minimum delay between The default value is: 60 |
|
integer |
The cost delay value that is used in automatic The default value is: 20 |
|
integer |
The cost limit value that is used in automatic The default value is: -1 |
|
number |
The fraction of the table size to add to The default value is: 0.2 (20% of table size) A valid range is: 0-1 |
|
integer |
The minimum number of updated or deleted tuples needed to trigger a The default value is: 50 |
|
integer |
Causes each action executed by The default value is: -1 |
bgwriter
parameters#
Parameter |
Value Type |
Description |
---|---|---|
|
integer |
Specifies the delay between activity rounds for the background writer in milliseconds. The default value is: 200 |
|
integer |
If more than the specified The default value is: 512 (kilobytes) |
|
integer |
The maximum number of buffers to be written by the background writer on each round. Setting this to zero disables background writing. The default value is: 100 |
|
number |
The The default value is: 2.0 |
pgbouncer
parameters#
Parameter |
Value Type |
Description |
---|---|---|
|
integer |
The number of seconds after which - if unused - the automatically created database pools are freed. If set to 0, then timeout is disabled. |
|
integer |
The overall maximum number of server connections per database (regardless of user). Setting it to 0 means it is unlimited. |
|
string |
The The default value is: |
|
integer |
When set to non-zero, it automatically creates a pool of the specified size per user, provided that the pool doesn’t exist. |
|
array |
The list of parameters to ignore when given in startup packet. |
|
integer |
Adds more server connections to the pool if the pool connection number is smaller than this number. It improves the behavior when the usual load comes back suddenly after a period of total inactivity. The value is capped at the pool size. |
|
integer |
The amount of time in seconds after which the server connection is dropped. If set to 0, then timeout is disabled. |
|
integer |
The amount of time after which the pooler closes any unused server connection. |
|
boolean |
Runs |
|
integer |
The number of seconds of master unavailability before database failover is triggered to standby. The default value is: 60 |
|
boolean |
Allows the clients to connect to |
|
boolean |
Enables the |
|
boolean |
Allows the clients to connect to PgBouncer` from the public internet for service nodes that are in a virtual private cloud (VPC) or another type of private network. |