linode.DatabasePostgresqlV2
Explore with Pulumi AI
Provides a Linode PostgreSQL Database resource. This can be used to create, modify, and delete Linode PostgreSQL Databases. For more information, see the Linode APIv4 docs.
Please keep in mind that Managed Databases can take up to half an hour to provision.
Example Usage
Creating a simple PostgreSQL database that does not allow connections:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabasePostgresqlV2("foobar", {
label: "mydatabase",
engineId: "postgresql/16",
region: "us-mia",
type: "g6-nanode-1",
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabasePostgresqlV2("foobar",
label="mydatabase",
engine_id="postgresql/16",
region="us-mia",
type="g6-nanode-1")
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.NewDatabasePostgresqlV2(ctx, "foobar", &linode.DatabasePostgresqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("postgresql/16"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
})
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 foobar = new Linode.DatabasePostgresqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "postgresql/16",
Region = "us-mia",
Type = "g6-nanode-1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabasePostgresqlV2;
import com.pulumi.linode.DatabasePostgresqlV2Args;
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) {
var foobar = new DatabasePostgresqlV2("foobar", DatabasePostgresqlV2Args.builder()
.label("mydatabase")
.engineId("postgresql/16")
.region("us-mia")
.type("g6-nanode-1")
.build());
}
}
resources:
foobar:
type: linode:DatabasePostgresqlV2
properties:
label: mydatabase
engineId: postgresql/16
region: us-mia
type: g6-nanode-1
Creating a simple PostgreSQL database that allows connections from all IPv4 addresses:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabasePostgresqlV2("foobar", {
label: "mydatabase",
engineId: "postgresql/16",
region: "us-mia",
type: "g6-nanode-1",
allowLists: ["0.0.0.0/0"],
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabasePostgresqlV2("foobar",
label="mydatabase",
engine_id="postgresql/16",
region="us-mia",
type="g6-nanode-1",
allow_lists=["0.0.0.0/0"])
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.NewDatabasePostgresqlV2(ctx, "foobar", &linode.DatabasePostgresqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("postgresql/16"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
AllowLists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
})
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 foobar = new Linode.DatabasePostgresqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "postgresql/16",
Region = "us-mia",
Type = "g6-nanode-1",
AllowLists = new[]
{
"0.0.0.0/0",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabasePostgresqlV2;
import com.pulumi.linode.DatabasePostgresqlV2Args;
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) {
var foobar = new DatabasePostgresqlV2("foobar", DatabasePostgresqlV2Args.builder()
.label("mydatabase")
.engineId("postgresql/16")
.region("us-mia")
.type("g6-nanode-1")
.allowLists("0.0.0.0/0")
.build());
}
}
resources:
foobar:
type: linode:DatabasePostgresqlV2
properties:
label: mydatabase
engineId: postgresql/16
region: us-mia
type: g6-nanode-1
allowLists:
- 0.0.0.0/0
Creating a complex PostgreSQL database:
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
foobar:
type: linode:DatabasePostgresqlV2
properties:
label: mydatabase
engineId: postgresql/16
region: us-mia
type: g6-nanode-1
allowLists:
- 10.0.0.3/32
clusterSize: 3
updates:
duration: 4
frequency: weekly
hour_of_day: 22
day_of_week: 2
Creating a PostgreSQL database with engine config fields specified:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabasePostgresqlV2("foobar", {
label: "mydatabase",
engineId: "postgresql/16",
region: "us-mia",
type: "g6-nanode-1",
engineConfigPgAutovacuumAnalyzeScaleFactor: 0.1,
engineConfigPgAutovacuumAnalyzeThreshold: 50,
engineConfigPgAutovacuumMaxWorkers: 3,
engineConfigPgAutovacuumNaptime: 100,
engineConfigPgAutovacuumVacuumCostDelay: 20,
engineConfigPgAutovacuumVacuumCostLimit: 200,
engineConfigPgAutovacuumVacuumScaleFactor: 0.2,
engineConfigPgAutovacuumVacuumThreshold: 100,
engineConfigPgBgwriterDelay: 1000,
engineConfigPgBgwriterFlushAfter: 512,
engineConfigPgBgwriterLruMaxpages: 100,
engineConfigPgBgwriterLruMultiplier: 2,
engineConfigPgDeadlockTimeout: 1000,
engineConfigPgDefaultToastCompression: "pglz",
engineConfigPgIdleInTransactionSessionTimeout: 60000,
engineConfigPgJit: true,
engineConfigPgMaxFilesPerProcess: 1000,
engineConfigPgMaxLocksPerTransaction: 64,
engineConfigPgMaxLogicalReplicationWorkers: 4,
engineConfigPgMaxParallelWorkers: 8,
engineConfigPgMaxParallelWorkersPerGather: 2,
engineConfigPgMaxPredLocksPerTransaction: 128,
engineConfigPgMaxReplicationSlots: 8,
engineConfigPgMaxSlotWalKeepSize: 128,
engineConfigPgMaxStackDepth: 2097152,
engineConfigPgMaxStandbyArchiveDelay: 60000,
engineConfigPgMaxStandbyStreamingDelay: 60000,
engineConfigPgMaxWalSenders: 20,
engineConfigPgMaxWorkerProcesses: 8,
engineConfigPgPasswordEncryption: "scram-sha-256",
engineConfigPgPgPartmanBgwInterval: 3600,
engineConfigPgPgPartmanBgwRole: "myrolename",
engineConfigPgPgStatMonitorPgsmEnableQueryPlan: true,
engineConfigPgPgStatMonitorPgsmMaxBuckets: 5,
engineConfigPgPgStatStatementsTrack: "all",
engineConfigPgTempFileLimit: 100,
engineConfigPgTimezone: "Europe/Helsinki",
engineConfigPgTrackActivityQuerySize: 2048,
engineConfigPgTrackCommitTimestamp: "on",
engineConfigPgTrackFunctions: "all",
engineConfigPgTrackIoTiming: "on",
engineConfigPgWalSenderTimeout: 60000,
engineConfigPgWalWriterDelay: 200,
engineConfigPgStatMonitorEnable: true,
engineConfigPglookoutMaxFailoverReplicationTimeLag: 10000,
engineConfigSharedBuffersPercentage: 25,
engineConfigWorkMem: 400,
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabasePostgresqlV2("foobar",
label="mydatabase",
engine_id="postgresql/16",
region="us-mia",
type="g6-nanode-1",
engine_config_pg_autovacuum_analyze_scale_factor=0.1,
engine_config_pg_autovacuum_analyze_threshold=50,
engine_config_pg_autovacuum_max_workers=3,
engine_config_pg_autovacuum_naptime=100,
engine_config_pg_autovacuum_vacuum_cost_delay=20,
engine_config_pg_autovacuum_vacuum_cost_limit=200,
engine_config_pg_autovacuum_vacuum_scale_factor=0.2,
engine_config_pg_autovacuum_vacuum_threshold=100,
engine_config_pg_bgwriter_delay=1000,
engine_config_pg_bgwriter_flush_after=512,
engine_config_pg_bgwriter_lru_maxpages=100,
engine_config_pg_bgwriter_lru_multiplier=2,
engine_config_pg_deadlock_timeout=1000,
engine_config_pg_default_toast_compression="pglz",
engine_config_pg_idle_in_transaction_session_timeout=60000,
engine_config_pg_jit=True,
engine_config_pg_max_files_per_process=1000,
engine_config_pg_max_locks_per_transaction=64,
engine_config_pg_max_logical_replication_workers=4,
engine_config_pg_max_parallel_workers=8,
engine_config_pg_max_parallel_workers_per_gather=2,
engine_config_pg_max_pred_locks_per_transaction=128,
engine_config_pg_max_replication_slots=8,
engine_config_pg_max_slot_wal_keep_size=128,
engine_config_pg_max_stack_depth=2097152,
engine_config_pg_max_standby_archive_delay=60000,
engine_config_pg_max_standby_streaming_delay=60000,
engine_config_pg_max_wal_senders=20,
engine_config_pg_max_worker_processes=8,
engine_config_pg_password_encryption="scram-sha-256",
engine_config_pg_pg_partman_bgw_interval=3600,
engine_config_pg_pg_partman_bgw_role="myrolename",
engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan=True,
engine_config_pg_pg_stat_monitor_pgsm_max_buckets=5,
engine_config_pg_pg_stat_statements_track="all",
engine_config_pg_temp_file_limit=100,
engine_config_pg_timezone="Europe/Helsinki",
engine_config_pg_track_activity_query_size=2048,
engine_config_pg_track_commit_timestamp="on",
engine_config_pg_track_functions="all",
engine_config_pg_track_io_timing="on",
engine_config_pg_wal_sender_timeout=60000,
engine_config_pg_wal_writer_delay=200,
engine_config_pg_stat_monitor_enable=True,
engine_config_pglookout_max_failover_replication_time_lag=10000,
engine_config_shared_buffers_percentage=25,
engine_config_work_mem=400)
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.NewDatabasePostgresqlV2(ctx, "foobar", &linode.DatabasePostgresqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("postgresql/16"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
EngineConfigPgAutovacuumAnalyzeScaleFactor: pulumi.Float64(0.1),
EngineConfigPgAutovacuumAnalyzeThreshold: pulumi.Int(50),
EngineConfigPgAutovacuumMaxWorkers: pulumi.Int(3),
EngineConfigPgAutovacuumNaptime: pulumi.Int(100),
EngineConfigPgAutovacuumVacuumCostDelay: pulumi.Int(20),
EngineConfigPgAutovacuumVacuumCostLimit: pulumi.Int(200),
EngineConfigPgAutovacuumVacuumScaleFactor: pulumi.Float64(0.2),
EngineConfigPgAutovacuumVacuumThreshold: pulumi.Int(100),
EngineConfigPgBgwriterDelay: pulumi.Int(1000),
EngineConfigPgBgwriterFlushAfter: pulumi.Int(512),
EngineConfigPgBgwriterLruMaxpages: pulumi.Int(100),
EngineConfigPgBgwriterLruMultiplier: pulumi.Float64(2),
EngineConfigPgDeadlockTimeout: pulumi.Int(1000),
EngineConfigPgDefaultToastCompression: pulumi.String("pglz"),
EngineConfigPgIdleInTransactionSessionTimeout: pulumi.Int(60000),
EngineConfigPgJit: pulumi.Bool(true),
EngineConfigPgMaxFilesPerProcess: pulumi.Int(1000),
EngineConfigPgMaxLocksPerTransaction: pulumi.Int(64),
EngineConfigPgMaxLogicalReplicationWorkers: pulumi.Int(4),
EngineConfigPgMaxParallelWorkers: pulumi.Int(8),
EngineConfigPgMaxParallelWorkersPerGather: pulumi.Int(2),
EngineConfigPgMaxPredLocksPerTransaction: pulumi.Int(128),
EngineConfigPgMaxReplicationSlots: pulumi.Int(8),
EngineConfigPgMaxSlotWalKeepSize: pulumi.Int(128),
EngineConfigPgMaxStackDepth: pulumi.Int(2097152),
EngineConfigPgMaxStandbyArchiveDelay: pulumi.Int(60000),
EngineConfigPgMaxStandbyStreamingDelay: pulumi.Int(60000),
EngineConfigPgMaxWalSenders: pulumi.Int(20),
EngineConfigPgMaxWorkerProcesses: pulumi.Int(8),
EngineConfigPgPasswordEncryption: pulumi.String("scram-sha-256"),
EngineConfigPgPgPartmanBgwInterval: pulumi.Int(3600),
EngineConfigPgPgPartmanBgwRole: pulumi.String("myrolename"),
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan: pulumi.Bool(true),
EngineConfigPgPgStatMonitorPgsmMaxBuckets: pulumi.Int(5),
EngineConfigPgPgStatStatementsTrack: pulumi.String("all"),
EngineConfigPgTempFileLimit: pulumi.Int(100),
EngineConfigPgTimezone: pulumi.String("Europe/Helsinki"),
EngineConfigPgTrackActivityQuerySize: pulumi.Int(2048),
EngineConfigPgTrackCommitTimestamp: pulumi.String("on"),
EngineConfigPgTrackFunctions: pulumi.String("all"),
EngineConfigPgTrackIoTiming: pulumi.String("on"),
EngineConfigPgWalSenderTimeout: pulumi.Int(60000),
EngineConfigPgWalWriterDelay: pulumi.Int(200),
EngineConfigPgStatMonitorEnable: pulumi.Bool(true),
EngineConfigPglookoutMaxFailoverReplicationTimeLag: pulumi.Int(10000),
EngineConfigSharedBuffersPercentage: pulumi.Float64(25),
EngineConfigWorkMem: pulumi.Int(400),
})
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 foobar = new Linode.DatabasePostgresqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "postgresql/16",
Region = "us-mia",
Type = "g6-nanode-1",
EngineConfigPgAutovacuumAnalyzeScaleFactor = 0.1,
EngineConfigPgAutovacuumAnalyzeThreshold = 50,
EngineConfigPgAutovacuumMaxWorkers = 3,
EngineConfigPgAutovacuumNaptime = 100,
EngineConfigPgAutovacuumVacuumCostDelay = 20,
EngineConfigPgAutovacuumVacuumCostLimit = 200,
EngineConfigPgAutovacuumVacuumScaleFactor = 0.2,
EngineConfigPgAutovacuumVacuumThreshold = 100,
EngineConfigPgBgwriterDelay = 1000,
EngineConfigPgBgwriterFlushAfter = 512,
EngineConfigPgBgwriterLruMaxpages = 100,
EngineConfigPgBgwriterLruMultiplier = 2,
EngineConfigPgDeadlockTimeout = 1000,
EngineConfigPgDefaultToastCompression = "pglz",
EngineConfigPgIdleInTransactionSessionTimeout = 60000,
EngineConfigPgJit = true,
EngineConfigPgMaxFilesPerProcess = 1000,
EngineConfigPgMaxLocksPerTransaction = 64,
EngineConfigPgMaxLogicalReplicationWorkers = 4,
EngineConfigPgMaxParallelWorkers = 8,
EngineConfigPgMaxParallelWorkersPerGather = 2,
EngineConfigPgMaxPredLocksPerTransaction = 128,
EngineConfigPgMaxReplicationSlots = 8,
EngineConfigPgMaxSlotWalKeepSize = 128,
EngineConfigPgMaxStackDepth = 2097152,
EngineConfigPgMaxStandbyArchiveDelay = 60000,
EngineConfigPgMaxStandbyStreamingDelay = 60000,
EngineConfigPgMaxWalSenders = 20,
EngineConfigPgMaxWorkerProcesses = 8,
EngineConfigPgPasswordEncryption = "scram-sha-256",
EngineConfigPgPgPartmanBgwInterval = 3600,
EngineConfigPgPgPartmanBgwRole = "myrolename",
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan = true,
EngineConfigPgPgStatMonitorPgsmMaxBuckets = 5,
EngineConfigPgPgStatStatementsTrack = "all",
EngineConfigPgTempFileLimit = 100,
EngineConfigPgTimezone = "Europe/Helsinki",
EngineConfigPgTrackActivityQuerySize = 2048,
EngineConfigPgTrackCommitTimestamp = "on",
EngineConfigPgTrackFunctions = "all",
EngineConfigPgTrackIoTiming = "on",
EngineConfigPgWalSenderTimeout = 60000,
EngineConfigPgWalWriterDelay = 200,
EngineConfigPgStatMonitorEnable = true,
EngineConfigPglookoutMaxFailoverReplicationTimeLag = 10000,
EngineConfigSharedBuffersPercentage = 25,
EngineConfigWorkMem = 400,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabasePostgresqlV2;
import com.pulumi.linode.DatabasePostgresqlV2Args;
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) {
var foobar = new DatabasePostgresqlV2("foobar", DatabasePostgresqlV2Args.builder()
.label("mydatabase")
.engineId("postgresql/16")
.region("us-mia")
.type("g6-nanode-1")
.engineConfigPgAutovacuumAnalyzeScaleFactor(0.1)
.engineConfigPgAutovacuumAnalyzeThreshold(50)
.engineConfigPgAutovacuumMaxWorkers(3)
.engineConfigPgAutovacuumNaptime(100)
.engineConfigPgAutovacuumVacuumCostDelay(20)
.engineConfigPgAutovacuumVacuumCostLimit(200)
.engineConfigPgAutovacuumVacuumScaleFactor(0.2)
.engineConfigPgAutovacuumVacuumThreshold(100)
.engineConfigPgBgwriterDelay(1000)
.engineConfigPgBgwriterFlushAfter(512)
.engineConfigPgBgwriterLruMaxpages(100)
.engineConfigPgBgwriterLruMultiplier(2.0)
.engineConfigPgDeadlockTimeout(1000)
.engineConfigPgDefaultToastCompression("pglz")
.engineConfigPgIdleInTransactionSessionTimeout(60000)
.engineConfigPgJit(true)
.engineConfigPgMaxFilesPerProcess(1000)
.engineConfigPgMaxLocksPerTransaction(64)
.engineConfigPgMaxLogicalReplicationWorkers(4)
.engineConfigPgMaxParallelWorkers(8)
.engineConfigPgMaxParallelWorkersPerGather(2)
.engineConfigPgMaxPredLocksPerTransaction(128)
.engineConfigPgMaxReplicationSlots(8)
.engineConfigPgMaxSlotWalKeepSize(128)
.engineConfigPgMaxStackDepth(2097152)
.engineConfigPgMaxStandbyArchiveDelay(60000)
.engineConfigPgMaxStandbyStreamingDelay(60000)
.engineConfigPgMaxWalSenders(20)
.engineConfigPgMaxWorkerProcesses(8)
.engineConfigPgPasswordEncryption("scram-sha-256")
.engineConfigPgPgPartmanBgwInterval(3600)
.engineConfigPgPgPartmanBgwRole("myrolename")
.engineConfigPgPgStatMonitorPgsmEnableQueryPlan(true)
.engineConfigPgPgStatMonitorPgsmMaxBuckets(5)
.engineConfigPgPgStatStatementsTrack("all")
.engineConfigPgTempFileLimit(100)
.engineConfigPgTimezone("Europe/Helsinki")
.engineConfigPgTrackActivityQuerySize(2048)
.engineConfigPgTrackCommitTimestamp("on")
.engineConfigPgTrackFunctions("all")
.engineConfigPgTrackIoTiming("on")
.engineConfigPgWalSenderTimeout(60000)
.engineConfigPgWalWriterDelay(200)
.engineConfigPgStatMonitorEnable(true)
.engineConfigPglookoutMaxFailoverReplicationTimeLag(10000)
.engineConfigSharedBuffersPercentage(25.0)
.engineConfigWorkMem(400)
.build());
}
}
resources:
foobar:
type: linode:DatabasePostgresqlV2
properties:
label: mydatabase
engineId: postgresql/16
region: us-mia
type: g6-nanode-1
engineConfigPgAutovacuumAnalyzeScaleFactor: 0.1
engineConfigPgAutovacuumAnalyzeThreshold: 50
engineConfigPgAutovacuumMaxWorkers: 3
engineConfigPgAutovacuumNaptime: 100
engineConfigPgAutovacuumVacuumCostDelay: 20
engineConfigPgAutovacuumVacuumCostLimit: 200
engineConfigPgAutovacuumVacuumScaleFactor: 0.2
engineConfigPgAutovacuumVacuumThreshold: 100
engineConfigPgBgwriterDelay: 1000
engineConfigPgBgwriterFlushAfter: 512
engineConfigPgBgwriterLruMaxpages: 100
engineConfigPgBgwriterLruMultiplier: 2
engineConfigPgDeadlockTimeout: 1000
engineConfigPgDefaultToastCompression: pglz
engineConfigPgIdleInTransactionSessionTimeout: 60000
engineConfigPgJit: true
engineConfigPgMaxFilesPerProcess: 1000
engineConfigPgMaxLocksPerTransaction: 64
engineConfigPgMaxLogicalReplicationWorkers: 4
engineConfigPgMaxParallelWorkers: 8
engineConfigPgMaxParallelWorkersPerGather: 2
engineConfigPgMaxPredLocksPerTransaction: 128
engineConfigPgMaxReplicationSlots: 8
engineConfigPgMaxSlotWalKeepSize: 128
engineConfigPgMaxStackDepth: 2.097152e+06
engineConfigPgMaxStandbyArchiveDelay: 60000
engineConfigPgMaxStandbyStreamingDelay: 60000
engineConfigPgMaxWalSenders: 20
engineConfigPgMaxWorkerProcesses: 8
engineConfigPgPasswordEncryption: scram-sha-256
engineConfigPgPgPartmanBgwInterval: 3600
engineConfigPgPgPartmanBgwRole: myrolename
engineConfigPgPgStatMonitorPgsmEnableQueryPlan: true
engineConfigPgPgStatMonitorPgsmMaxBuckets: 5
engineConfigPgPgStatStatementsTrack: all
engineConfigPgTempFileLimit: 100
engineConfigPgTimezone: Europe/Helsinki
engineConfigPgTrackActivityQuerySize: 2048
engineConfigPgTrackCommitTimestamp: on
engineConfigPgTrackFunctions: all
engineConfigPgTrackIoTiming: on
engineConfigPgWalSenderTimeout: 60000
engineConfigPgWalWriterDelay: 200
engineConfigPgStatMonitorEnable: true
engineConfigPglookoutMaxFailoverReplicationTimeLag: 10000
engineConfigSharedBuffersPercentage: 25
engineConfigWorkMem: 400
Creating a forked PostgreSQL database:
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const foobar = new linode.DatabasePostgresqlV2("foobar", {
label: "mydatabase",
engineId: "postgresql/16",
region: "us-mia",
type: "g6-nanode-1",
forkSource: 12345,
});
import pulumi
import pulumi_linode as linode
foobar = linode.DatabasePostgresqlV2("foobar",
label="mydatabase",
engine_id="postgresql/16",
region="us-mia",
type="g6-nanode-1",
fork_source=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.NewDatabasePostgresqlV2(ctx, "foobar", &linode.DatabasePostgresqlV2Args{
Label: pulumi.String("mydatabase"),
EngineId: pulumi.String("postgresql/16"),
Region: pulumi.String("us-mia"),
Type: pulumi.String("g6-nanode-1"),
ForkSource: pulumi.Int(12345),
})
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 foobar = new Linode.DatabasePostgresqlV2("foobar", new()
{
Label = "mydatabase",
EngineId = "postgresql/16",
Region = "us-mia",
Type = "g6-nanode-1",
ForkSource = 12345,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.DatabasePostgresqlV2;
import com.pulumi.linode.DatabasePostgresqlV2Args;
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) {
var foobar = new DatabasePostgresqlV2("foobar", DatabasePostgresqlV2Args.builder()
.label("mydatabase")
.engineId("postgresql/16")
.region("us-mia")
.type("g6-nanode-1")
.forkSource(12345)
.build());
}
}
resources:
foobar:
type: linode:DatabasePostgresqlV2
properties:
label: mydatabase
engineId: postgresql/16
region: us-mia
type: g6-nanode-1
forkSource: 12345
NOTE: The name of the default database in the returned database cluster is
defaultdb
.
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
- (Required) The day to perform maintenance. (monday
,tuesday
, …)duration
- (Required) The maximum maintenance window time in hours. (1
..3
)frequency
- (Required) The frequency at which maintenance occurs. (weekly
)hour_of_day
- (Required) The hour to begin maintenance based in UTC time. (0
..23
)
Create DatabasePostgresqlV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DatabasePostgresqlV2(name: string, args: DatabasePostgresqlV2Args, opts?: CustomResourceOptions);
@overload
def DatabasePostgresqlV2(resource_name: str,
args: DatabasePostgresqlV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def DatabasePostgresqlV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_id: Optional[str] = None,
label: Optional[str] = None,
region: Optional[str] = None,
type: Optional[str] = None,
allow_lists: Optional[Sequence[str]] = None,
cluster_size: Optional[int] = None,
engine_config_pg_autovacuum_analyze_scale_factor: Optional[float] = None,
engine_config_pg_autovacuum_analyze_threshold: Optional[int] = None,
engine_config_pg_autovacuum_max_workers: Optional[int] = None,
engine_config_pg_autovacuum_naptime: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_cost_delay: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_cost_limit: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_scale_factor: Optional[float] = None,
engine_config_pg_autovacuum_vacuum_threshold: Optional[int] = None,
engine_config_pg_bgwriter_delay: Optional[int] = None,
engine_config_pg_bgwriter_flush_after: Optional[int] = None,
engine_config_pg_bgwriter_lru_maxpages: Optional[int] = None,
engine_config_pg_bgwriter_lru_multiplier: Optional[float] = None,
engine_config_pg_deadlock_timeout: Optional[int] = None,
engine_config_pg_default_toast_compression: Optional[str] = None,
engine_config_pg_idle_in_transaction_session_timeout: Optional[int] = None,
engine_config_pg_jit: Optional[bool] = None,
engine_config_pg_max_files_per_process: Optional[int] = None,
engine_config_pg_max_locks_per_transaction: Optional[int] = None,
engine_config_pg_max_logical_replication_workers: Optional[int] = None,
engine_config_pg_max_parallel_workers: Optional[int] = None,
engine_config_pg_max_parallel_workers_per_gather: Optional[int] = None,
engine_config_pg_max_pred_locks_per_transaction: Optional[int] = None,
engine_config_pg_max_replication_slots: Optional[int] = None,
engine_config_pg_max_slot_wal_keep_size: Optional[int] = None,
engine_config_pg_max_stack_depth: Optional[int] = None,
engine_config_pg_max_standby_archive_delay: Optional[int] = None,
engine_config_pg_max_standby_streaming_delay: Optional[int] = None,
engine_config_pg_max_wal_senders: Optional[int] = None,
engine_config_pg_max_worker_processes: Optional[int] = None,
engine_config_pg_password_encryption: Optional[str] = None,
engine_config_pg_pg_partman_bgw_interval: Optional[int] = None,
engine_config_pg_pg_partman_bgw_role: Optional[str] = None,
engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan: Optional[bool] = None,
engine_config_pg_pg_stat_monitor_pgsm_max_buckets: Optional[int] = None,
engine_config_pg_pg_stat_statements_track: Optional[str] = None,
engine_config_pg_stat_monitor_enable: Optional[bool] = None,
engine_config_pg_temp_file_limit: Optional[int] = None,
engine_config_pg_timezone: Optional[str] = None,
engine_config_pg_track_activity_query_size: Optional[int] = None,
engine_config_pg_track_commit_timestamp: Optional[str] = None,
engine_config_pg_track_functions: Optional[str] = None,
engine_config_pg_track_io_timing: Optional[str] = None,
engine_config_pg_wal_sender_timeout: Optional[int] = None,
engine_config_pg_wal_writer_delay: Optional[int] = None,
engine_config_pglookout_max_failover_replication_time_lag: Optional[int] = None,
engine_config_shared_buffers_percentage: Optional[float] = None,
engine_config_work_mem: Optional[int] = None,
fork_restore_time: Optional[str] = None,
fork_source: Optional[int] = None,
suspended: Optional[bool] = None,
timeouts: Optional[DatabasePostgresqlV2TimeoutsArgs] = None,
updates: Optional[DatabasePostgresqlV2UpdatesArgs] = None)
func NewDatabasePostgresqlV2(ctx *Context, name string, args DatabasePostgresqlV2Args, opts ...ResourceOption) (*DatabasePostgresqlV2, error)
public DatabasePostgresqlV2(string name, DatabasePostgresqlV2Args args, CustomResourceOptions? opts = null)
public DatabasePostgresqlV2(String name, DatabasePostgresqlV2Args args)
public DatabasePostgresqlV2(String name, DatabasePostgresqlV2Args args, CustomResourceOptions options)
type: linode:DatabasePostgresqlV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DatabasePostgresqlV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DatabasePostgresqlV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DatabasePostgresqlV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DatabasePostgresqlV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DatabasePostgresqlV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var databasePostgresqlV2Resource = new Linode.DatabasePostgresqlV2("databasePostgresqlV2Resource", new()
{
EngineId = "string",
Label = "string",
Region = "string",
Type = "string",
AllowLists = new[]
{
"string",
},
ClusterSize = 0,
EngineConfigPgAutovacuumAnalyzeScaleFactor = 0,
EngineConfigPgAutovacuumAnalyzeThreshold = 0,
EngineConfigPgAutovacuumMaxWorkers = 0,
EngineConfigPgAutovacuumNaptime = 0,
EngineConfigPgAutovacuumVacuumCostDelay = 0,
EngineConfigPgAutovacuumVacuumCostLimit = 0,
EngineConfigPgAutovacuumVacuumScaleFactor = 0,
EngineConfigPgAutovacuumVacuumThreshold = 0,
EngineConfigPgBgwriterDelay = 0,
EngineConfigPgBgwriterFlushAfter = 0,
EngineConfigPgBgwriterLruMaxpages = 0,
EngineConfigPgBgwriterLruMultiplier = 0,
EngineConfigPgDeadlockTimeout = 0,
EngineConfigPgDefaultToastCompression = "string",
EngineConfigPgIdleInTransactionSessionTimeout = 0,
EngineConfigPgJit = false,
EngineConfigPgMaxFilesPerProcess = 0,
EngineConfigPgMaxLocksPerTransaction = 0,
EngineConfigPgMaxLogicalReplicationWorkers = 0,
EngineConfigPgMaxParallelWorkers = 0,
EngineConfigPgMaxParallelWorkersPerGather = 0,
EngineConfigPgMaxPredLocksPerTransaction = 0,
EngineConfigPgMaxReplicationSlots = 0,
EngineConfigPgMaxSlotWalKeepSize = 0,
EngineConfigPgMaxStackDepth = 0,
EngineConfigPgMaxStandbyArchiveDelay = 0,
EngineConfigPgMaxStandbyStreamingDelay = 0,
EngineConfigPgMaxWalSenders = 0,
EngineConfigPgMaxWorkerProcesses = 0,
EngineConfigPgPasswordEncryption = "string",
EngineConfigPgPgPartmanBgwInterval = 0,
EngineConfigPgPgPartmanBgwRole = "string",
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan = false,
EngineConfigPgPgStatMonitorPgsmMaxBuckets = 0,
EngineConfigPgPgStatStatementsTrack = "string",
EngineConfigPgStatMonitorEnable = false,
EngineConfigPgTempFileLimit = 0,
EngineConfigPgTimezone = "string",
EngineConfigPgTrackActivityQuerySize = 0,
EngineConfigPgTrackCommitTimestamp = "string",
EngineConfigPgTrackFunctions = "string",
EngineConfigPgTrackIoTiming = "string",
EngineConfigPgWalSenderTimeout = 0,
EngineConfigPgWalWriterDelay = 0,
EngineConfigPglookoutMaxFailoverReplicationTimeLag = 0,
EngineConfigSharedBuffersPercentage = 0,
EngineConfigWorkMem = 0,
ForkRestoreTime = "string",
ForkSource = 0,
Suspended = false,
Timeouts = new Linode.Inputs.DatabasePostgresqlV2TimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
Updates = new Linode.Inputs.DatabasePostgresqlV2UpdatesArgs
{
DayOfWeek = 0,
Duration = 0,
Frequency = "string",
HourOfDay = 0,
},
});
example, err := linode.NewDatabasePostgresqlV2(ctx, "databasePostgresqlV2Resource", &linode.DatabasePostgresqlV2Args{
EngineId: pulumi.String("string"),
Label: pulumi.String("string"),
Region: pulumi.String("string"),
Type: pulumi.String("string"),
AllowLists: pulumi.StringArray{
pulumi.String("string"),
},
ClusterSize: pulumi.Int(0),
EngineConfigPgAutovacuumAnalyzeScaleFactor: pulumi.Float64(0),
EngineConfigPgAutovacuumAnalyzeThreshold: pulumi.Int(0),
EngineConfigPgAutovacuumMaxWorkers: pulumi.Int(0),
EngineConfigPgAutovacuumNaptime: pulumi.Int(0),
EngineConfigPgAutovacuumVacuumCostDelay: pulumi.Int(0),
EngineConfigPgAutovacuumVacuumCostLimit: pulumi.Int(0),
EngineConfigPgAutovacuumVacuumScaleFactor: pulumi.Float64(0),
EngineConfigPgAutovacuumVacuumThreshold: pulumi.Int(0),
EngineConfigPgBgwriterDelay: pulumi.Int(0),
EngineConfigPgBgwriterFlushAfter: pulumi.Int(0),
EngineConfigPgBgwriterLruMaxpages: pulumi.Int(0),
EngineConfigPgBgwriterLruMultiplier: pulumi.Float64(0),
EngineConfigPgDeadlockTimeout: pulumi.Int(0),
EngineConfigPgDefaultToastCompression: pulumi.String("string"),
EngineConfigPgIdleInTransactionSessionTimeout: pulumi.Int(0),
EngineConfigPgJit: pulumi.Bool(false),
EngineConfigPgMaxFilesPerProcess: pulumi.Int(0),
EngineConfigPgMaxLocksPerTransaction: pulumi.Int(0),
EngineConfigPgMaxLogicalReplicationWorkers: pulumi.Int(0),
EngineConfigPgMaxParallelWorkers: pulumi.Int(0),
EngineConfigPgMaxParallelWorkersPerGather: pulumi.Int(0),
EngineConfigPgMaxPredLocksPerTransaction: pulumi.Int(0),
EngineConfigPgMaxReplicationSlots: pulumi.Int(0),
EngineConfigPgMaxSlotWalKeepSize: pulumi.Int(0),
EngineConfigPgMaxStackDepth: pulumi.Int(0),
EngineConfigPgMaxStandbyArchiveDelay: pulumi.Int(0),
EngineConfigPgMaxStandbyStreamingDelay: pulumi.Int(0),
EngineConfigPgMaxWalSenders: pulumi.Int(0),
EngineConfigPgMaxWorkerProcesses: pulumi.Int(0),
EngineConfigPgPasswordEncryption: pulumi.String("string"),
EngineConfigPgPgPartmanBgwInterval: pulumi.Int(0),
EngineConfigPgPgPartmanBgwRole: pulumi.String("string"),
EngineConfigPgPgStatMonitorPgsmEnableQueryPlan: pulumi.Bool(false),
EngineConfigPgPgStatMonitorPgsmMaxBuckets: pulumi.Int(0),
EngineConfigPgPgStatStatementsTrack: pulumi.String("string"),
EngineConfigPgStatMonitorEnable: pulumi.Bool(false),
EngineConfigPgTempFileLimit: pulumi.Int(0),
EngineConfigPgTimezone: pulumi.String("string"),
EngineConfigPgTrackActivityQuerySize: pulumi.Int(0),
EngineConfigPgTrackCommitTimestamp: pulumi.String("string"),
EngineConfigPgTrackFunctions: pulumi.String("string"),
EngineConfigPgTrackIoTiming: pulumi.String("string"),
EngineConfigPgWalSenderTimeout: pulumi.Int(0),
EngineConfigPgWalWriterDelay: pulumi.Int(0),
EngineConfigPglookoutMaxFailoverReplicationTimeLag: pulumi.Int(0),
EngineConfigSharedBuffersPercentage: pulumi.Float64(0),
EngineConfigWorkMem: pulumi.Int(0),
ForkRestoreTime: pulumi.String("string"),
ForkSource: pulumi.Int(0),
Suspended: pulumi.Bool(false),
Timeouts: &linode.DatabasePostgresqlV2TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
Updates: &linode.DatabasePostgresqlV2UpdatesArgs{
DayOfWeek: pulumi.Int(0),
Duration: pulumi.Int(0),
Frequency: pulumi.String("string"),
HourOfDay: pulumi.Int(0),
},
})
var databasePostgresqlV2Resource = new DatabasePostgresqlV2("databasePostgresqlV2Resource", DatabasePostgresqlV2Args.builder()
.engineId("string")
.label("string")
.region("string")
.type("string")
.allowLists("string")
.clusterSize(0)
.engineConfigPgAutovacuumAnalyzeScaleFactor(0.0)
.engineConfigPgAutovacuumAnalyzeThreshold(0)
.engineConfigPgAutovacuumMaxWorkers(0)
.engineConfigPgAutovacuumNaptime(0)
.engineConfigPgAutovacuumVacuumCostDelay(0)
.engineConfigPgAutovacuumVacuumCostLimit(0)
.engineConfigPgAutovacuumVacuumScaleFactor(0.0)
.engineConfigPgAutovacuumVacuumThreshold(0)
.engineConfigPgBgwriterDelay(0)
.engineConfigPgBgwriterFlushAfter(0)
.engineConfigPgBgwriterLruMaxpages(0)
.engineConfigPgBgwriterLruMultiplier(0.0)
.engineConfigPgDeadlockTimeout(0)
.engineConfigPgDefaultToastCompression("string")
.engineConfigPgIdleInTransactionSessionTimeout(0)
.engineConfigPgJit(false)
.engineConfigPgMaxFilesPerProcess(0)
.engineConfigPgMaxLocksPerTransaction(0)
.engineConfigPgMaxLogicalReplicationWorkers(0)
.engineConfigPgMaxParallelWorkers(0)
.engineConfigPgMaxParallelWorkersPerGather(0)
.engineConfigPgMaxPredLocksPerTransaction(0)
.engineConfigPgMaxReplicationSlots(0)
.engineConfigPgMaxSlotWalKeepSize(0)
.engineConfigPgMaxStackDepth(0)
.engineConfigPgMaxStandbyArchiveDelay(0)
.engineConfigPgMaxStandbyStreamingDelay(0)
.engineConfigPgMaxWalSenders(0)
.engineConfigPgMaxWorkerProcesses(0)
.engineConfigPgPasswordEncryption("string")
.engineConfigPgPgPartmanBgwInterval(0)
.engineConfigPgPgPartmanBgwRole("string")
.engineConfigPgPgStatMonitorPgsmEnableQueryPlan(false)
.engineConfigPgPgStatMonitorPgsmMaxBuckets(0)
.engineConfigPgPgStatStatementsTrack("string")
.engineConfigPgStatMonitorEnable(false)
.engineConfigPgTempFileLimit(0)
.engineConfigPgTimezone("string")
.engineConfigPgTrackActivityQuerySize(0)
.engineConfigPgTrackCommitTimestamp("string")
.engineConfigPgTrackFunctions("string")
.engineConfigPgTrackIoTiming("string")
.engineConfigPgWalSenderTimeout(0)
.engineConfigPgWalWriterDelay(0)
.engineConfigPglookoutMaxFailoverReplicationTimeLag(0)
.engineConfigSharedBuffersPercentage(0.0)
.engineConfigWorkMem(0)
.forkRestoreTime("string")
.forkSource(0)
.suspended(false)
.timeouts(DatabasePostgresqlV2TimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.updates(DatabasePostgresqlV2UpdatesArgs.builder()
.dayOfWeek(0)
.duration(0)
.frequency("string")
.hourOfDay(0)
.build())
.build());
database_postgresql_v2_resource = linode.DatabasePostgresqlV2("databasePostgresqlV2Resource",
engine_id="string",
label="string",
region="string",
type="string",
allow_lists=["string"],
cluster_size=0,
engine_config_pg_autovacuum_analyze_scale_factor=0,
engine_config_pg_autovacuum_analyze_threshold=0,
engine_config_pg_autovacuum_max_workers=0,
engine_config_pg_autovacuum_naptime=0,
engine_config_pg_autovacuum_vacuum_cost_delay=0,
engine_config_pg_autovacuum_vacuum_cost_limit=0,
engine_config_pg_autovacuum_vacuum_scale_factor=0,
engine_config_pg_autovacuum_vacuum_threshold=0,
engine_config_pg_bgwriter_delay=0,
engine_config_pg_bgwriter_flush_after=0,
engine_config_pg_bgwriter_lru_maxpages=0,
engine_config_pg_bgwriter_lru_multiplier=0,
engine_config_pg_deadlock_timeout=0,
engine_config_pg_default_toast_compression="string",
engine_config_pg_idle_in_transaction_session_timeout=0,
engine_config_pg_jit=False,
engine_config_pg_max_files_per_process=0,
engine_config_pg_max_locks_per_transaction=0,
engine_config_pg_max_logical_replication_workers=0,
engine_config_pg_max_parallel_workers=0,
engine_config_pg_max_parallel_workers_per_gather=0,
engine_config_pg_max_pred_locks_per_transaction=0,
engine_config_pg_max_replication_slots=0,
engine_config_pg_max_slot_wal_keep_size=0,
engine_config_pg_max_stack_depth=0,
engine_config_pg_max_standby_archive_delay=0,
engine_config_pg_max_standby_streaming_delay=0,
engine_config_pg_max_wal_senders=0,
engine_config_pg_max_worker_processes=0,
engine_config_pg_password_encryption="string",
engine_config_pg_pg_partman_bgw_interval=0,
engine_config_pg_pg_partman_bgw_role="string",
engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan=False,
engine_config_pg_pg_stat_monitor_pgsm_max_buckets=0,
engine_config_pg_pg_stat_statements_track="string",
engine_config_pg_stat_monitor_enable=False,
engine_config_pg_temp_file_limit=0,
engine_config_pg_timezone="string",
engine_config_pg_track_activity_query_size=0,
engine_config_pg_track_commit_timestamp="string",
engine_config_pg_track_functions="string",
engine_config_pg_track_io_timing="string",
engine_config_pg_wal_sender_timeout=0,
engine_config_pg_wal_writer_delay=0,
engine_config_pglookout_max_failover_replication_time_lag=0,
engine_config_shared_buffers_percentage=0,
engine_config_work_mem=0,
fork_restore_time="string",
fork_source=0,
suspended=False,
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
updates={
"day_of_week": 0,
"duration": 0,
"frequency": "string",
"hour_of_day": 0,
})
const databasePostgresqlV2Resource = new linode.DatabasePostgresqlV2("databasePostgresqlV2Resource", {
engineId: "string",
label: "string",
region: "string",
type: "string",
allowLists: ["string"],
clusterSize: 0,
engineConfigPgAutovacuumAnalyzeScaleFactor: 0,
engineConfigPgAutovacuumAnalyzeThreshold: 0,
engineConfigPgAutovacuumMaxWorkers: 0,
engineConfigPgAutovacuumNaptime: 0,
engineConfigPgAutovacuumVacuumCostDelay: 0,
engineConfigPgAutovacuumVacuumCostLimit: 0,
engineConfigPgAutovacuumVacuumScaleFactor: 0,
engineConfigPgAutovacuumVacuumThreshold: 0,
engineConfigPgBgwriterDelay: 0,
engineConfigPgBgwriterFlushAfter: 0,
engineConfigPgBgwriterLruMaxpages: 0,
engineConfigPgBgwriterLruMultiplier: 0,
engineConfigPgDeadlockTimeout: 0,
engineConfigPgDefaultToastCompression: "string",
engineConfigPgIdleInTransactionSessionTimeout: 0,
engineConfigPgJit: false,
engineConfigPgMaxFilesPerProcess: 0,
engineConfigPgMaxLocksPerTransaction: 0,
engineConfigPgMaxLogicalReplicationWorkers: 0,
engineConfigPgMaxParallelWorkers: 0,
engineConfigPgMaxParallelWorkersPerGather: 0,
engineConfigPgMaxPredLocksPerTransaction: 0,
engineConfigPgMaxReplicationSlots: 0,
engineConfigPgMaxSlotWalKeepSize: 0,
engineConfigPgMaxStackDepth: 0,
engineConfigPgMaxStandbyArchiveDelay: 0,
engineConfigPgMaxStandbyStreamingDelay: 0,
engineConfigPgMaxWalSenders: 0,
engineConfigPgMaxWorkerProcesses: 0,
engineConfigPgPasswordEncryption: "string",
engineConfigPgPgPartmanBgwInterval: 0,
engineConfigPgPgPartmanBgwRole: "string",
engineConfigPgPgStatMonitorPgsmEnableQueryPlan: false,
engineConfigPgPgStatMonitorPgsmMaxBuckets: 0,
engineConfigPgPgStatStatementsTrack: "string",
engineConfigPgStatMonitorEnable: false,
engineConfigPgTempFileLimit: 0,
engineConfigPgTimezone: "string",
engineConfigPgTrackActivityQuerySize: 0,
engineConfigPgTrackCommitTimestamp: "string",
engineConfigPgTrackFunctions: "string",
engineConfigPgTrackIoTiming: "string",
engineConfigPgWalSenderTimeout: 0,
engineConfigPgWalWriterDelay: 0,
engineConfigPglookoutMaxFailoverReplicationTimeLag: 0,
engineConfigSharedBuffersPercentage: 0,
engineConfigWorkMem: 0,
forkRestoreTime: "string",
forkSource: 0,
suspended: false,
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
updates: {
dayOfWeek: 0,
duration: 0,
frequency: "string",
hourOfDay: 0,
},
});
type: linode:DatabasePostgresqlV2
properties:
allowLists:
- string
clusterSize: 0
engineConfigPgAutovacuumAnalyzeScaleFactor: 0
engineConfigPgAutovacuumAnalyzeThreshold: 0
engineConfigPgAutovacuumMaxWorkers: 0
engineConfigPgAutovacuumNaptime: 0
engineConfigPgAutovacuumVacuumCostDelay: 0
engineConfigPgAutovacuumVacuumCostLimit: 0
engineConfigPgAutovacuumVacuumScaleFactor: 0
engineConfigPgAutovacuumVacuumThreshold: 0
engineConfigPgBgwriterDelay: 0
engineConfigPgBgwriterFlushAfter: 0
engineConfigPgBgwriterLruMaxpages: 0
engineConfigPgBgwriterLruMultiplier: 0
engineConfigPgDeadlockTimeout: 0
engineConfigPgDefaultToastCompression: string
engineConfigPgIdleInTransactionSessionTimeout: 0
engineConfigPgJit: false
engineConfigPgMaxFilesPerProcess: 0
engineConfigPgMaxLocksPerTransaction: 0
engineConfigPgMaxLogicalReplicationWorkers: 0
engineConfigPgMaxParallelWorkers: 0
engineConfigPgMaxParallelWorkersPerGather: 0
engineConfigPgMaxPredLocksPerTransaction: 0
engineConfigPgMaxReplicationSlots: 0
engineConfigPgMaxSlotWalKeepSize: 0
engineConfigPgMaxStackDepth: 0
engineConfigPgMaxStandbyArchiveDelay: 0
engineConfigPgMaxStandbyStreamingDelay: 0
engineConfigPgMaxWalSenders: 0
engineConfigPgMaxWorkerProcesses: 0
engineConfigPgPasswordEncryption: string
engineConfigPgPgPartmanBgwInterval: 0
engineConfigPgPgPartmanBgwRole: string
engineConfigPgPgStatMonitorPgsmEnableQueryPlan: false
engineConfigPgPgStatMonitorPgsmMaxBuckets: 0
engineConfigPgPgStatStatementsTrack: string
engineConfigPgStatMonitorEnable: false
engineConfigPgTempFileLimit: 0
engineConfigPgTimezone: string
engineConfigPgTrackActivityQuerySize: 0
engineConfigPgTrackCommitTimestamp: string
engineConfigPgTrackFunctions: string
engineConfigPgTrackIoTiming: string
engineConfigPgWalSenderTimeout: 0
engineConfigPgWalWriterDelay: 0
engineConfigPglookoutMaxFailoverReplicationTimeLag: 0
engineConfigSharedBuffersPercentage: 0
engineConfigWorkMem: 0
engineId: string
forkRestoreTime: string
forkSource: 0
label: string
region: string
suspended: false
timeouts:
create: string
delete: string
update: string
type: string
updates:
dayOfWeek: 0
duration: 0
frequency: string
hourOfDay: 0
DatabasePostgresqlV2 Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DatabasePostgresqlV2 resource accepts the following input properties:
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - Label string
- A unique, user-defined string referring to the Managed Database.
- Region string
- The region to use for the Managed Database.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Postgresql V2Timeouts - Updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- Engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - Label string
- A unique, user-defined string referring to the Managed Database.
- Region string
- The region to use for the Managed Database.
- Type string
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - Cluster
Size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- Fork
Restore stringTime - The database timestamp from which it was restored.
- Fork
Source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Suspended bool
- Whether this Managed Database should be suspended.
- Timeouts
Database
Postgresql V2Timeouts Args - Updates
Database
Postgresql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - label String
- A unique, user-defined string referring to the Managed Database.
- region String
- The region to use for the Managed Database.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - cluster
Size Integer - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Integer - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Postgresql V2Timeouts - updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id string - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - label string
- A unique, user-defined string referring to the Managed Database.
- region string
- The region to use for the Managed Database.
- type string
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - cluster
Size number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- fork
Restore stringTime - The database timestamp from which it was restored.
- fork
Source number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended boolean
- Whether this Managed Database should be suspended.
- timeouts
Database
Postgresql V2Timeouts - updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- engine_
id str - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - label str
- A unique, user-defined string referring to the Managed Database.
- region str
- The region to use for the Managed Database.
- type str
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - cluster_
size int - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- fork_
restore_ strtime - The database timestamp from which it was restored.
- fork_
source int - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended bool
- Whether this Managed Database should be suspended.
- timeouts
Database
Postgresql V2Timeouts Args - updates
Database
Postgresql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- engine
Id String - The Managed Database engine in engine/version format. (e.g.
postgresql/16
) - label String
- A unique, user-defined string referring to the Managed Database.
- region String
- The region to use for the Managed Database.
- type String
- The Linode Instance type used for the nodes of the Managed Database.
- 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. - cluster
Size Number - The number of Linode Instance nodes deployed to the Managed Database. (default
1
) - 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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).
- fork
Restore StringTime - The database timestamp from which it was restored.
- fork
Source Number - The ID of the database that was forked from.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- suspended Boolean
- Whether this Managed Database should be suspended.
- timeouts Property Map
- updates Property Map
- Configuration settings for automated patch update maintenance for the Managed Database.
Outputs
All input properties are implicitly available as output properties. Additionally, the DatabasePostgresqlV2 resource produces the following output properties:
- Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Members Dictionary<string, string>
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates List<DatabasePostgresql V2Pending Update> - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this 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.
- Updated string
- When this Managed Database was last updated.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- Ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Members map[string]string
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates []DatabasePostgresql V2Pending Update - A set of pending updates.
- Platform string
- The back-end platform for relational databases used by the service.
- Port int
- The access port for this 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.
- Updated string
- When this Managed Database was last updated.
- Version string
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- The provider-assigned unique ID for this managed resource.
- members Map<String,String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<DatabasePostgresql V2Pending Update> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Integer
- The access port for this 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.
- updated String
- When this Managed Database was last updated.
- version String
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert string - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- id string
- The provider-assigned unique ID for this managed resource.
- members {[key: string]: string}
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore stringTime - The oldest time to which a database can be restored.
- pending
Updates DatabasePostgresql V2Pending Update[] - A set of pending updates.
- platform string
- The back-end platform for relational databases used by the service.
- port number
- The access port for this 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.
- updated string
- When this Managed Database was last updated.
- version string
- The Managed Database engine version. (e.g.
13.2
)
- ca_
cert str - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- id str
- The provider-assigned unique ID for this managed resource.
- members Mapping[str, str]
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest_
restore_ strtime - The oldest time to which a database can be restored.
- pending_
updates Sequence[DatabasePostgresql V2Pending Update] - A set of pending updates.
- platform str
- The back-end platform for relational databases used by the service.
- port int
- The access port for this 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.
- updated str
- When this Managed Database was last updated.
- version str
- The Managed Database engine version. (e.g.
13.2
)
- ca
Cert String - The base64-encoded SSL CA certificate for the Managed Database.
- 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
) - host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- id String
- The provider-assigned unique ID for this managed resource.
- members Map<String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<Property Map> - A set of pending updates.
- platform String
- The back-end platform for relational databases used by the service.
- port Number
- The access port for this 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.
- updated String
- When this Managed Database was last updated.
- version String
- The Managed Database engine version. (e.g.
13.2
)
Look up Existing DatabasePostgresqlV2 Resource
Get an existing DatabasePostgresqlV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DatabasePostgresqlV2State, opts?: CustomResourceOptions): DatabasePostgresqlV2
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_lists: Optional[Sequence[str]] = None,
ca_cert: Optional[str] = None,
cluster_size: Optional[int] = None,
created: Optional[str] = None,
encrypted: Optional[bool] = None,
engine: Optional[str] = None,
engine_config_pg_autovacuum_analyze_scale_factor: Optional[float] = None,
engine_config_pg_autovacuum_analyze_threshold: Optional[int] = None,
engine_config_pg_autovacuum_max_workers: Optional[int] = None,
engine_config_pg_autovacuum_naptime: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_cost_delay: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_cost_limit: Optional[int] = None,
engine_config_pg_autovacuum_vacuum_scale_factor: Optional[float] = None,
engine_config_pg_autovacuum_vacuum_threshold: Optional[int] = None,
engine_config_pg_bgwriter_delay: Optional[int] = None,
engine_config_pg_bgwriter_flush_after: Optional[int] = None,
engine_config_pg_bgwriter_lru_maxpages: Optional[int] = None,
engine_config_pg_bgwriter_lru_multiplier: Optional[float] = None,
engine_config_pg_deadlock_timeout: Optional[int] = None,
engine_config_pg_default_toast_compression: Optional[str] = None,
engine_config_pg_idle_in_transaction_session_timeout: Optional[int] = None,
engine_config_pg_jit: Optional[bool] = None,
engine_config_pg_max_files_per_process: Optional[int] = None,
engine_config_pg_max_locks_per_transaction: Optional[int] = None,
engine_config_pg_max_logical_replication_workers: Optional[int] = None,
engine_config_pg_max_parallel_workers: Optional[int] = None,
engine_config_pg_max_parallel_workers_per_gather: Optional[int] = None,
engine_config_pg_max_pred_locks_per_transaction: Optional[int] = None,
engine_config_pg_max_replication_slots: Optional[int] = None,
engine_config_pg_max_slot_wal_keep_size: Optional[int] = None,
engine_config_pg_max_stack_depth: Optional[int] = None,
engine_config_pg_max_standby_archive_delay: Optional[int] = None,
engine_config_pg_max_standby_streaming_delay: Optional[int] = None,
engine_config_pg_max_wal_senders: Optional[int] = None,
engine_config_pg_max_worker_processes: Optional[int] = None,
engine_config_pg_password_encryption: Optional[str] = None,
engine_config_pg_pg_partman_bgw_interval: Optional[int] = None,
engine_config_pg_pg_partman_bgw_role: Optional[str] = None,
engine_config_pg_pg_stat_monitor_pgsm_enable_query_plan: Optional[bool] = None,
engine_config_pg_pg_stat_monitor_pgsm_max_buckets: Optional[int] = None,
engine_config_pg_pg_stat_statements_track: Optional[str] = None,
engine_config_pg_stat_monitor_enable: Optional[bool] = None,
engine_config_pg_temp_file_limit: Optional[int] = None,
engine_config_pg_timezone: Optional[str] = None,
engine_config_pg_track_activity_query_size: Optional[int] = None,
engine_config_pg_track_commit_timestamp: Optional[str] = None,
engine_config_pg_track_functions: Optional[str] = None,
engine_config_pg_track_io_timing: Optional[str] = None,
engine_config_pg_wal_sender_timeout: Optional[int] = None,
engine_config_pg_wal_writer_delay: Optional[int] = None,
engine_config_pglookout_max_failover_replication_time_lag: Optional[int] = None,
engine_config_shared_buffers_percentage: Optional[float] = None,
engine_config_work_mem: Optional[int] = None,
engine_id: Optional[str] = None,
fork_restore_time: Optional[str] = None,
fork_source: Optional[int] = None,
host_primary: Optional[str] = None,
host_secondary: Optional[str] = None,
label: Optional[str] = None,
members: Optional[Mapping[str, str]] = None,
oldest_restore_time: Optional[str] = None,
pending_updates: Optional[Sequence[DatabasePostgresqlV2PendingUpdateArgs]] = None,
platform: Optional[str] = None,
port: Optional[int] = None,
region: Optional[str] = None,
root_password: Optional[str] = None,
root_username: Optional[str] = None,
ssl_connection: Optional[bool] = None,
status: Optional[str] = None,
suspended: Optional[bool] = None,
timeouts: Optional[DatabasePostgresqlV2TimeoutsArgs] = None,
type: Optional[str] = None,
updated: Optional[str] = None,
updates: Optional[DatabasePostgresqlV2UpdatesArgs] = None,
version: Optional[str] = None) -> DatabasePostgresqlV2
func GetDatabasePostgresqlV2(ctx *Context, name string, id IDInput, state *DatabasePostgresqlV2State, opts ...ResourceOption) (*DatabasePostgresqlV2, error)
public static DatabasePostgresqlV2 Get(string name, Input<string> id, DatabasePostgresqlV2State? state, CustomResourceOptions? opts = null)
public static DatabasePostgresqlV2 get(String name, Output<String> id, DatabasePostgresqlV2State state, CustomResourceOptions options)
resources: _: type: linode:DatabasePostgresqlV2 get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members Dictionary<string, string>
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates List<DatabasePostgresql V2Pending Update> - A set of pending updates.
- 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 should be suspended.
- Timeouts
Database
Postgresql V2Timeouts - Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- Host
Primary string - The primary host for the Managed Database.
- Host
Secondary string - The secondary/private host for the managed database.
- Label string
- A unique, user-defined string referring to the Managed Database.
- Members map[string]string
- A mapping between IP addresses and strings designating them as primary or failover.
- Oldest
Restore stringTime - The oldest time to which a database can be restored.
- Pending
Updates []DatabasePostgresql V2Pending Update Args - A set of pending updates.
- 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 should be suspended.
- Timeouts
Database
Postgresql V2Timeouts Args - Type string
- The Linode Instance type used for the nodes of the Managed Database.
- Updated string
- When this Managed Database was last updated.
- Updates
Database
Postgresql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String,String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<DatabasePostgresql V2Pending Update> - A set of pending updates.
- 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 should be suspended.
- timeouts
Database
Postgresql V2Timeouts - type String
- The Linode Instance type used for the nodes of the Managed Database.
- updated String
- When this Managed Database was last updated.
- updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary string - The primary host for the Managed Database.
- host
Secondary string - The secondary/private host for the managed database.
- label string
- A unique, user-defined string referring to the Managed Database.
- members {[key: string]: string}
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore stringTime - The oldest time to which a database can be restored.
- pending
Updates DatabasePostgresql V2Pending Update[] - A set of pending updates.
- 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 should be suspended.
- timeouts
Database
Postgresql V2Timeouts - type string
- The Linode Instance type used for the nodes of the Managed Database.
- updated string
- When this Managed Database was last updated.
- updates
Database
Postgresql V2Updates - Configuration settings for automated patch update maintenance for the Managed Database.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host_
primary str - The primary host for the Managed Database.
- host_
secondary str - The secondary/private host for the managed database.
- label str
- A unique, user-defined string referring to the Managed Database.
- members Mapping[str, str]
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest_
restore_ strtime - The oldest time to which a database can be restored.
- pending_
updates Sequence[DatabasePostgresql V2Pending Update Args] - A set of pending updates.
- 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 should be suspended.
- timeouts
Database
Postgresql V2Timeouts Args - type str
- The Linode Instance type used for the nodes of the Managed Database.
- updated str
- When this Managed Database was last updated.
- updates
Database
Postgresql V2Updates Args - Configuration settings for automated patch update maintenance for the Managed Database.
- 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. (default
md5
) - 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. (default
false
) - 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. (default
60
) - 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.
updates
- (Optional) Configuration settings for automated patch update maintenance for the Managed Database.
- host
Primary String - The primary host for the Managed Database.
- host
Secondary String - The secondary/private host for the managed database.
- label String
- A unique, user-defined string referring to the Managed Database.
- members Map<String>
- A mapping between IP addresses and strings designating them as primary or failover.
- oldest
Restore StringTime - The oldest time to which a database can be restored.
- pending
Updates List<Property Map> - A set of pending updates.
- 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 should be suspended.
- timeouts Property Map
- 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
- Configuration settings for automated patch update maintenance for the Managed Database.
- version String
- The Managed Database engine version. (e.g.
13.2
)
Supporting Types
DatabasePostgresqlV2PendingUpdate, DatabasePostgresqlV2PendingUpdateArgs
- 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
DatabasePostgresqlV2Timeouts, DatabasePostgresqlV2TimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
DatabasePostgresqlV2Updates, DatabasePostgresqlV2UpdatesArgs
- day_
of_ intweek - duration int
- frequency str
- hour_
of_ intday
Import
Linode PostgreSQL Databases can be imported using the id
, e.g.
$ pulumi import linode:index/databasePostgresqlV2:DatabasePostgresqlV2 foobar 1234567
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linode
Terraform Provider.