linode.getDatabasePostgresqlV2
Explore with Pulumi AI
Provides information about a Linode PostgreSQL Database. For more information, see the Linode APIv4 docs.
Example Usage
Get information about a PostgreSQL database:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const my_db = linode.getDatabasePostgresqlV2({
id: "12345",
});
import pulumi
import pulumi_linode as linode
my_db = linode.get_database_postgresql_v2(id="12345")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.LookupDatabasePostgresqlV2(ctx, &linode.LookupDatabasePostgresqlV2Args{
Id: "12345",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var my_db = Linode.GetDatabasePostgresqlV2.Invoke(new()
{
Id = "12345",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetDatabasePostgresqlV2Args;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var my-db = LinodeFunctions.getDatabasePostgresqlV2(GetDatabasePostgresqlV2Args.builder()
.id("12345")
.build());
}
}
variables:
my-db:
fn::invoke:
function: linode:getDatabasePostgresqlV2
arguments:
id: 12345
pending_updates
The following arguments are exposed by each entry in the pending_updates
attribute:
deadline
- The time when a mandatory update needs to be applied.description
- A description of the update.planned_for
- The date and time a maintenance update will be applied.
updates
The following arguments are supported in the updates
specification block:
day_of_week
- The day to perform maintenance. (monday
,tuesday
, …)duration
- The maximum maintenance window time in hours. (1
..3
)frequency
- The frequency at which maintenance occurs. (weekly
)hour_of_day
- The hour to begin maintenance based in UTC time. (0
..23
)
Using getDatabasePostgresqlV2
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabasePostgresqlV2(args: GetDatabasePostgresqlV2Args, opts?: InvokeOptions): Promise<GetDatabasePostgresqlV2Result>
function getDatabasePostgresqlV2Output(args: GetDatabasePostgresqlV2OutputArgs, opts?: InvokeOptions): Output<GetDatabasePostgresqlV2Result>
def get_database_postgresql_v2(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabasePostgresqlV2Result
def get_database_postgresql_v2_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabasePostgresqlV2Result]
func LookupDatabasePostgresqlV2(ctx *Context, args *LookupDatabasePostgresqlV2Args, opts ...InvokeOption) (*LookupDatabasePostgresqlV2Result, error)
func LookupDatabasePostgresqlV2Output(ctx *Context, args *LookupDatabasePostgresqlV2OutputArgs, opts ...InvokeOption) LookupDatabasePostgresqlV2ResultOutput
> Note: This function is named LookupDatabasePostgresqlV2
in the Go SDK.
public static class GetDatabasePostgresqlV2
{
public static Task<GetDatabasePostgresqlV2Result> InvokeAsync(GetDatabasePostgresqlV2Args args, InvokeOptions? opts = null)
public static Output<GetDatabasePostgresqlV2Result> Invoke(GetDatabasePostgresqlV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabasePostgresqlV2Result> getDatabasePostgresqlV2(GetDatabasePostgresqlV2Args args, InvokeOptions options)
public static Output<GetDatabasePostgresqlV2Result> getDatabasePostgresqlV2(GetDatabasePostgresqlV2Args args, InvokeOptions options)
fn::invoke:
function: linode:index/getDatabasePostgresqlV2:getDatabasePostgresqlV2
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- The ID of the PostgreSQL database.
- Id string
- The ID of the PostgreSQL database.
- id String
- The ID of the PostgreSQL database.
- id string
- The ID of the PostgreSQL database.
- id str
- The ID of the PostgreSQL database.
- id String
- The ID of the PostgreSQL database.
getDatabasePostgresqlV2 Result
The following output properties are available:
- Allow
Lists List<string> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
postgresql
) - Engine
Config doublePg Autovacuum Analyze Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- Engine
Config intPg Autovacuum Analyze Threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- Engine
Config intPg Autovacuum Max Workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- Engine
Config intPg Autovacuum Naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- Engine
Config intPg Autovacuum Vacuum Cost Delay - 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. The default value is 20 milliseconds
- Engine
Config intPg Autovacuum Vacuum Cost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- Engine
Config doublePg Autovacuum Vacuum Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- Engine
Config intPg Autovacuum Vacuum Threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- Engine
Config intPg Bgwriter Delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- Engine
Config intPg Bgwriter Flush After - 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, default is 512. Setting of 0 disables forced writeback.
- Engine
Config intPg Bgwriter Lru Maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- Engine
Config doublePg Bgwriter Lru Multiplier - 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. The default is 2.0.
- Engine
Config intPg Deadlock Timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- Engine
Config stringPg Default Toast Compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- Engine
Config intPg Idle In Transaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Engine
Config boolPg Jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- Engine
Config intPg Max Files Per Process - PostgreSQL maximum number of files that can be open per process.
- Engine
Config intPg Max Locks Per Transaction - PostgreSQL maximum locks per transaction.
- Engine
Config intPg Max Logical Replication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- Engine
Config intPg Max Parallel Workers - Sets the maximum number of workers that the system can support for parallel queries.
- Engine
Config intPg Max Parallel Workers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Engine
Config intPg Max Pred Locks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- Engine
Config intPg Max Replication Slots - PostgreSQL maximum replication slots.
- Engine
Config intPg Max Slot Wal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- Engine
Config intPg Max Stack Depth - Maximum depth of the stack in bytes.
- Engine
Config intPg Max Standby Archive Delay - Max standby archive delay in milliseconds.
- Engine
Config intPg Max Standby Streaming Delay - Max standby streaming delay in milliseconds.
- Engine
Config intPg Max Wal Senders - PostgreSQL maximum WAL senders.
- Engine
Config intPg Max Worker Processes - Sets the maximum number of background processes that the system can support.
- Engine
Config stringPg Password Encryption - Chooses the algorithm for encrypting passwords.
- Engine
Config intPg Pg Partman Bgw Interval - Sets the time interval to run pg_partman's scheduled tasks.
- Engine
Config stringPg Pg Partman Bgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- Engine
Config boolPg Pg Stat Monitor Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- Engine
Config intPg Pg Stat Monitor Pgsm Max Buckets - Sets the maximum number of buckets.
- Engine
Config stringPg Pg Stat Statements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- Engine
Config boolPg Stat Monitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- Engine
Config intPg Temp File Limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- Engine
Config stringPg Timezone - PostgreSQL service timezone.
- Engine
Config intPg Track Activity Query Size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- Engine
Config stringPg Track Commit Timestamp - Record commit time of transactions.
- Engine
Config stringPg Track Functions - Enables tracking of function call counts and time used.
- Engine
Config stringPg Track Io Timing - 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.
- Engine
Config intPg Wal Sender Timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- Engine
Config intPg Wal Writer Delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- Engine
Config intPglookout Max Failover Replication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- double
- 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.
- Engine
Config intWork Mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members Dictionary<string, string>
- Oldest
Restore stringTime - Pending
Updates List<GetDatabase Postgresql V2Pending Update> - Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database is suspended.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Get
Database Postgresql V2Updates - Version string
- The Managed Database engine version. (e.g.
13.2
)
- Allow
Lists []string - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - Created string
- When this Managed Database was created.
- Encrypted bool
- Whether the Managed Databases is encrypted.
- Engine string
- The Managed Database engine. (e.g.
postgresql
) - Engine
Config float64Pg Autovacuum Analyze Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- Engine
Config intPg Autovacuum Analyze Threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- Engine
Config intPg Autovacuum Max Workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- Engine
Config intPg Autovacuum Naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- Engine
Config intPg Autovacuum Vacuum Cost Delay - 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. The default value is 20 milliseconds
- Engine
Config intPg Autovacuum Vacuum Cost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- Engine
Config float64Pg Autovacuum Vacuum Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- Engine
Config intPg Autovacuum Vacuum Threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- Engine
Config intPg Bgwriter Delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- Engine
Config intPg Bgwriter Flush After - 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, default is 512. Setting of 0 disables forced writeback.
- Engine
Config intPg Bgwriter Lru Maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- Engine
Config float64Pg Bgwriter Lru Multiplier - 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. The default is 2.0.
- Engine
Config intPg Deadlock Timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- Engine
Config stringPg Default Toast Compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- Engine
Config intPg Idle In Transaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Engine
Config boolPg Jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- Engine
Config intPg Max Files Per Process - PostgreSQL maximum number of files that can be open per process.
- Engine
Config intPg Max Locks Per Transaction - PostgreSQL maximum locks per transaction.
- Engine
Config intPg Max Logical Replication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- Engine
Config intPg Max Parallel Workers - Sets the maximum number of workers that the system can support for parallel queries.
- Engine
Config intPg Max Parallel Workers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Engine
Config intPg Max Pred Locks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- Engine
Config intPg Max Replication Slots - PostgreSQL maximum replication slots.
- Engine
Config intPg Max Slot Wal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- Engine
Config intPg Max Stack Depth - Maximum depth of the stack in bytes.
- Engine
Config intPg Max Standby Archive Delay - Max standby archive delay in milliseconds.
- Engine
Config intPg Max Standby Streaming Delay - Max standby streaming delay in milliseconds.
- Engine
Config intPg Max Wal Senders - PostgreSQL maximum WAL senders.
- Engine
Config intPg Max Worker Processes - Sets the maximum number of background processes that the system can support.
- Engine
Config stringPg Password Encryption - Chooses the algorithm for encrypting passwords.
- Engine
Config intPg Pg Partman Bgw Interval - Sets the time interval to run pg_partman's scheduled tasks.
- Engine
Config stringPg Pg Partman Bgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- Engine
Config boolPg Pg Stat Monitor Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- Engine
Config intPg Pg Stat Monitor Pgsm Max Buckets - Sets the maximum number of buckets.
- Engine
Config stringPg Pg Stat Statements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- Engine
Config boolPg Stat Monitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- Engine
Config intPg Temp File Limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- Engine
Config stringPg Timezone - PostgreSQL service timezone.
- Engine
Config intPg Track Activity Query Size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- Engine
Config stringPg Track Commit Timestamp - Record commit time of transactions.
- Engine
Config stringPg Track Functions - Enables tracking of function call counts and time used.
- Engine
Config stringPg Track Io Timing - 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.
- Engine
Config intPg Wal Sender Timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- Engine
Config intPg Wal Writer Delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- Engine
Config intPglookout Max Failover Replication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- float64
- 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.
- Engine
Config intWork Mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members map[string]string
- Oldest
Restore stringTime - Pending
Updates []GetDatabase Postgresql V2Pending Update - Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this Managed Database.
- Region string
- The region to use for the Managed Database.
- Root
Password string - The randomly-generated root password for the Managed Database instance.
- Root
Username string - The root username for the Managed Database instance.
- Ssl
Connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- Status string
- The operating status of the Managed Database.
- Suspended bool
- Whether this Managed Database is suspended.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Get
Database Postgresql V2Updates - Version string
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size Integer - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
postgresql
) - engine
Config DoublePg Autovacuum Analyze Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- engine
Config IntegerPg Autovacuum Analyze Threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- engine
Config IntegerPg Autovacuum Max Workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- engine
Config IntegerPg Autovacuum Naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- engine
Config IntegerPg Autovacuum Vacuum Cost Delay - 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. The default value is 20 milliseconds
- engine
Config IntegerPg Autovacuum Vacuum Cost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- engine
Config DoublePg Autovacuum Vacuum Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- engine
Config IntegerPg Autovacuum Vacuum Threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- engine
Config IntegerPg Bgwriter Delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- engine
Config IntegerPg Bgwriter Flush After - 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, default is 512. Setting of 0 disables forced writeback.
- engine
Config IntegerPg Bgwriter Lru Maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- engine
Config DoublePg Bgwriter Lru Multiplier - 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. The default is 2.0.
- engine
Config IntegerPg Deadlock Timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- engine
Config StringPg Default Toast Compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- engine
Config IntegerPg Idle In Transaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- engine
Config BooleanPg Jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- engine
Config IntegerPg Max Files Per Process - PostgreSQL maximum number of files that can be open per process.
- engine
Config IntegerPg Max Locks Per Transaction - PostgreSQL maximum locks per transaction.
- engine
Config IntegerPg Max Logical Replication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- engine
Config IntegerPg Max Parallel Workers - Sets the maximum number of workers that the system can support for parallel queries.
- engine
Config IntegerPg Max Parallel Workers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- engine
Config IntegerPg Max Pred Locks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- engine
Config IntegerPg Max Replication Slots - PostgreSQL maximum replication slots.
- engine
Config IntegerPg Max Slot Wal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- engine
Config IntegerPg Max Stack Depth - Maximum depth of the stack in bytes.
- engine
Config IntegerPg Max Standby Archive Delay - Max standby archive delay in milliseconds.
- engine
Config IntegerPg Max Standby Streaming Delay - Max standby streaming delay in milliseconds.
- engine
Config IntegerPg Max Wal Senders - PostgreSQL maximum WAL senders.
- engine
Config IntegerPg Max Worker Processes - Sets the maximum number of background processes that the system can support.
- engine
Config StringPg Password Encryption - Chooses the algorithm for encrypting passwords.
- engine
Config IntegerPg Pg Partman Bgw Interval - Sets the time interval to run pg_partman's scheduled tasks.
- engine
Config StringPg Pg Partman Bgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- engine
Config BooleanPg Pg Stat Monitor Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- engine
Config IntegerPg Pg Stat Monitor Pgsm Max Buckets - Sets the maximum number of buckets.
- engine
Config StringPg Pg Stat Statements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- engine
Config BooleanPg Stat Monitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- engine
Config IntegerPg Temp File Limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- engine
Config StringPg Timezone - PostgreSQL service timezone.
- engine
Config IntegerPg Track Activity Query Size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- engine
Config StringPg Track Commit Timestamp - Record commit time of transactions.
- engine
Config StringPg Track Functions - Enables tracking of function call counts and time used.
- engine
Config StringPg Track Io Timing - 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.
- engine
Config IntegerPg Wal Sender Timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- engine
Config IntegerPg Wal Writer Delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- engine
Config IntegerPglookout Max Failover Replication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- Double
- 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.
- engine
Config IntegerWork Mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Integer - The ID of the database that was forked from.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String,String>
- oldest
Restore StringTime - pending
Updates List<GetDatabase Postgresql V2Pending Update> - platform String
- The back-end platform for relational databases used by the service.
- port Integer
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database is suspended.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates
Get
Database Postgresql V2Updates - version String
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists string[] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created string
- When this Managed Database was created.
- encrypted boolean
- Whether the Managed Databases is encrypted.
- engine string
- The Managed Database engine. (e.g.
postgresql
) - engine
Config numberPg Autovacuum Analyze Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- engine
Config numberPg Autovacuum Analyze Threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- engine
Config numberPg Autovacuum Max Workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- engine
Config numberPg Autovacuum Naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- engine
Config numberPg Autovacuum Vacuum Cost Delay - 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. The default value is 20 milliseconds
- engine
Config numberPg Autovacuum Vacuum Cost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- engine
Config numberPg Autovacuum Vacuum Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- engine
Config numberPg Autovacuum Vacuum Threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- engine
Config numberPg Bgwriter Delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- engine
Config numberPg Bgwriter Flush After - 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, default is 512. Setting of 0 disables forced writeback.
- engine
Config numberPg Bgwriter Lru Maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- engine
Config numberPg Bgwriter Lru Multiplier - 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. The default is 2.0.
- engine
Config numberPg Deadlock Timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- engine
Config stringPg Default Toast Compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- engine
Config numberPg Idle In Transaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- engine
Config booleanPg Jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- engine
Config numberPg Max Files Per Process - PostgreSQL maximum number of files that can be open per process.
- engine
Config numberPg Max Locks Per Transaction - PostgreSQL maximum locks per transaction.
- engine
Config numberPg Max Logical Replication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- engine
Config numberPg Max Parallel Workers - Sets the maximum number of workers that the system can support for parallel queries.
- engine
Config numberPg Max Parallel Workers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- engine
Config numberPg Max Pred Locks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- engine
Config numberPg Max Replication Slots - PostgreSQL maximum replication slots.
- engine
Config numberPg Max Slot Wal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- engine
Config numberPg Max Stack Depth - Maximum depth of the stack in bytes.
- engine
Config numberPg Max Standby Archive Delay - Max standby archive delay in milliseconds.
- engine
Config numberPg Max Standby Streaming Delay - Max standby streaming delay in milliseconds.
- engine
Config numberPg Max Wal Senders - PostgreSQL maximum WAL senders.
- engine
Config numberPg Max Worker Processes - Sets the maximum number of background processes that the system can support.
- engine
Config stringPg Password Encryption - Chooses the algorithm for encrypting passwords.
- engine
Config numberPg Pg Partman Bgw Interval - Sets the time interval to run pg_partman's scheduled tasks.
- engine
Config stringPg Pg Partman Bgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- engine
Config booleanPg Pg Stat Monitor Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- engine
Config numberPg Pg Stat Monitor Pgsm Max Buckets - Sets the maximum number of buckets.
- engine
Config stringPg Pg Stat Statements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- engine
Config booleanPg Stat Monitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- engine
Config numberPg Temp File Limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- engine
Config stringPg Timezone - PostgreSQL service timezone.
- engine
Config numberPg Track Activity Query Size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- engine
Config stringPg Track Commit Timestamp - Record commit time of transactions.
- engine
Config stringPg Track Functions - Enables tracking of function call counts and time used.
- engine
Config stringPg Track Io Timing - 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.
- engine
Config numberPg Wal Sender Timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- engine
Config numberPg Wal Writer Delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- engine
Config numberPglookout Max Failover Replication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- number
- 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.
- engine
Config numberWork Mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - fork
Restore stringTime - The database timestamp from which it was restored.
- fork
Source number - The ID of the database that was forked from.
- host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- id string
- label string
- A unique, user-defined string referring to the Managed Database.
- members {[key: string]: string}
- oldest
Restore stringTime - pending
Updates GetDatabase Postgresql V2Pending Update[] - platform string
- The back-end platform for relational databases used by the service.
- port number
- The access port for this Managed Database.
- region string
- The region to use for the Managed Database.
- root
Password string - The randomly-generated root password for the Managed Database instance.
- root
Username string - The root username for the Managed Database instance.
- ssl
Connection boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status string
- The operating status of the Managed Database.
- suspended boolean
- Whether this Managed Database is suspended.
- type string
- The Linode Instance type used for the nodes of the Managed Database.
- updated string
- When this Managed Database was last updated.
- updates
Get
Database Postgresql V2Updates - version string
- The Managed Database engine version. (e.g.
13.2
)
- allow_
lists Sequence[str] - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca_
cert str - The base64-encoded SSL CA certificate for the Managed Database.
- cluster_
size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created str
- When this Managed Database was created.
- encrypted bool
- Whether the Managed Databases is encrypted.
- engine str
- The Managed Database engine. (e.g.
postgresql
) - engine_
config_ floatpg_ autovacuum_ analyze_ scale_ factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- engine_
config_ intpg_ autovacuum_ analyze_ threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- engine_
config_ intpg_ autovacuum_ max_ workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- engine_
config_ intpg_ autovacuum_ naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- engine_
config_ intpg_ autovacuum_ vacuum_ cost_ delay - 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. The default value is 20 milliseconds
- engine_
config_ intpg_ autovacuum_ vacuum_ cost_ limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- engine_
config_ floatpg_ autovacuum_ vacuum_ scale_ factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- engine_
config_ intpg_ autovacuum_ vacuum_ threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- engine_
config_ intpg_ bgwriter_ delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- engine_
config_ intpg_ bgwriter_ flush_ after - 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, default is 512. Setting of 0 disables forced writeback.
- engine_
config_ intpg_ bgwriter_ lru_ maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- engine_
config_ floatpg_ bgwriter_ lru_ multiplier - 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. The default is 2.0.
- engine_
config_ intpg_ deadlock_ timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- engine_
config_ strpg_ default_ toast_ compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- engine_
config_ intpg_ idle_ in_ transaction_ session_ timeout - Time out sessions with open transactions after this number of milliseconds.
- engine_
config_ boolpg_ jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- engine_
config_ intpg_ max_ files_ per_ process - PostgreSQL maximum number of files that can be open per process.
- engine_
config_ intpg_ max_ locks_ per_ transaction - PostgreSQL maximum locks per transaction.
- engine_
config_ intpg_ max_ logical_ replication_ workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- engine_
config_ intpg_ max_ parallel_ workers - Sets the maximum number of workers that the system can support for parallel queries.
- engine_
config_ intpg_ max_ parallel_ workers_ per_ gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- engine_
config_ intpg_ max_ pred_ locks_ per_ transaction - PostgreSQL maximum predicate locks per transaction.
- engine_
config_ intpg_ max_ replication_ slots - PostgreSQL maximum replication slots.
- engine_
config_ intpg_ max_ slot_ wal_ keep_ size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- engine_
config_ intpg_ max_ stack_ depth - Maximum depth of the stack in bytes.
- engine_
config_ intpg_ max_ standby_ archive_ delay - Max standby archive delay in milliseconds.
- engine_
config_ intpg_ max_ standby_ streaming_ delay - Max standby streaming delay in milliseconds.
- engine_
config_ intpg_ max_ wal_ senders - PostgreSQL maximum WAL senders.
- engine_
config_ intpg_ max_ worker_ processes - Sets the maximum number of background processes that the system can support.
- engine_
config_ strpg_ password_ encryption - Chooses the algorithm for encrypting passwords.
- engine_
config_ intpg_ pg_ partman_ bgw_ interval - Sets the time interval to run pg_partman's scheduled tasks.
- engine_
config_ strpg_ pg_ partman_ bgw_ role - Controls which role to use for pg_partman's scheduled background tasks.
- engine_
config_ boolpg_ pg_ stat_ monitor_ pgsm_ enable_ query_ plan - Enables or disables query plan monitoring.
- engine_
config_ intpg_ pg_ stat_ monitor_ pgsm_ max_ buckets - Sets the maximum number of buckets.
- engine_
config_ strpg_ pg_ stat_ statements_ track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- engine_
config_ boolpg_ stat_ monitor_ enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- engine_
config_ intpg_ temp_ file_ limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- engine_
config_ strpg_ timezone - PostgreSQL service timezone.
- engine_
config_ intpg_ track_ activity_ query_ size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- engine_
config_ strpg_ track_ commit_ timestamp - Record commit time of transactions.
- engine_
config_ strpg_ track_ functions - Enables tracking of function call counts and time used.
- engine_
config_ strpg_ track_ io_ timing - 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.
- engine_
config_ intpg_ wal_ sender_ timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- engine_
config_ intpg_ wal_ writer_ delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- engine_
config_ intpglookout_ max_ failover_ replication_ time_ lag - Number of seconds of master unavailability before triggering database failover to standby.
- float
- 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.
- engine_
config_ intwork_ mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- engine_
id str - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - fork_
restore_ strtime - The database timestamp from which it was restored.
- fork_
source int - The ID of the database that was forked from.
- host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- id str
- label str
- A unique, user-defined string referring to the Managed Database.
- members Mapping[str, str]
- oldest_
restore_ strtime - pending_
updates Sequence[GetDatabase Postgresql V2Pending Update] - platform str
- The back-end platform for relational databases used by the service.
- port int
- The access port for this Managed Database.
- region str
- The region to use for the Managed Database.
- root_
password str - The randomly-generated root password for the Managed Database instance.
- root_
username str - The root username for the Managed Database instance.
- ssl_
connection bool - Whether to require SSL credentials to establish a connection to the Managed Database.
- status str
- The operating status of the Managed Database.
- suspended bool
- Whether this Managed Database is suspended.
- type str
- The Linode Instance type used for the nodes of the Managed Database.
- updated str
- When this Managed Database was last updated.
- updates
Get
Database Postgresql V2Updates - version str
- The Managed Database engine version. (e.g.
13.2
)
- allow
Lists List<String> - A list of IP addresses that can access the Managed Database. Each item can be a single IP address or a range in CIDR format. Use
linode.DatabaseAccessControls
to manage your allow list separately. - ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- cluster
Size Number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - created String
- When this Managed Database was created.
- encrypted Boolean
- Whether the Managed Databases is encrypted.
- engine String
- The Managed Database engine. (e.g.
postgresql
) - engine
Config NumberPg Autovacuum Analyze Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size)
- engine
Config NumberPg Autovacuum Analyze Threshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- engine
Config NumberPg Autovacuum Max Workers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- engine
Config NumberPg Autovacuum Naptime - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute
- engine
Config NumberPg Autovacuum Vacuum Cost Delay - 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. The default value is 20 milliseconds
- engine
Config NumberPg Autovacuum Vacuum Cost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- engine
Config NumberPg Autovacuum Vacuum Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size)
- engine
Config NumberPg Autovacuum Vacuum Threshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- engine
Config NumberPg Bgwriter Delay - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200.
- engine
Config NumberPg Bgwriter Flush After - 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, default is 512. Setting of 0 disables forced writeback.
- engine
Config NumberPg Bgwriter Lru Maxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100.
- engine
Config NumberPg Bgwriter Lru Multiplier - 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. The default is 2.0.
- engine
Config NumberPg Deadlock Timeout - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- engine
Config StringPg Default Toast Compression - Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- engine
Config NumberPg Idle In Transaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- engine
Config BooleanPg Jit - Controls system-wide use of Just-in-Time Compilation (JIT).
- engine
Config NumberPg Max Files Per Process - PostgreSQL maximum number of files that can be open per process.
- engine
Config NumberPg Max Locks Per Transaction - PostgreSQL maximum locks per transaction.
- engine
Config NumberPg Max Logical Replication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- engine
Config NumberPg Max Parallel Workers - Sets the maximum number of workers that the system can support for parallel queries.
- engine
Config NumberPg Max Parallel Workers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- engine
Config NumberPg Max Pred Locks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- engine
Config NumberPg Max Replication Slots - PostgreSQL maximum replication slots.
- engine
Config NumberPg Max Slot Wal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- engine
Config NumberPg Max Stack Depth - Maximum depth of the stack in bytes.
- engine
Config NumberPg Max Standby Archive Delay - Max standby archive delay in milliseconds.
- engine
Config NumberPg Max Standby Streaming Delay - Max standby streaming delay in milliseconds.
- engine
Config NumberPg Max Wal Senders - PostgreSQL maximum WAL senders.
- engine
Config NumberPg Max Worker Processes - Sets the maximum number of background processes that the system can support.
- engine
Config StringPg Password Encryption - Chooses the algorithm for encrypting passwords.
- engine
Config NumberPg Pg Partman Bgw Interval - Sets the time interval to run pg_partman's scheduled tasks.
- engine
Config StringPg Pg Partman Bgw Role - Controls which role to use for pg_partman's scheduled background tasks.
- engine
Config BooleanPg Pg Stat Monitor Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- engine
Config NumberPg Pg Stat Monitor Pgsm Max Buckets - Sets the maximum number of buckets.
- engine
Config StringPg Pg Stat Statements Track - Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.
- engine
Config BooleanPg Stat Monitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted. When this extension is enabled, pg_stat_statements results for utility commands are unreliable.
- engine
Config NumberPg Temp File Limit - PostgreSQL temporary file limit in KiB, -1 for unlimited.
- engine
Config StringPg Timezone - PostgreSQL service timezone.
- engine
Config NumberPg Track Activity Query Size - Specifies the number of bytes reserved to track the currently executing command for each active session.
- engine
Config StringPg Track Commit Timestamp - Record commit time of transactions.
- engine
Config StringPg Track Functions - Enables tracking of function call counts and time used.
- engine
Config StringPg Track Io Timing - 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.
- engine
Config NumberPg Wal Sender Timeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout.
- engine
Config NumberPg Wal Writer Delay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance.
- engine
Config NumberPglookout Max Failover Replication Time Lag - Number of seconds of master unavailability before triggering database failover to standby.
- Number
- 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.
- engine
Config NumberWork Mem - 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. Default is 1MB + 0.075% of total RAM (up to 32MB).
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Number - The ID of the database that was forked from.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String>
- oldest
Restore StringTime - pending
Updates List<Property Map> - platform String
- The back-end platform for relational databases used by the service.
- port Number
- The access port for this Managed Database.
- region String
- The region to use for the Managed Database.
- root
Password String - The randomly-generated root password for the Managed Database instance.
- root
Username String - The root username for the Managed Database instance.
- ssl
Connection Boolean - Whether to require SSL credentials to establish a connection to the Managed Database.
- status String
- The operating status of the Managed Database.
- suspended Boolean
- Whether this Managed Database is suspended.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates Property Map
- version String
- The Managed Database engine version. (e.g.
13.2
)
Supporting Types
GetDatabasePostgresqlV2PendingUpdate
- Deadline string
- Description string
- Planned
For string
- Deadline string
- Description string
- Planned
For string
- deadline String
- description String
- planned
For String
- deadline string
- description string
- planned
For string
- deadline str
- description str
- planned_
for str
- deadline String
- description String
- planned
For String
GetDatabasePostgresqlV2Updates
- day_
of_ intweek - duration int
- frequency str
- hour_
of_ intday
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.