Controls access to the Managed Database.
Individually included IP addresses or CIDR ranges can access the Managed Database while all other sources are blocked.
A standalone value of 0.0.0.0/0 allows all IP addresses access to the Managed Database.
An empty array ([]) blocks all public and private connections to the Managed Database.
The number of Linode instance nodes deployed to the Managed Database.
Choose 3 nodes to create a high availability cluster that consists of one primary node and two replica nodes.
A 2 node cluster is only available with a dedicated plan. It consists of one primary node and one replica node.
Readonlycreated: stringRead-only When this Managed Database was created.
Readonlyencrypted: booleanRead-only Whether the Managed Databases is encrypted. Currently required to be true.
Readonlyengine: stringFilterable, Read-only The Managed Database engine type.
Advanced parameters you can apply to a PostgreSQL Managed Database, via our partner Aiven's specification. Only include the objects for parameters you want to set in your database. Omit objects for parameters you don't want to define or change.
📘
Aiven may offer additional parameters in their specification. Currently, only those listed here are supported for use in a PostgreSQL Managed Database. You can also run the List PostgreSQL Managed Database advanced parameters operation to see an up-to-date list.
PostgreSQL-specific advanced configuration parameters.
Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.
Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table.
Specifies the maximum number of autovacuum processes, other than the autovacuum launcher, that may be running at any one time. This parameter can only be set at server start.
Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds.
Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used.
Specifies the cost limit value that will be used in automatic VACUUM operations. The default of -1 applies the regular vacuum_cost_limit value.
Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM.
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table.
Specifies the delay between activity rounds for the background writer in milliseconds.
Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes. A setting of 0 disables forced writeback.
In each round, no more than this many buffers will be written by the background writer. Setting this to 0 disables background writing.
The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes.
This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
Specifies the default TOAST compression method for values of compressible columns.
Time out sessions with open transactions after this number of milliseconds.
Controls system-wide use of Just-in-Time Compilation (JIT).
PostgreSQL maximum number of files that can be open per process.
PostgreSQL maximum locks per transaction.
PostgreSQL maximum logical replication workers, taken from the pool of max_parallel_workers.
Sets the maximum number of workers that the system can support for parallel queries.
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
PostgreSQL maximum predicate locks per transaction.
PostgreSQL maximum replication slots.
PostgreSQL maximum write ahead log (WAL) size in MB, reserved for replication slots. A value of -1 which indicates unlimited. The wal_keep_size minimum write ahead log (WAL) size setting takes precedence over this.
Maximum depth of the stack in bytes.
Maximum standby archive delay in milliseconds.
Maximum standby streaming delay in milliseconds.
PostgreSQL maximum write ahead log (WAL) senders.
Maximum number of background processes that the system can support.
Chooses the algorithm for encrypting passwords.
Sets the time interval to run pg_partman scheduled tasks.
Controls which role to use for pg_partman scheduled background tasks.
Enables query plan monitoring.
Sets the maximum number of buckets.
Controls which statements are counted. Specify top to track top-level statements that are issued directly by clients, all to also track nested statements, such as those invoked within functions, or none to disable statement statistics collection.
PostgreSQL temporary file limit in KB. Set to -1 for unlimited.
PostgreSQL service time zone.
Specifies the number of bytes reserved to track the currently executing command for each active session.
Record the commit time of transactions.
Enables tracking of function call counts and time used. Specify pl to track only procedural-language functions, all to also track SQL and C language functions, or none to disable function statistics tracking.
Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to 0 disables the timeout.
Write ahead log (WAL) flush interval in milliseconds. A value lower than 200 milliseconds may negatively impact performance.
Enable the pg_stat_monitor extension. When this extension is enabled, PostgreSQL restarts the cluster it's in. Additionally, pg_stat_statements results for utility commands are unreliable.
Parameter used to apply PGLookout settings.
Number of seconds of master unavailability before triggering database failover to standby.
Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value.
Sets the maximum amount of memory in MB to be used by a query operation, such as a sort or hash table, before writing to temporary disk files. Default is 1MB + 0.075% of total RAM, up to 32 MB.
Details on the database that was the target of the fork. This only exists if the database was restored by creating a fork from another MySQL or PostgreSQL database.
The database timestamp from which it was restored. This is not when the fork was created.
The instance id of the database that was forked from.
Readonlyhosts: { primary: string | null; secondary: string | null }Read-only The primary and secondary hosts for the Managed Database. These are assigned after provisioning is complete.
The primary host for the Managed Database.
The secondary/private network host for the Managed Database. A private network host and a private IP can only be used to access a database cluster from Linodes in the same data center and will not incur transfer costs.
📘
The secondary hostname is publicly viewable and accessible.
Readonlyid: numberRead-only A unique ID that can be used to identify and reference the Managed Database.
Filterable A unique, user-defined string referring to the Managed Database. This string needs to be unique per Managed Database engine type.
Readonlymembers: { [key: string]: unknown }Read-only A mapping between IP addresses and strings designating them as primary or failover.
Filterable, Read-only The back-end platform for relational databases used by the service.
Readonlyport: numberRead-only The access port for this Managed Database.
Filterable The unique identifier for the region where the Managed Database lives.
Currently required to be true. Whether to require SSL credentials to establish a connection to the Managed Database.
Run the Get managed PostgreSQL database credentials operation for access information.
Filterable, Read-only The operating status of the Managed Database.
Readonlytotal_disk_size_gb: numberRead-only The total disk size of the database, in GB.
Filterable The Linode Instance type used by the Managed Database for its nodes.
Readonlyupdated: stringRead-only When this Managed Database was last updated.
Configuration settings for automated patch update maintenance for the Managed Database.
The numeric reference for the day of the week to perform maintenance. 1 is Monday, 2 is Tuesday, through to 7 which is Sunday.
The maximum maintenance window time in hours.
How frequently maintenance occurs. Currently can only be weekly.
The hour to begin maintenance based in UTC time.
Readonlypending: { deadline: string | null; description: string; planned_for: string | null }[]Read-only An array of pending updates.
Readonlyused_disk_size_gb: numberRead-only The amount of space currently in use in the database, in GB.
Filterable The Managed Database engine version.
Managed PostgreSQL Databases object.