pulumi-digitalocean 4.27.0a1710332933__py3-none-any.whl → 4.39.0a1736833057__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-digitalocean might be problematic. Click here for more details.
- pulumi_digitalocean/__init__.py +75 -0
- pulumi_digitalocean/_enums.py +131 -52
- pulumi_digitalocean/_inputs.py +5767 -399
- pulumi_digitalocean/_utilities.py +41 -5
- pulumi_digitalocean/app.py +199 -67
- pulumi_digitalocean/cdn.py +20 -23
- pulumi_digitalocean/certificate.py +45 -42
- pulumi_digitalocean/config/__init__.pyi +5 -0
- pulumi_digitalocean/config/vars.py +5 -0
- pulumi_digitalocean/container_registry.py +11 -6
- pulumi_digitalocean/container_registry_docker_credentials.py +53 -12
- pulumi_digitalocean/custom_image.py +13 -8
- pulumi_digitalocean/database_cluster.py +298 -120
- pulumi_digitalocean/database_connection_pool.py +15 -10
- pulumi_digitalocean/database_db.py +19 -12
- pulumi_digitalocean/database_firewall.py +78 -75
- pulumi_digitalocean/database_kafka_config.py +1040 -0
- pulumi_digitalocean/database_kafka_topic.py +66 -61
- pulumi_digitalocean/database_mongodb_config.py +452 -0
- pulumi_digitalocean/database_mysql_config.py +15 -12
- pulumi_digitalocean/database_opensearch_config.py +2069 -0
- pulumi_digitalocean/database_postgresql_config.py +2614 -0
- pulumi_digitalocean/database_redis_config.py +29 -12
- pulumi_digitalocean/database_replica.py +29 -24
- pulumi_digitalocean/database_user.py +90 -75
- pulumi_digitalocean/dns_record.py +13 -8
- pulumi_digitalocean/domain.py +7 -6
- pulumi_digitalocean/droplet.py +89 -31
- pulumi_digitalocean/droplet_autoscale.py +474 -0
- pulumi_digitalocean/droplet_snapshot.py +23 -14
- pulumi_digitalocean/firewall.py +118 -106
- pulumi_digitalocean/floating_ip.py +19 -16
- pulumi_digitalocean/floating_ip_assignment.py +19 -16
- pulumi_digitalocean/get_account.py +18 -9
- pulumi_digitalocean/get_app.py +57 -10
- pulumi_digitalocean/get_certificate.py +19 -9
- pulumi_digitalocean/get_container_registry.py +19 -9
- pulumi_digitalocean/get_database_ca.py +14 -9
- pulumi_digitalocean/get_database_cluster.py +119 -11
- pulumi_digitalocean/get_database_connection_pool.py +25 -9
- pulumi_digitalocean/get_database_replica.py +29 -9
- pulumi_digitalocean/get_database_user.py +21 -9
- pulumi_digitalocean/get_domain.py +16 -9
- pulumi_digitalocean/get_domains.py +34 -27
- pulumi_digitalocean/get_droplet.py +66 -23
- pulumi_digitalocean/get_droplet_autoscale.py +197 -0
- pulumi_digitalocean/get_droplet_snapshot.py +36 -23
- pulumi_digitalocean/get_droplets.py +80 -54
- pulumi_digitalocean/get_firewall.py +29 -13
- pulumi_digitalocean/get_floating_ip.py +16 -9
- pulumi_digitalocean/get_image.py +42 -27
- pulumi_digitalocean/get_images.py +56 -53
- pulumi_digitalocean/get_kubernetes_cluster.py +53 -6
- pulumi_digitalocean/get_kubernetes_versions.py +43 -41
- pulumi_digitalocean/get_load_balancer.py +81 -17
- pulumi_digitalocean/get_project.py +23 -9
- pulumi_digitalocean/get_projects.py +56 -53
- pulumi_digitalocean/get_record.py +23 -9
- pulumi_digitalocean/get_records.py +62 -13
- pulumi_digitalocean/get_region.py +17 -9
- pulumi_digitalocean/get_regions.py +56 -53
- pulumi_digitalocean/get_reserved_ip.py +16 -9
- pulumi_digitalocean/get_reserved_ipv6.py +118 -0
- pulumi_digitalocean/get_sizes.py +24 -13
- pulumi_digitalocean/get_spaces_bucket.py +18 -9
- pulumi_digitalocean/get_spaces_bucket_object.py +41 -14
- pulumi_digitalocean/get_spaces_bucket_objects.py +26 -5
- pulumi_digitalocean/get_spaces_buckets.py +48 -45
- pulumi_digitalocean/get_ssh_key.py +27 -19
- pulumi_digitalocean/get_ssh_keys.py +40 -37
- pulumi_digitalocean/get_tag.py +31 -19
- pulumi_digitalocean/get_tags.py +32 -25
- pulumi_digitalocean/get_volume.py +35 -23
- pulumi_digitalocean/get_volume_snapshot.py +35 -21
- pulumi_digitalocean/get_vpc.py +33 -23
- pulumi_digitalocean/get_vpc_peering.py +244 -0
- pulumi_digitalocean/kubernetes_cluster.py +86 -35
- pulumi_digitalocean/kubernetes_node_pool.py +46 -43
- pulumi_digitalocean/load_balancer.py +320 -157
- pulumi_digitalocean/monitor_alert.py +17 -12
- pulumi_digitalocean/outputs.py +3419 -344
- pulumi_digitalocean/project.py +19 -16
- pulumi_digitalocean/project_resources.py +11 -8
- pulumi_digitalocean/provider.py +5 -0
- pulumi_digitalocean/pulumi-plugin.json +2 -1
- pulumi_digitalocean/reserved_ip.py +19 -16
- pulumi_digitalocean/reserved_ip_assignment.py +19 -16
- pulumi_digitalocean/reserved_ipv6.py +232 -0
- pulumi_digitalocean/reserved_ipv6_assignment.py +171 -0
- pulumi_digitalocean/spaces_bucket.py +70 -79
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +30 -25
- pulumi_digitalocean/spaces_bucket_object.py +11 -12
- pulumi_digitalocean/spaces_bucket_policy.py +21 -16
- pulumi_digitalocean/ssh_key.py +19 -10
- pulumi_digitalocean/tag.py +13 -10
- pulumi_digitalocean/uptime_alert.py +10 -5
- pulumi_digitalocean/uptime_check.py +5 -0
- pulumi_digitalocean/volume.py +47 -50
- pulumi_digitalocean/volume_attachment.py +25 -20
- pulumi_digitalocean/volume_snapshot.py +17 -10
- pulumi_digitalocean/vpc.py +27 -22
- pulumi_digitalocean/vpc_peering.py +378 -0
- {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/METADATA +7 -6
- pulumi_digitalocean-4.39.0a1736833057.dist-info/RECORD +108 -0
- {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/WHEEL +1 -1
- pulumi_digitalocean-4.27.0a1710332933.dist-info/RECORD +0 -97
- {pulumi_digitalocean-4.27.0a1710332933.dist-info → pulumi_digitalocean-4.39.0a1736833057.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2614 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import copy
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
|
+
|
|
19
|
+
__all__ = ['DatabasePostgresqlConfigArgs', 'DatabasePostgresqlConfig']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class DatabasePostgresqlConfigArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
cluster_id: pulumi.Input[str],
|
|
25
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
26
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[int]] = None,
|
|
27
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[int]] = None,
|
|
28
|
+
autovacuum_max_workers: Optional[pulumi.Input[int]] = None,
|
|
29
|
+
autovacuum_naptime: Optional[pulumi.Input[int]] = None,
|
|
30
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[int]] = None,
|
|
31
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[int]] = None,
|
|
32
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
33
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[int]] = None,
|
|
34
|
+
backup_hour: Optional[pulumi.Input[int]] = None,
|
|
35
|
+
backup_minute: Optional[pulumi.Input[int]] = None,
|
|
36
|
+
bgwriter_delay: Optional[pulumi.Input[int]] = None,
|
|
37
|
+
bgwriter_flush_after: Optional[pulumi.Input[int]] = None,
|
|
38
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[int]] = None,
|
|
39
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[float]] = None,
|
|
40
|
+
deadlock_timeout: Optional[pulumi.Input[int]] = None,
|
|
41
|
+
default_toast_compression: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[int]] = None,
|
|
43
|
+
jit: Optional[pulumi.Input[bool]] = None,
|
|
44
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[int]] = None,
|
|
45
|
+
log_error_verbosity: Optional[pulumi.Input[str]] = None,
|
|
46
|
+
log_line_prefix: Optional[pulumi.Input[str]] = None,
|
|
47
|
+
log_min_duration_statement: Optional[pulumi.Input[int]] = None,
|
|
48
|
+
max_files_per_process: Optional[pulumi.Input[int]] = None,
|
|
49
|
+
max_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
50
|
+
max_logical_replication_workers: Optional[pulumi.Input[int]] = None,
|
|
51
|
+
max_parallel_workers: Optional[pulumi.Input[int]] = None,
|
|
52
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[int]] = None,
|
|
53
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
54
|
+
max_prepared_transactions: Optional[pulumi.Input[int]] = None,
|
|
55
|
+
max_replication_slots: Optional[pulumi.Input[int]] = None,
|
|
56
|
+
max_stack_depth: Optional[pulumi.Input[int]] = None,
|
|
57
|
+
max_standby_archive_delay: Optional[pulumi.Input[int]] = None,
|
|
58
|
+
max_standby_streaming_delay: Optional[pulumi.Input[int]] = None,
|
|
59
|
+
max_wal_senders: Optional[pulumi.Input[int]] = None,
|
|
60
|
+
max_worker_processes: Optional[pulumi.Input[int]] = None,
|
|
61
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[int]] = None,
|
|
62
|
+
pg_partman_bgw_role: Optional[pulumi.Input[str]] = None,
|
|
63
|
+
pg_stat_statements_track: Optional[pulumi.Input[str]] = None,
|
|
64
|
+
pgbouncers: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]] = None,
|
|
65
|
+
shared_buffers_percentage: Optional[pulumi.Input[float]] = None,
|
|
66
|
+
temp_file_limit: Optional[pulumi.Input[int]] = None,
|
|
67
|
+
timescaledbs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]] = None,
|
|
68
|
+
timezone: Optional[pulumi.Input[str]] = None,
|
|
69
|
+
track_activity_query_size: Optional[pulumi.Input[int]] = None,
|
|
70
|
+
track_commit_timestamp: Optional[pulumi.Input[str]] = None,
|
|
71
|
+
track_functions: Optional[pulumi.Input[str]] = None,
|
|
72
|
+
track_io_timing: Optional[pulumi.Input[str]] = None,
|
|
73
|
+
wal_sender_timeout: Optional[pulumi.Input[int]] = None,
|
|
74
|
+
wal_writer_delay: Optional[pulumi.Input[int]] = None,
|
|
75
|
+
work_mem: Optional[pulumi.Input[int]] = None):
|
|
76
|
+
"""
|
|
77
|
+
The set of arguments for constructing a DatabasePostgresqlConfig resource.
|
|
78
|
+
:param pulumi.Input[str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
79
|
+
:param pulumi.Input[float] autovacuum_analyze_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
80
|
+
:param pulumi.Input[int] 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.
|
|
81
|
+
:param pulumi.Input[int] autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
82
|
+
:param pulumi.Input[int] 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.
|
|
83
|
+
:param pulumi.Input[int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
84
|
+
:param pulumi.Input[int] autovacuum_vacuum_cost_delay: Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
85
|
+
:param pulumi.Input[int] 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.
|
|
86
|
+
:param pulumi.Input[float] autovacuum_vacuum_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
87
|
+
:param pulumi.Input[int] 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.
|
|
88
|
+
:param pulumi.Input[int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
89
|
+
:param pulumi.Input[int] backup_minute: The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
90
|
+
:param pulumi.Input[int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
91
|
+
:param pulumi.Input[int] bgwriter_flush_after: The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
92
|
+
:param pulumi.Input[int] bgwriter_lru_maxpages: The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
93
|
+
:param pulumi.Input[float] 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.
|
|
94
|
+
:param pulumi.Input[int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
95
|
+
:param pulumi.Input[str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
96
|
+
:param pulumi.Input[int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
97
|
+
:param pulumi.Input[bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
98
|
+
:param pulumi.Input[int] log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
99
|
+
:param pulumi.Input[str] log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
100
|
+
:param pulumi.Input[str] log_line_prefix: Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
101
|
+
:param pulumi.Input[int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
102
|
+
:param pulumi.Input[int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
103
|
+
:param pulumi.Input[int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
104
|
+
:param pulumi.Input[int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
105
|
+
:param pulumi.Input[int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
106
|
+
:param pulumi.Input[int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
107
|
+
:param pulumi.Input[int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
108
|
+
:param pulumi.Input[int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
109
|
+
:param pulumi.Input[int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
110
|
+
:param pulumi.Input[int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
111
|
+
:param pulumi.Input[int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
112
|
+
:param pulumi.Input[int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
113
|
+
:param pulumi.Input[int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
114
|
+
:param pulumi.Input[int] max_worker_processes: Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
115
|
+
:param pulumi.Input[int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
116
|
+
:param pulumi.Input[str] pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
117
|
+
:param pulumi.Input[str] 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. Supported values are: `all`, `top`, `none`.
|
|
118
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]] pgbouncers: PGBouncer connection pooling settings
|
|
119
|
+
:param pulumi.Input[float] shared_buffers_percentage: 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.
|
|
120
|
+
:param pulumi.Input[int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
121
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]] timescaledbs: TimescaleDB extension configuration values
|
|
122
|
+
:param pulumi.Input[str] timezone: PostgreSQL service timezone
|
|
123
|
+
:param pulumi.Input[int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
124
|
+
:param pulumi.Input[str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
125
|
+
:param pulumi.Input[str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
126
|
+
:param pulumi.Input[str] 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. The default value is top. Supported values are: `off`, `on`.
|
|
127
|
+
:param pulumi.Input[int] 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. Must be either 0 or between 5000 and 10800000.
|
|
128
|
+
:param pulumi.Input[int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
129
|
+
:param pulumi.Input[int] work_mem: The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
130
|
+
"""
|
|
131
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
132
|
+
if autovacuum_analyze_scale_factor is not None:
|
|
133
|
+
pulumi.set(__self__, "autovacuum_analyze_scale_factor", autovacuum_analyze_scale_factor)
|
|
134
|
+
if autovacuum_analyze_threshold is not None:
|
|
135
|
+
pulumi.set(__self__, "autovacuum_analyze_threshold", autovacuum_analyze_threshold)
|
|
136
|
+
if autovacuum_freeze_max_age is not None:
|
|
137
|
+
pulumi.set(__self__, "autovacuum_freeze_max_age", autovacuum_freeze_max_age)
|
|
138
|
+
if autovacuum_max_workers is not None:
|
|
139
|
+
pulumi.set(__self__, "autovacuum_max_workers", autovacuum_max_workers)
|
|
140
|
+
if autovacuum_naptime is not None:
|
|
141
|
+
pulumi.set(__self__, "autovacuum_naptime", autovacuum_naptime)
|
|
142
|
+
if autovacuum_vacuum_cost_delay is not None:
|
|
143
|
+
pulumi.set(__self__, "autovacuum_vacuum_cost_delay", autovacuum_vacuum_cost_delay)
|
|
144
|
+
if autovacuum_vacuum_cost_limit is not None:
|
|
145
|
+
pulumi.set(__self__, "autovacuum_vacuum_cost_limit", autovacuum_vacuum_cost_limit)
|
|
146
|
+
if autovacuum_vacuum_scale_factor is not None:
|
|
147
|
+
pulumi.set(__self__, "autovacuum_vacuum_scale_factor", autovacuum_vacuum_scale_factor)
|
|
148
|
+
if autovacuum_vacuum_threshold is not None:
|
|
149
|
+
pulumi.set(__self__, "autovacuum_vacuum_threshold", autovacuum_vacuum_threshold)
|
|
150
|
+
if backup_hour is not None:
|
|
151
|
+
pulumi.set(__self__, "backup_hour", backup_hour)
|
|
152
|
+
if backup_minute is not None:
|
|
153
|
+
pulumi.set(__self__, "backup_minute", backup_minute)
|
|
154
|
+
if bgwriter_delay is not None:
|
|
155
|
+
pulumi.set(__self__, "bgwriter_delay", bgwriter_delay)
|
|
156
|
+
if bgwriter_flush_after is not None:
|
|
157
|
+
pulumi.set(__self__, "bgwriter_flush_after", bgwriter_flush_after)
|
|
158
|
+
if bgwriter_lru_maxpages is not None:
|
|
159
|
+
pulumi.set(__self__, "bgwriter_lru_maxpages", bgwriter_lru_maxpages)
|
|
160
|
+
if bgwriter_lru_multiplier is not None:
|
|
161
|
+
pulumi.set(__self__, "bgwriter_lru_multiplier", bgwriter_lru_multiplier)
|
|
162
|
+
if deadlock_timeout is not None:
|
|
163
|
+
pulumi.set(__self__, "deadlock_timeout", deadlock_timeout)
|
|
164
|
+
if default_toast_compression is not None:
|
|
165
|
+
pulumi.set(__self__, "default_toast_compression", default_toast_compression)
|
|
166
|
+
if idle_in_transaction_session_timeout is not None:
|
|
167
|
+
pulumi.set(__self__, "idle_in_transaction_session_timeout", idle_in_transaction_session_timeout)
|
|
168
|
+
if jit is not None:
|
|
169
|
+
pulumi.set(__self__, "jit", jit)
|
|
170
|
+
if log_autovacuum_min_duration is not None:
|
|
171
|
+
pulumi.set(__self__, "log_autovacuum_min_duration", log_autovacuum_min_duration)
|
|
172
|
+
if log_error_verbosity is not None:
|
|
173
|
+
pulumi.set(__self__, "log_error_verbosity", log_error_verbosity)
|
|
174
|
+
if log_line_prefix is not None:
|
|
175
|
+
pulumi.set(__self__, "log_line_prefix", log_line_prefix)
|
|
176
|
+
if log_min_duration_statement is not None:
|
|
177
|
+
pulumi.set(__self__, "log_min_duration_statement", log_min_duration_statement)
|
|
178
|
+
if max_files_per_process is not None:
|
|
179
|
+
pulumi.set(__self__, "max_files_per_process", max_files_per_process)
|
|
180
|
+
if max_locks_per_transaction is not None:
|
|
181
|
+
pulumi.set(__self__, "max_locks_per_transaction", max_locks_per_transaction)
|
|
182
|
+
if max_logical_replication_workers is not None:
|
|
183
|
+
pulumi.set(__self__, "max_logical_replication_workers", max_logical_replication_workers)
|
|
184
|
+
if max_parallel_workers is not None:
|
|
185
|
+
pulumi.set(__self__, "max_parallel_workers", max_parallel_workers)
|
|
186
|
+
if max_parallel_workers_per_gather is not None:
|
|
187
|
+
pulumi.set(__self__, "max_parallel_workers_per_gather", max_parallel_workers_per_gather)
|
|
188
|
+
if max_pred_locks_per_transaction is not None:
|
|
189
|
+
pulumi.set(__self__, "max_pred_locks_per_transaction", max_pred_locks_per_transaction)
|
|
190
|
+
if max_prepared_transactions is not None:
|
|
191
|
+
pulumi.set(__self__, "max_prepared_transactions", max_prepared_transactions)
|
|
192
|
+
if max_replication_slots is not None:
|
|
193
|
+
pulumi.set(__self__, "max_replication_slots", max_replication_slots)
|
|
194
|
+
if max_stack_depth is not None:
|
|
195
|
+
pulumi.set(__self__, "max_stack_depth", max_stack_depth)
|
|
196
|
+
if max_standby_archive_delay is not None:
|
|
197
|
+
pulumi.set(__self__, "max_standby_archive_delay", max_standby_archive_delay)
|
|
198
|
+
if max_standby_streaming_delay is not None:
|
|
199
|
+
pulumi.set(__self__, "max_standby_streaming_delay", max_standby_streaming_delay)
|
|
200
|
+
if max_wal_senders is not None:
|
|
201
|
+
pulumi.set(__self__, "max_wal_senders", max_wal_senders)
|
|
202
|
+
if max_worker_processes is not None:
|
|
203
|
+
pulumi.set(__self__, "max_worker_processes", max_worker_processes)
|
|
204
|
+
if pg_partman_bgw_interval is not None:
|
|
205
|
+
pulumi.set(__self__, "pg_partman_bgw_interval", pg_partman_bgw_interval)
|
|
206
|
+
if pg_partman_bgw_role is not None:
|
|
207
|
+
pulumi.set(__self__, "pg_partman_bgw_role", pg_partman_bgw_role)
|
|
208
|
+
if pg_stat_statements_track is not None:
|
|
209
|
+
pulumi.set(__self__, "pg_stat_statements_track", pg_stat_statements_track)
|
|
210
|
+
if pgbouncers is not None:
|
|
211
|
+
pulumi.set(__self__, "pgbouncers", pgbouncers)
|
|
212
|
+
if shared_buffers_percentage is not None:
|
|
213
|
+
pulumi.set(__self__, "shared_buffers_percentage", shared_buffers_percentage)
|
|
214
|
+
if temp_file_limit is not None:
|
|
215
|
+
pulumi.set(__self__, "temp_file_limit", temp_file_limit)
|
|
216
|
+
if timescaledbs is not None:
|
|
217
|
+
pulumi.set(__self__, "timescaledbs", timescaledbs)
|
|
218
|
+
if timezone is not None:
|
|
219
|
+
pulumi.set(__self__, "timezone", timezone)
|
|
220
|
+
if track_activity_query_size is not None:
|
|
221
|
+
pulumi.set(__self__, "track_activity_query_size", track_activity_query_size)
|
|
222
|
+
if track_commit_timestamp is not None:
|
|
223
|
+
pulumi.set(__self__, "track_commit_timestamp", track_commit_timestamp)
|
|
224
|
+
if track_functions is not None:
|
|
225
|
+
pulumi.set(__self__, "track_functions", track_functions)
|
|
226
|
+
if track_io_timing is not None:
|
|
227
|
+
pulumi.set(__self__, "track_io_timing", track_io_timing)
|
|
228
|
+
if wal_sender_timeout is not None:
|
|
229
|
+
pulumi.set(__self__, "wal_sender_timeout", wal_sender_timeout)
|
|
230
|
+
if wal_writer_delay is not None:
|
|
231
|
+
pulumi.set(__self__, "wal_writer_delay", wal_writer_delay)
|
|
232
|
+
if work_mem is not None:
|
|
233
|
+
pulumi.set(__self__, "work_mem", work_mem)
|
|
234
|
+
|
|
235
|
+
@property
|
|
236
|
+
@pulumi.getter(name="clusterId")
|
|
237
|
+
def cluster_id(self) -> pulumi.Input[str]:
|
|
238
|
+
"""
|
|
239
|
+
The ID of the target PostgreSQL cluster.
|
|
240
|
+
"""
|
|
241
|
+
return pulumi.get(self, "cluster_id")
|
|
242
|
+
|
|
243
|
+
@cluster_id.setter
|
|
244
|
+
def cluster_id(self, value: pulumi.Input[str]):
|
|
245
|
+
pulumi.set(self, "cluster_id", value)
|
|
246
|
+
|
|
247
|
+
@property
|
|
248
|
+
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
249
|
+
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
250
|
+
"""
|
|
251
|
+
Specifies a fraction, in a decimal value, 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).
|
|
252
|
+
"""
|
|
253
|
+
return pulumi.get(self, "autovacuum_analyze_scale_factor")
|
|
254
|
+
|
|
255
|
+
@autovacuum_analyze_scale_factor.setter
|
|
256
|
+
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
257
|
+
pulumi.set(self, "autovacuum_analyze_scale_factor", value)
|
|
258
|
+
|
|
259
|
+
@property
|
|
260
|
+
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
261
|
+
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
262
|
+
"""
|
|
263
|
+
Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
|
|
264
|
+
"""
|
|
265
|
+
return pulumi.get(self, "autovacuum_analyze_threshold")
|
|
266
|
+
|
|
267
|
+
@autovacuum_analyze_threshold.setter
|
|
268
|
+
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
269
|
+
pulumi.set(self, "autovacuum_analyze_threshold", value)
|
|
270
|
+
|
|
271
|
+
@property
|
|
272
|
+
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
273
|
+
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[int]]:
|
|
274
|
+
"""
|
|
275
|
+
Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
276
|
+
"""
|
|
277
|
+
return pulumi.get(self, "autovacuum_freeze_max_age")
|
|
278
|
+
|
|
279
|
+
@autovacuum_freeze_max_age.setter
|
|
280
|
+
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[int]]):
|
|
281
|
+
pulumi.set(self, "autovacuum_freeze_max_age", value)
|
|
282
|
+
|
|
283
|
+
@property
|
|
284
|
+
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
285
|
+
def autovacuum_max_workers(self) -> Optional[pulumi.Input[int]]:
|
|
286
|
+
"""
|
|
287
|
+
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.
|
|
288
|
+
"""
|
|
289
|
+
return pulumi.get(self, "autovacuum_max_workers")
|
|
290
|
+
|
|
291
|
+
@autovacuum_max_workers.setter
|
|
292
|
+
def autovacuum_max_workers(self, value: Optional[pulumi.Input[int]]):
|
|
293
|
+
pulumi.set(self, "autovacuum_max_workers", value)
|
|
294
|
+
|
|
295
|
+
@property
|
|
296
|
+
@pulumi.getter(name="autovacuumNaptime")
|
|
297
|
+
def autovacuum_naptime(self) -> Optional[pulumi.Input[int]]:
|
|
298
|
+
"""
|
|
299
|
+
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
300
|
+
"""
|
|
301
|
+
return pulumi.get(self, "autovacuum_naptime")
|
|
302
|
+
|
|
303
|
+
@autovacuum_naptime.setter
|
|
304
|
+
def autovacuum_naptime(self, value: Optional[pulumi.Input[int]]):
|
|
305
|
+
pulumi.set(self, "autovacuum_naptime", value)
|
|
306
|
+
|
|
307
|
+
@property
|
|
308
|
+
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
309
|
+
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[int]]:
|
|
310
|
+
"""
|
|
311
|
+
Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
312
|
+
"""
|
|
313
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_delay")
|
|
314
|
+
|
|
315
|
+
@autovacuum_vacuum_cost_delay.setter
|
|
316
|
+
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[int]]):
|
|
317
|
+
pulumi.set(self, "autovacuum_vacuum_cost_delay", value)
|
|
318
|
+
|
|
319
|
+
@property
|
|
320
|
+
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
321
|
+
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[int]]:
|
|
322
|
+
"""
|
|
323
|
+
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.
|
|
324
|
+
"""
|
|
325
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_limit")
|
|
326
|
+
|
|
327
|
+
@autovacuum_vacuum_cost_limit.setter
|
|
328
|
+
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[int]]):
|
|
329
|
+
pulumi.set(self, "autovacuum_vacuum_cost_limit", value)
|
|
330
|
+
|
|
331
|
+
@property
|
|
332
|
+
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
333
|
+
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
334
|
+
"""
|
|
335
|
+
Specifies a fraction, in a decimal value, 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).
|
|
336
|
+
"""
|
|
337
|
+
return pulumi.get(self, "autovacuum_vacuum_scale_factor")
|
|
338
|
+
|
|
339
|
+
@autovacuum_vacuum_scale_factor.setter
|
|
340
|
+
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
341
|
+
pulumi.set(self, "autovacuum_vacuum_scale_factor", value)
|
|
342
|
+
|
|
343
|
+
@property
|
|
344
|
+
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
345
|
+
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
346
|
+
"""
|
|
347
|
+
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
|
|
348
|
+
"""
|
|
349
|
+
return pulumi.get(self, "autovacuum_vacuum_threshold")
|
|
350
|
+
|
|
351
|
+
@autovacuum_vacuum_threshold.setter
|
|
352
|
+
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
353
|
+
pulumi.set(self, "autovacuum_vacuum_threshold", value)
|
|
354
|
+
|
|
355
|
+
@property
|
|
356
|
+
@pulumi.getter(name="backupHour")
|
|
357
|
+
def backup_hour(self) -> Optional[pulumi.Input[int]]:
|
|
358
|
+
"""
|
|
359
|
+
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
360
|
+
"""
|
|
361
|
+
return pulumi.get(self, "backup_hour")
|
|
362
|
+
|
|
363
|
+
@backup_hour.setter
|
|
364
|
+
def backup_hour(self, value: Optional[pulumi.Input[int]]):
|
|
365
|
+
pulumi.set(self, "backup_hour", value)
|
|
366
|
+
|
|
367
|
+
@property
|
|
368
|
+
@pulumi.getter(name="backupMinute")
|
|
369
|
+
def backup_minute(self) -> Optional[pulumi.Input[int]]:
|
|
370
|
+
"""
|
|
371
|
+
The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
372
|
+
"""
|
|
373
|
+
return pulumi.get(self, "backup_minute")
|
|
374
|
+
|
|
375
|
+
@backup_minute.setter
|
|
376
|
+
def backup_minute(self, value: Optional[pulumi.Input[int]]):
|
|
377
|
+
pulumi.set(self, "backup_minute", value)
|
|
378
|
+
|
|
379
|
+
@property
|
|
380
|
+
@pulumi.getter(name="bgwriterDelay")
|
|
381
|
+
def bgwriter_delay(self) -> Optional[pulumi.Input[int]]:
|
|
382
|
+
"""
|
|
383
|
+
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
384
|
+
"""
|
|
385
|
+
return pulumi.get(self, "bgwriter_delay")
|
|
386
|
+
|
|
387
|
+
@bgwriter_delay.setter
|
|
388
|
+
def bgwriter_delay(self, value: Optional[pulumi.Input[int]]):
|
|
389
|
+
pulumi.set(self, "bgwriter_delay", value)
|
|
390
|
+
|
|
391
|
+
@property
|
|
392
|
+
@pulumi.getter(name="bgwriterFlushAfter")
|
|
393
|
+
def bgwriter_flush_after(self) -> Optional[pulumi.Input[int]]:
|
|
394
|
+
"""
|
|
395
|
+
The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
396
|
+
"""
|
|
397
|
+
return pulumi.get(self, "bgwriter_flush_after")
|
|
398
|
+
|
|
399
|
+
@bgwriter_flush_after.setter
|
|
400
|
+
def bgwriter_flush_after(self, value: Optional[pulumi.Input[int]]):
|
|
401
|
+
pulumi.set(self, "bgwriter_flush_after", value)
|
|
402
|
+
|
|
403
|
+
@property
|
|
404
|
+
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
405
|
+
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[int]]:
|
|
406
|
+
"""
|
|
407
|
+
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
408
|
+
"""
|
|
409
|
+
return pulumi.get(self, "bgwriter_lru_maxpages")
|
|
410
|
+
|
|
411
|
+
@bgwriter_lru_maxpages.setter
|
|
412
|
+
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[int]]):
|
|
413
|
+
pulumi.set(self, "bgwriter_lru_maxpages", value)
|
|
414
|
+
|
|
415
|
+
@property
|
|
416
|
+
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
417
|
+
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[float]]:
|
|
418
|
+
"""
|
|
419
|
+
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.
|
|
420
|
+
"""
|
|
421
|
+
return pulumi.get(self, "bgwriter_lru_multiplier")
|
|
422
|
+
|
|
423
|
+
@bgwriter_lru_multiplier.setter
|
|
424
|
+
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[float]]):
|
|
425
|
+
pulumi.set(self, "bgwriter_lru_multiplier", value)
|
|
426
|
+
|
|
427
|
+
@property
|
|
428
|
+
@pulumi.getter(name="deadlockTimeout")
|
|
429
|
+
def deadlock_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
430
|
+
"""
|
|
431
|
+
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
432
|
+
"""
|
|
433
|
+
return pulumi.get(self, "deadlock_timeout")
|
|
434
|
+
|
|
435
|
+
@deadlock_timeout.setter
|
|
436
|
+
def deadlock_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
437
|
+
pulumi.set(self, "deadlock_timeout", value)
|
|
438
|
+
|
|
439
|
+
@property
|
|
440
|
+
@pulumi.getter(name="defaultToastCompression")
|
|
441
|
+
def default_toast_compression(self) -> Optional[pulumi.Input[str]]:
|
|
442
|
+
"""
|
|
443
|
+
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
444
|
+
"""
|
|
445
|
+
return pulumi.get(self, "default_toast_compression")
|
|
446
|
+
|
|
447
|
+
@default_toast_compression.setter
|
|
448
|
+
def default_toast_compression(self, value: Optional[pulumi.Input[str]]):
|
|
449
|
+
pulumi.set(self, "default_toast_compression", value)
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
453
|
+
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
454
|
+
"""
|
|
455
|
+
Time out sessions with open transactions after this number of milliseconds
|
|
456
|
+
"""
|
|
457
|
+
return pulumi.get(self, "idle_in_transaction_session_timeout")
|
|
458
|
+
|
|
459
|
+
@idle_in_transaction_session_timeout.setter
|
|
460
|
+
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
461
|
+
pulumi.set(self, "idle_in_transaction_session_timeout", value)
|
|
462
|
+
|
|
463
|
+
@property
|
|
464
|
+
@pulumi.getter
|
|
465
|
+
def jit(self) -> Optional[pulumi.Input[bool]]:
|
|
466
|
+
"""
|
|
467
|
+
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
468
|
+
"""
|
|
469
|
+
return pulumi.get(self, "jit")
|
|
470
|
+
|
|
471
|
+
@jit.setter
|
|
472
|
+
def jit(self, value: Optional[pulumi.Input[bool]]):
|
|
473
|
+
pulumi.set(self, "jit", value)
|
|
474
|
+
|
|
475
|
+
@property
|
|
476
|
+
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
477
|
+
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[int]]:
|
|
478
|
+
"""
|
|
479
|
+
Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "log_autovacuum_min_duration")
|
|
482
|
+
|
|
483
|
+
@log_autovacuum_min_duration.setter
|
|
484
|
+
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[int]]):
|
|
485
|
+
pulumi.set(self, "log_autovacuum_min_duration", value)
|
|
486
|
+
|
|
487
|
+
@property
|
|
488
|
+
@pulumi.getter(name="logErrorVerbosity")
|
|
489
|
+
def log_error_verbosity(self) -> Optional[pulumi.Input[str]]:
|
|
490
|
+
"""
|
|
491
|
+
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
492
|
+
"""
|
|
493
|
+
return pulumi.get(self, "log_error_verbosity")
|
|
494
|
+
|
|
495
|
+
@log_error_verbosity.setter
|
|
496
|
+
def log_error_verbosity(self, value: Optional[pulumi.Input[str]]):
|
|
497
|
+
pulumi.set(self, "log_error_verbosity", value)
|
|
498
|
+
|
|
499
|
+
@property
|
|
500
|
+
@pulumi.getter(name="logLinePrefix")
|
|
501
|
+
def log_line_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
502
|
+
"""
|
|
503
|
+
Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
504
|
+
"""
|
|
505
|
+
return pulumi.get(self, "log_line_prefix")
|
|
506
|
+
|
|
507
|
+
@log_line_prefix.setter
|
|
508
|
+
def log_line_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
509
|
+
pulumi.set(self, "log_line_prefix", value)
|
|
510
|
+
|
|
511
|
+
@property
|
|
512
|
+
@pulumi.getter(name="logMinDurationStatement")
|
|
513
|
+
def log_min_duration_statement(self) -> Optional[pulumi.Input[int]]:
|
|
514
|
+
"""
|
|
515
|
+
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
516
|
+
"""
|
|
517
|
+
return pulumi.get(self, "log_min_duration_statement")
|
|
518
|
+
|
|
519
|
+
@log_min_duration_statement.setter
|
|
520
|
+
def log_min_duration_statement(self, value: Optional[pulumi.Input[int]]):
|
|
521
|
+
pulumi.set(self, "log_min_duration_statement", value)
|
|
522
|
+
|
|
523
|
+
@property
|
|
524
|
+
@pulumi.getter(name="maxFilesPerProcess")
|
|
525
|
+
def max_files_per_process(self) -> Optional[pulumi.Input[int]]:
|
|
526
|
+
"""
|
|
527
|
+
PostgreSQL maximum number of files that can be open per process.
|
|
528
|
+
"""
|
|
529
|
+
return pulumi.get(self, "max_files_per_process")
|
|
530
|
+
|
|
531
|
+
@max_files_per_process.setter
|
|
532
|
+
def max_files_per_process(self, value: Optional[pulumi.Input[int]]):
|
|
533
|
+
pulumi.set(self, "max_files_per_process", value)
|
|
534
|
+
|
|
535
|
+
@property
|
|
536
|
+
@pulumi.getter(name="maxLocksPerTransaction")
|
|
537
|
+
def max_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
538
|
+
"""
|
|
539
|
+
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
540
|
+
"""
|
|
541
|
+
return pulumi.get(self, "max_locks_per_transaction")
|
|
542
|
+
|
|
543
|
+
@max_locks_per_transaction.setter
|
|
544
|
+
def max_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
545
|
+
pulumi.set(self, "max_locks_per_transaction", value)
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
549
|
+
def max_logical_replication_workers(self) -> Optional[pulumi.Input[int]]:
|
|
550
|
+
"""
|
|
551
|
+
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
552
|
+
"""
|
|
553
|
+
return pulumi.get(self, "max_logical_replication_workers")
|
|
554
|
+
|
|
555
|
+
@max_logical_replication_workers.setter
|
|
556
|
+
def max_logical_replication_workers(self, value: Optional[pulumi.Input[int]]):
|
|
557
|
+
pulumi.set(self, "max_logical_replication_workers", value)
|
|
558
|
+
|
|
559
|
+
@property
|
|
560
|
+
@pulumi.getter(name="maxParallelWorkers")
|
|
561
|
+
def max_parallel_workers(self) -> Optional[pulumi.Input[int]]:
|
|
562
|
+
"""
|
|
563
|
+
Sets the maximum number of workers that the system can support for parallel queries.
|
|
564
|
+
"""
|
|
565
|
+
return pulumi.get(self, "max_parallel_workers")
|
|
566
|
+
|
|
567
|
+
@max_parallel_workers.setter
|
|
568
|
+
def max_parallel_workers(self, value: Optional[pulumi.Input[int]]):
|
|
569
|
+
pulumi.set(self, "max_parallel_workers", value)
|
|
570
|
+
|
|
571
|
+
@property
|
|
572
|
+
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
573
|
+
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[int]]:
|
|
574
|
+
"""
|
|
575
|
+
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
576
|
+
"""
|
|
577
|
+
return pulumi.get(self, "max_parallel_workers_per_gather")
|
|
578
|
+
|
|
579
|
+
@max_parallel_workers_per_gather.setter
|
|
580
|
+
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[int]]):
|
|
581
|
+
pulumi.set(self, "max_parallel_workers_per_gather", value)
|
|
582
|
+
|
|
583
|
+
@property
|
|
584
|
+
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
585
|
+
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
586
|
+
"""
|
|
587
|
+
PostgreSQL maximum predicate locks per transaction.
|
|
588
|
+
"""
|
|
589
|
+
return pulumi.get(self, "max_pred_locks_per_transaction")
|
|
590
|
+
|
|
591
|
+
@max_pred_locks_per_transaction.setter
|
|
592
|
+
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
593
|
+
pulumi.set(self, "max_pred_locks_per_transaction", value)
|
|
594
|
+
|
|
595
|
+
@property
|
|
596
|
+
@pulumi.getter(name="maxPreparedTransactions")
|
|
597
|
+
def max_prepared_transactions(self) -> Optional[pulumi.Input[int]]:
|
|
598
|
+
"""
|
|
599
|
+
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
600
|
+
"""
|
|
601
|
+
return pulumi.get(self, "max_prepared_transactions")
|
|
602
|
+
|
|
603
|
+
@max_prepared_transactions.setter
|
|
604
|
+
def max_prepared_transactions(self, value: Optional[pulumi.Input[int]]):
|
|
605
|
+
pulumi.set(self, "max_prepared_transactions", value)
|
|
606
|
+
|
|
607
|
+
@property
|
|
608
|
+
@pulumi.getter(name="maxReplicationSlots")
|
|
609
|
+
def max_replication_slots(self) -> Optional[pulumi.Input[int]]:
|
|
610
|
+
"""
|
|
611
|
+
PostgreSQL maximum replication slots.
|
|
612
|
+
"""
|
|
613
|
+
return pulumi.get(self, "max_replication_slots")
|
|
614
|
+
|
|
615
|
+
@max_replication_slots.setter
|
|
616
|
+
def max_replication_slots(self, value: Optional[pulumi.Input[int]]):
|
|
617
|
+
pulumi.set(self, "max_replication_slots", value)
|
|
618
|
+
|
|
619
|
+
@property
|
|
620
|
+
@pulumi.getter(name="maxStackDepth")
|
|
621
|
+
def max_stack_depth(self) -> Optional[pulumi.Input[int]]:
|
|
622
|
+
"""
|
|
623
|
+
Maximum depth of the stack in bytes.
|
|
624
|
+
"""
|
|
625
|
+
return pulumi.get(self, "max_stack_depth")
|
|
626
|
+
|
|
627
|
+
@max_stack_depth.setter
|
|
628
|
+
def max_stack_depth(self, value: Optional[pulumi.Input[int]]):
|
|
629
|
+
pulumi.set(self, "max_stack_depth", value)
|
|
630
|
+
|
|
631
|
+
@property
|
|
632
|
+
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
633
|
+
def max_standby_archive_delay(self) -> Optional[pulumi.Input[int]]:
|
|
634
|
+
"""
|
|
635
|
+
Max standby archive delay in milliseconds.
|
|
636
|
+
"""
|
|
637
|
+
return pulumi.get(self, "max_standby_archive_delay")
|
|
638
|
+
|
|
639
|
+
@max_standby_archive_delay.setter
|
|
640
|
+
def max_standby_archive_delay(self, value: Optional[pulumi.Input[int]]):
|
|
641
|
+
pulumi.set(self, "max_standby_archive_delay", value)
|
|
642
|
+
|
|
643
|
+
@property
|
|
644
|
+
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
645
|
+
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[int]]:
|
|
646
|
+
"""
|
|
647
|
+
Max standby streaming delay in milliseconds.
|
|
648
|
+
"""
|
|
649
|
+
return pulumi.get(self, "max_standby_streaming_delay")
|
|
650
|
+
|
|
651
|
+
@max_standby_streaming_delay.setter
|
|
652
|
+
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[int]]):
|
|
653
|
+
pulumi.set(self, "max_standby_streaming_delay", value)
|
|
654
|
+
|
|
655
|
+
@property
|
|
656
|
+
@pulumi.getter(name="maxWalSenders")
|
|
657
|
+
def max_wal_senders(self) -> Optional[pulumi.Input[int]]:
|
|
658
|
+
"""
|
|
659
|
+
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
660
|
+
"""
|
|
661
|
+
return pulumi.get(self, "max_wal_senders")
|
|
662
|
+
|
|
663
|
+
@max_wal_senders.setter
|
|
664
|
+
def max_wal_senders(self, value: Optional[pulumi.Input[int]]):
|
|
665
|
+
pulumi.set(self, "max_wal_senders", value)
|
|
666
|
+
|
|
667
|
+
@property
|
|
668
|
+
@pulumi.getter(name="maxWorkerProcesses")
|
|
669
|
+
def max_worker_processes(self) -> Optional[pulumi.Input[int]]:
|
|
670
|
+
"""
|
|
671
|
+
Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
672
|
+
"""
|
|
673
|
+
return pulumi.get(self, "max_worker_processes")
|
|
674
|
+
|
|
675
|
+
@max_worker_processes.setter
|
|
676
|
+
def max_worker_processes(self, value: Optional[pulumi.Input[int]]):
|
|
677
|
+
pulumi.set(self, "max_worker_processes", value)
|
|
678
|
+
|
|
679
|
+
@property
|
|
680
|
+
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
681
|
+
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[int]]:
|
|
682
|
+
"""
|
|
683
|
+
Sets the time interval to run pg_partman's scheduled tasks.
|
|
684
|
+
"""
|
|
685
|
+
return pulumi.get(self, "pg_partman_bgw_interval")
|
|
686
|
+
|
|
687
|
+
@pg_partman_bgw_interval.setter
|
|
688
|
+
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[int]]):
|
|
689
|
+
pulumi.set(self, "pg_partman_bgw_interval", value)
|
|
690
|
+
|
|
691
|
+
@property
|
|
692
|
+
@pulumi.getter(name="pgPartmanBgwRole")
|
|
693
|
+
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[str]]:
|
|
694
|
+
"""
|
|
695
|
+
Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
696
|
+
"""
|
|
697
|
+
return pulumi.get(self, "pg_partman_bgw_role")
|
|
698
|
+
|
|
699
|
+
@pg_partman_bgw_role.setter
|
|
700
|
+
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[str]]):
|
|
701
|
+
pulumi.set(self, "pg_partman_bgw_role", value)
|
|
702
|
+
|
|
703
|
+
@property
|
|
704
|
+
@pulumi.getter(name="pgStatStatementsTrack")
|
|
705
|
+
def pg_stat_statements_track(self) -> Optional[pulumi.Input[str]]:
|
|
706
|
+
"""
|
|
707
|
+
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. Supported values are: `all`, `top`, `none`.
|
|
708
|
+
"""
|
|
709
|
+
return pulumi.get(self, "pg_stat_statements_track")
|
|
710
|
+
|
|
711
|
+
@pg_stat_statements_track.setter
|
|
712
|
+
def pg_stat_statements_track(self, value: Optional[pulumi.Input[str]]):
|
|
713
|
+
pulumi.set(self, "pg_stat_statements_track", value)
|
|
714
|
+
|
|
715
|
+
@property
|
|
716
|
+
@pulumi.getter
|
|
717
|
+
def pgbouncers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]]:
|
|
718
|
+
"""
|
|
719
|
+
PGBouncer connection pooling settings
|
|
720
|
+
"""
|
|
721
|
+
return pulumi.get(self, "pgbouncers")
|
|
722
|
+
|
|
723
|
+
@pgbouncers.setter
|
|
724
|
+
def pgbouncers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]]):
|
|
725
|
+
pulumi.set(self, "pgbouncers", value)
|
|
726
|
+
|
|
727
|
+
@property
|
|
728
|
+
@pulumi.getter(name="sharedBuffersPercentage")
|
|
729
|
+
def shared_buffers_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
730
|
+
"""
|
|
731
|
+
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.
|
|
732
|
+
"""
|
|
733
|
+
return pulumi.get(self, "shared_buffers_percentage")
|
|
734
|
+
|
|
735
|
+
@shared_buffers_percentage.setter
|
|
736
|
+
def shared_buffers_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
737
|
+
pulumi.set(self, "shared_buffers_percentage", value)
|
|
738
|
+
|
|
739
|
+
@property
|
|
740
|
+
@pulumi.getter(name="tempFileLimit")
|
|
741
|
+
def temp_file_limit(self) -> Optional[pulumi.Input[int]]:
|
|
742
|
+
"""
|
|
743
|
+
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
744
|
+
"""
|
|
745
|
+
return pulumi.get(self, "temp_file_limit")
|
|
746
|
+
|
|
747
|
+
@temp_file_limit.setter
|
|
748
|
+
def temp_file_limit(self, value: Optional[pulumi.Input[int]]):
|
|
749
|
+
pulumi.set(self, "temp_file_limit", value)
|
|
750
|
+
|
|
751
|
+
@property
|
|
752
|
+
@pulumi.getter
|
|
753
|
+
def timescaledbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]]:
|
|
754
|
+
"""
|
|
755
|
+
TimescaleDB extension configuration values
|
|
756
|
+
"""
|
|
757
|
+
return pulumi.get(self, "timescaledbs")
|
|
758
|
+
|
|
759
|
+
@timescaledbs.setter
|
|
760
|
+
def timescaledbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]]):
|
|
761
|
+
pulumi.set(self, "timescaledbs", value)
|
|
762
|
+
|
|
763
|
+
@property
|
|
764
|
+
@pulumi.getter
|
|
765
|
+
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
766
|
+
"""
|
|
767
|
+
PostgreSQL service timezone
|
|
768
|
+
"""
|
|
769
|
+
return pulumi.get(self, "timezone")
|
|
770
|
+
|
|
771
|
+
@timezone.setter
|
|
772
|
+
def timezone(self, value: Optional[pulumi.Input[str]]):
|
|
773
|
+
pulumi.set(self, "timezone", value)
|
|
774
|
+
|
|
775
|
+
@property
|
|
776
|
+
@pulumi.getter(name="trackActivityQuerySize")
|
|
777
|
+
def track_activity_query_size(self) -> Optional[pulumi.Input[int]]:
|
|
778
|
+
"""
|
|
779
|
+
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
780
|
+
"""
|
|
781
|
+
return pulumi.get(self, "track_activity_query_size")
|
|
782
|
+
|
|
783
|
+
@track_activity_query_size.setter
|
|
784
|
+
def track_activity_query_size(self, value: Optional[pulumi.Input[int]]):
|
|
785
|
+
pulumi.set(self, "track_activity_query_size", value)
|
|
786
|
+
|
|
787
|
+
@property
|
|
788
|
+
@pulumi.getter(name="trackCommitTimestamp")
|
|
789
|
+
def track_commit_timestamp(self) -> Optional[pulumi.Input[str]]:
|
|
790
|
+
"""
|
|
791
|
+
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
792
|
+
"""
|
|
793
|
+
return pulumi.get(self, "track_commit_timestamp")
|
|
794
|
+
|
|
795
|
+
@track_commit_timestamp.setter
|
|
796
|
+
def track_commit_timestamp(self, value: Optional[pulumi.Input[str]]):
|
|
797
|
+
pulumi.set(self, "track_commit_timestamp", value)
|
|
798
|
+
|
|
799
|
+
@property
|
|
800
|
+
@pulumi.getter(name="trackFunctions")
|
|
801
|
+
def track_functions(self) -> Optional[pulumi.Input[str]]:
|
|
802
|
+
"""
|
|
803
|
+
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
804
|
+
"""
|
|
805
|
+
return pulumi.get(self, "track_functions")
|
|
806
|
+
|
|
807
|
+
@track_functions.setter
|
|
808
|
+
def track_functions(self, value: Optional[pulumi.Input[str]]):
|
|
809
|
+
pulumi.set(self, "track_functions", value)
|
|
810
|
+
|
|
811
|
+
@property
|
|
812
|
+
@pulumi.getter(name="trackIoTiming")
|
|
813
|
+
def track_io_timing(self) -> Optional[pulumi.Input[str]]:
|
|
814
|
+
"""
|
|
815
|
+
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. The default value is top. Supported values are: `off`, `on`.
|
|
816
|
+
"""
|
|
817
|
+
return pulumi.get(self, "track_io_timing")
|
|
818
|
+
|
|
819
|
+
@track_io_timing.setter
|
|
820
|
+
def track_io_timing(self, value: Optional[pulumi.Input[str]]):
|
|
821
|
+
pulumi.set(self, "track_io_timing", value)
|
|
822
|
+
|
|
823
|
+
@property
|
|
824
|
+
@pulumi.getter(name="walSenderTimeout")
|
|
825
|
+
def wal_sender_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
826
|
+
"""
|
|
827
|
+
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
|
|
828
|
+
"""
|
|
829
|
+
return pulumi.get(self, "wal_sender_timeout")
|
|
830
|
+
|
|
831
|
+
@wal_sender_timeout.setter
|
|
832
|
+
def wal_sender_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
833
|
+
pulumi.set(self, "wal_sender_timeout", value)
|
|
834
|
+
|
|
835
|
+
@property
|
|
836
|
+
@pulumi.getter(name="walWriterDelay")
|
|
837
|
+
def wal_writer_delay(self) -> Optional[pulumi.Input[int]]:
|
|
838
|
+
"""
|
|
839
|
+
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
840
|
+
"""
|
|
841
|
+
return pulumi.get(self, "wal_writer_delay")
|
|
842
|
+
|
|
843
|
+
@wal_writer_delay.setter
|
|
844
|
+
def wal_writer_delay(self, value: Optional[pulumi.Input[int]]):
|
|
845
|
+
pulumi.set(self, "wal_writer_delay", value)
|
|
846
|
+
|
|
847
|
+
@property
|
|
848
|
+
@pulumi.getter(name="workMem")
|
|
849
|
+
def work_mem(self) -> Optional[pulumi.Input[int]]:
|
|
850
|
+
"""
|
|
851
|
+
The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
852
|
+
"""
|
|
853
|
+
return pulumi.get(self, "work_mem")
|
|
854
|
+
|
|
855
|
+
@work_mem.setter
|
|
856
|
+
def work_mem(self, value: Optional[pulumi.Input[int]]):
|
|
857
|
+
pulumi.set(self, "work_mem", value)
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
@pulumi.input_type
|
|
861
|
+
class _DatabasePostgresqlConfigState:
|
|
862
|
+
def __init__(__self__, *,
|
|
863
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
864
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[int]] = None,
|
|
865
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[int]] = None,
|
|
866
|
+
autovacuum_max_workers: Optional[pulumi.Input[int]] = None,
|
|
867
|
+
autovacuum_naptime: Optional[pulumi.Input[int]] = None,
|
|
868
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[int]] = None,
|
|
869
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[int]] = None,
|
|
870
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
871
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[int]] = None,
|
|
872
|
+
backup_hour: Optional[pulumi.Input[int]] = None,
|
|
873
|
+
backup_minute: Optional[pulumi.Input[int]] = None,
|
|
874
|
+
bgwriter_delay: Optional[pulumi.Input[int]] = None,
|
|
875
|
+
bgwriter_flush_after: Optional[pulumi.Input[int]] = None,
|
|
876
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[int]] = None,
|
|
877
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[float]] = None,
|
|
878
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
879
|
+
deadlock_timeout: Optional[pulumi.Input[int]] = None,
|
|
880
|
+
default_toast_compression: Optional[pulumi.Input[str]] = None,
|
|
881
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[int]] = None,
|
|
882
|
+
jit: Optional[pulumi.Input[bool]] = None,
|
|
883
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[int]] = None,
|
|
884
|
+
log_error_verbosity: Optional[pulumi.Input[str]] = None,
|
|
885
|
+
log_line_prefix: Optional[pulumi.Input[str]] = None,
|
|
886
|
+
log_min_duration_statement: Optional[pulumi.Input[int]] = None,
|
|
887
|
+
max_files_per_process: Optional[pulumi.Input[int]] = None,
|
|
888
|
+
max_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
889
|
+
max_logical_replication_workers: Optional[pulumi.Input[int]] = None,
|
|
890
|
+
max_parallel_workers: Optional[pulumi.Input[int]] = None,
|
|
891
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[int]] = None,
|
|
892
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
893
|
+
max_prepared_transactions: Optional[pulumi.Input[int]] = None,
|
|
894
|
+
max_replication_slots: Optional[pulumi.Input[int]] = None,
|
|
895
|
+
max_stack_depth: Optional[pulumi.Input[int]] = None,
|
|
896
|
+
max_standby_archive_delay: Optional[pulumi.Input[int]] = None,
|
|
897
|
+
max_standby_streaming_delay: Optional[pulumi.Input[int]] = None,
|
|
898
|
+
max_wal_senders: Optional[pulumi.Input[int]] = None,
|
|
899
|
+
max_worker_processes: Optional[pulumi.Input[int]] = None,
|
|
900
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[int]] = None,
|
|
901
|
+
pg_partman_bgw_role: Optional[pulumi.Input[str]] = None,
|
|
902
|
+
pg_stat_statements_track: Optional[pulumi.Input[str]] = None,
|
|
903
|
+
pgbouncers: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]] = None,
|
|
904
|
+
shared_buffers_percentage: Optional[pulumi.Input[float]] = None,
|
|
905
|
+
temp_file_limit: Optional[pulumi.Input[int]] = None,
|
|
906
|
+
timescaledbs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]] = None,
|
|
907
|
+
timezone: Optional[pulumi.Input[str]] = None,
|
|
908
|
+
track_activity_query_size: Optional[pulumi.Input[int]] = None,
|
|
909
|
+
track_commit_timestamp: Optional[pulumi.Input[str]] = None,
|
|
910
|
+
track_functions: Optional[pulumi.Input[str]] = None,
|
|
911
|
+
track_io_timing: Optional[pulumi.Input[str]] = None,
|
|
912
|
+
wal_sender_timeout: Optional[pulumi.Input[int]] = None,
|
|
913
|
+
wal_writer_delay: Optional[pulumi.Input[int]] = None,
|
|
914
|
+
work_mem: Optional[pulumi.Input[int]] = None):
|
|
915
|
+
"""
|
|
916
|
+
Input properties used for looking up and filtering DatabasePostgresqlConfig resources.
|
|
917
|
+
:param pulumi.Input[float] autovacuum_analyze_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
918
|
+
:param pulumi.Input[int] 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.
|
|
919
|
+
:param pulumi.Input[int] autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
920
|
+
:param pulumi.Input[int] 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.
|
|
921
|
+
:param pulumi.Input[int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
922
|
+
:param pulumi.Input[int] autovacuum_vacuum_cost_delay: Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
923
|
+
:param pulumi.Input[int] 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.
|
|
924
|
+
:param pulumi.Input[float] autovacuum_vacuum_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
925
|
+
:param pulumi.Input[int] 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.
|
|
926
|
+
:param pulumi.Input[int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
927
|
+
:param pulumi.Input[int] backup_minute: The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
928
|
+
:param pulumi.Input[int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
929
|
+
:param pulumi.Input[int] bgwriter_flush_after: The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
930
|
+
:param pulumi.Input[int] bgwriter_lru_maxpages: The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
931
|
+
:param pulumi.Input[float] 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.
|
|
932
|
+
:param pulumi.Input[str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
933
|
+
:param pulumi.Input[int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
934
|
+
:param pulumi.Input[str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
935
|
+
:param pulumi.Input[int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
936
|
+
:param pulumi.Input[bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
937
|
+
:param pulumi.Input[int] log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
938
|
+
:param pulumi.Input[str] log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
939
|
+
:param pulumi.Input[str] log_line_prefix: Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
940
|
+
:param pulumi.Input[int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
941
|
+
:param pulumi.Input[int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
942
|
+
:param pulumi.Input[int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
943
|
+
:param pulumi.Input[int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
944
|
+
:param pulumi.Input[int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
945
|
+
:param pulumi.Input[int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
946
|
+
:param pulumi.Input[int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
947
|
+
:param pulumi.Input[int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
948
|
+
:param pulumi.Input[int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
949
|
+
:param pulumi.Input[int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
950
|
+
:param pulumi.Input[int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
951
|
+
:param pulumi.Input[int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
952
|
+
:param pulumi.Input[int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
953
|
+
:param pulumi.Input[int] max_worker_processes: Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
954
|
+
:param pulumi.Input[int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
955
|
+
:param pulumi.Input[str] pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
956
|
+
:param pulumi.Input[str] 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. Supported values are: `all`, `top`, `none`.
|
|
957
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]] pgbouncers: PGBouncer connection pooling settings
|
|
958
|
+
:param pulumi.Input[float] shared_buffers_percentage: 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.
|
|
959
|
+
:param pulumi.Input[int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
960
|
+
:param pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]] timescaledbs: TimescaleDB extension configuration values
|
|
961
|
+
:param pulumi.Input[str] timezone: PostgreSQL service timezone
|
|
962
|
+
:param pulumi.Input[int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
963
|
+
:param pulumi.Input[str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
964
|
+
:param pulumi.Input[str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
965
|
+
:param pulumi.Input[str] 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. The default value is top. Supported values are: `off`, `on`.
|
|
966
|
+
:param pulumi.Input[int] 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. Must be either 0 or between 5000 and 10800000.
|
|
967
|
+
:param pulumi.Input[int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
968
|
+
:param pulumi.Input[int] work_mem: The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
969
|
+
"""
|
|
970
|
+
if autovacuum_analyze_scale_factor is not None:
|
|
971
|
+
pulumi.set(__self__, "autovacuum_analyze_scale_factor", autovacuum_analyze_scale_factor)
|
|
972
|
+
if autovacuum_analyze_threshold is not None:
|
|
973
|
+
pulumi.set(__self__, "autovacuum_analyze_threshold", autovacuum_analyze_threshold)
|
|
974
|
+
if autovacuum_freeze_max_age is not None:
|
|
975
|
+
pulumi.set(__self__, "autovacuum_freeze_max_age", autovacuum_freeze_max_age)
|
|
976
|
+
if autovacuum_max_workers is not None:
|
|
977
|
+
pulumi.set(__self__, "autovacuum_max_workers", autovacuum_max_workers)
|
|
978
|
+
if autovacuum_naptime is not None:
|
|
979
|
+
pulumi.set(__self__, "autovacuum_naptime", autovacuum_naptime)
|
|
980
|
+
if autovacuum_vacuum_cost_delay is not None:
|
|
981
|
+
pulumi.set(__self__, "autovacuum_vacuum_cost_delay", autovacuum_vacuum_cost_delay)
|
|
982
|
+
if autovacuum_vacuum_cost_limit is not None:
|
|
983
|
+
pulumi.set(__self__, "autovacuum_vacuum_cost_limit", autovacuum_vacuum_cost_limit)
|
|
984
|
+
if autovacuum_vacuum_scale_factor is not None:
|
|
985
|
+
pulumi.set(__self__, "autovacuum_vacuum_scale_factor", autovacuum_vacuum_scale_factor)
|
|
986
|
+
if autovacuum_vacuum_threshold is not None:
|
|
987
|
+
pulumi.set(__self__, "autovacuum_vacuum_threshold", autovacuum_vacuum_threshold)
|
|
988
|
+
if backup_hour is not None:
|
|
989
|
+
pulumi.set(__self__, "backup_hour", backup_hour)
|
|
990
|
+
if backup_minute is not None:
|
|
991
|
+
pulumi.set(__self__, "backup_minute", backup_minute)
|
|
992
|
+
if bgwriter_delay is not None:
|
|
993
|
+
pulumi.set(__self__, "bgwriter_delay", bgwriter_delay)
|
|
994
|
+
if bgwriter_flush_after is not None:
|
|
995
|
+
pulumi.set(__self__, "bgwriter_flush_after", bgwriter_flush_after)
|
|
996
|
+
if bgwriter_lru_maxpages is not None:
|
|
997
|
+
pulumi.set(__self__, "bgwriter_lru_maxpages", bgwriter_lru_maxpages)
|
|
998
|
+
if bgwriter_lru_multiplier is not None:
|
|
999
|
+
pulumi.set(__self__, "bgwriter_lru_multiplier", bgwriter_lru_multiplier)
|
|
1000
|
+
if cluster_id is not None:
|
|
1001
|
+
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
1002
|
+
if deadlock_timeout is not None:
|
|
1003
|
+
pulumi.set(__self__, "deadlock_timeout", deadlock_timeout)
|
|
1004
|
+
if default_toast_compression is not None:
|
|
1005
|
+
pulumi.set(__self__, "default_toast_compression", default_toast_compression)
|
|
1006
|
+
if idle_in_transaction_session_timeout is not None:
|
|
1007
|
+
pulumi.set(__self__, "idle_in_transaction_session_timeout", idle_in_transaction_session_timeout)
|
|
1008
|
+
if jit is not None:
|
|
1009
|
+
pulumi.set(__self__, "jit", jit)
|
|
1010
|
+
if log_autovacuum_min_duration is not None:
|
|
1011
|
+
pulumi.set(__self__, "log_autovacuum_min_duration", log_autovacuum_min_duration)
|
|
1012
|
+
if log_error_verbosity is not None:
|
|
1013
|
+
pulumi.set(__self__, "log_error_verbosity", log_error_verbosity)
|
|
1014
|
+
if log_line_prefix is not None:
|
|
1015
|
+
pulumi.set(__self__, "log_line_prefix", log_line_prefix)
|
|
1016
|
+
if log_min_duration_statement is not None:
|
|
1017
|
+
pulumi.set(__self__, "log_min_duration_statement", log_min_duration_statement)
|
|
1018
|
+
if max_files_per_process is not None:
|
|
1019
|
+
pulumi.set(__self__, "max_files_per_process", max_files_per_process)
|
|
1020
|
+
if max_locks_per_transaction is not None:
|
|
1021
|
+
pulumi.set(__self__, "max_locks_per_transaction", max_locks_per_transaction)
|
|
1022
|
+
if max_logical_replication_workers is not None:
|
|
1023
|
+
pulumi.set(__self__, "max_logical_replication_workers", max_logical_replication_workers)
|
|
1024
|
+
if max_parallel_workers is not None:
|
|
1025
|
+
pulumi.set(__self__, "max_parallel_workers", max_parallel_workers)
|
|
1026
|
+
if max_parallel_workers_per_gather is not None:
|
|
1027
|
+
pulumi.set(__self__, "max_parallel_workers_per_gather", max_parallel_workers_per_gather)
|
|
1028
|
+
if max_pred_locks_per_transaction is not None:
|
|
1029
|
+
pulumi.set(__self__, "max_pred_locks_per_transaction", max_pred_locks_per_transaction)
|
|
1030
|
+
if max_prepared_transactions is not None:
|
|
1031
|
+
pulumi.set(__self__, "max_prepared_transactions", max_prepared_transactions)
|
|
1032
|
+
if max_replication_slots is not None:
|
|
1033
|
+
pulumi.set(__self__, "max_replication_slots", max_replication_slots)
|
|
1034
|
+
if max_stack_depth is not None:
|
|
1035
|
+
pulumi.set(__self__, "max_stack_depth", max_stack_depth)
|
|
1036
|
+
if max_standby_archive_delay is not None:
|
|
1037
|
+
pulumi.set(__self__, "max_standby_archive_delay", max_standby_archive_delay)
|
|
1038
|
+
if max_standby_streaming_delay is not None:
|
|
1039
|
+
pulumi.set(__self__, "max_standby_streaming_delay", max_standby_streaming_delay)
|
|
1040
|
+
if max_wal_senders is not None:
|
|
1041
|
+
pulumi.set(__self__, "max_wal_senders", max_wal_senders)
|
|
1042
|
+
if max_worker_processes is not None:
|
|
1043
|
+
pulumi.set(__self__, "max_worker_processes", max_worker_processes)
|
|
1044
|
+
if pg_partman_bgw_interval is not None:
|
|
1045
|
+
pulumi.set(__self__, "pg_partman_bgw_interval", pg_partman_bgw_interval)
|
|
1046
|
+
if pg_partman_bgw_role is not None:
|
|
1047
|
+
pulumi.set(__self__, "pg_partman_bgw_role", pg_partman_bgw_role)
|
|
1048
|
+
if pg_stat_statements_track is not None:
|
|
1049
|
+
pulumi.set(__self__, "pg_stat_statements_track", pg_stat_statements_track)
|
|
1050
|
+
if pgbouncers is not None:
|
|
1051
|
+
pulumi.set(__self__, "pgbouncers", pgbouncers)
|
|
1052
|
+
if shared_buffers_percentage is not None:
|
|
1053
|
+
pulumi.set(__self__, "shared_buffers_percentage", shared_buffers_percentage)
|
|
1054
|
+
if temp_file_limit is not None:
|
|
1055
|
+
pulumi.set(__self__, "temp_file_limit", temp_file_limit)
|
|
1056
|
+
if timescaledbs is not None:
|
|
1057
|
+
pulumi.set(__self__, "timescaledbs", timescaledbs)
|
|
1058
|
+
if timezone is not None:
|
|
1059
|
+
pulumi.set(__self__, "timezone", timezone)
|
|
1060
|
+
if track_activity_query_size is not None:
|
|
1061
|
+
pulumi.set(__self__, "track_activity_query_size", track_activity_query_size)
|
|
1062
|
+
if track_commit_timestamp is not None:
|
|
1063
|
+
pulumi.set(__self__, "track_commit_timestamp", track_commit_timestamp)
|
|
1064
|
+
if track_functions is not None:
|
|
1065
|
+
pulumi.set(__self__, "track_functions", track_functions)
|
|
1066
|
+
if track_io_timing is not None:
|
|
1067
|
+
pulumi.set(__self__, "track_io_timing", track_io_timing)
|
|
1068
|
+
if wal_sender_timeout is not None:
|
|
1069
|
+
pulumi.set(__self__, "wal_sender_timeout", wal_sender_timeout)
|
|
1070
|
+
if wal_writer_delay is not None:
|
|
1071
|
+
pulumi.set(__self__, "wal_writer_delay", wal_writer_delay)
|
|
1072
|
+
if work_mem is not None:
|
|
1073
|
+
pulumi.set(__self__, "work_mem", work_mem)
|
|
1074
|
+
|
|
1075
|
+
@property
|
|
1076
|
+
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
1077
|
+
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
1078
|
+
"""
|
|
1079
|
+
Specifies a fraction, in a decimal value, 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).
|
|
1080
|
+
"""
|
|
1081
|
+
return pulumi.get(self, "autovacuum_analyze_scale_factor")
|
|
1082
|
+
|
|
1083
|
+
@autovacuum_analyze_scale_factor.setter
|
|
1084
|
+
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
1085
|
+
pulumi.set(self, "autovacuum_analyze_scale_factor", value)
|
|
1086
|
+
|
|
1087
|
+
@property
|
|
1088
|
+
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
1089
|
+
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1090
|
+
"""
|
|
1091
|
+
Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
|
|
1092
|
+
"""
|
|
1093
|
+
return pulumi.get(self, "autovacuum_analyze_threshold")
|
|
1094
|
+
|
|
1095
|
+
@autovacuum_analyze_threshold.setter
|
|
1096
|
+
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1097
|
+
pulumi.set(self, "autovacuum_analyze_threshold", value)
|
|
1098
|
+
|
|
1099
|
+
@property
|
|
1100
|
+
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
1101
|
+
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[int]]:
|
|
1102
|
+
"""
|
|
1103
|
+
Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
1104
|
+
"""
|
|
1105
|
+
return pulumi.get(self, "autovacuum_freeze_max_age")
|
|
1106
|
+
|
|
1107
|
+
@autovacuum_freeze_max_age.setter
|
|
1108
|
+
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[int]]):
|
|
1109
|
+
pulumi.set(self, "autovacuum_freeze_max_age", value)
|
|
1110
|
+
|
|
1111
|
+
@property
|
|
1112
|
+
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
1113
|
+
def autovacuum_max_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1114
|
+
"""
|
|
1115
|
+
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.
|
|
1116
|
+
"""
|
|
1117
|
+
return pulumi.get(self, "autovacuum_max_workers")
|
|
1118
|
+
|
|
1119
|
+
@autovacuum_max_workers.setter
|
|
1120
|
+
def autovacuum_max_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1121
|
+
pulumi.set(self, "autovacuum_max_workers", value)
|
|
1122
|
+
|
|
1123
|
+
@property
|
|
1124
|
+
@pulumi.getter(name="autovacuumNaptime")
|
|
1125
|
+
def autovacuum_naptime(self) -> Optional[pulumi.Input[int]]:
|
|
1126
|
+
"""
|
|
1127
|
+
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
1128
|
+
"""
|
|
1129
|
+
return pulumi.get(self, "autovacuum_naptime")
|
|
1130
|
+
|
|
1131
|
+
@autovacuum_naptime.setter
|
|
1132
|
+
def autovacuum_naptime(self, value: Optional[pulumi.Input[int]]):
|
|
1133
|
+
pulumi.set(self, "autovacuum_naptime", value)
|
|
1134
|
+
|
|
1135
|
+
@property
|
|
1136
|
+
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
1137
|
+
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1138
|
+
"""
|
|
1139
|
+
Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
1140
|
+
"""
|
|
1141
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_delay")
|
|
1142
|
+
|
|
1143
|
+
@autovacuum_vacuum_cost_delay.setter
|
|
1144
|
+
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1145
|
+
pulumi.set(self, "autovacuum_vacuum_cost_delay", value)
|
|
1146
|
+
|
|
1147
|
+
@property
|
|
1148
|
+
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
1149
|
+
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1150
|
+
"""
|
|
1151
|
+
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.
|
|
1152
|
+
"""
|
|
1153
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_limit")
|
|
1154
|
+
|
|
1155
|
+
@autovacuum_vacuum_cost_limit.setter
|
|
1156
|
+
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1157
|
+
pulumi.set(self, "autovacuum_vacuum_cost_limit", value)
|
|
1158
|
+
|
|
1159
|
+
@property
|
|
1160
|
+
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
1161
|
+
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
1162
|
+
"""
|
|
1163
|
+
Specifies a fraction, in a decimal value, 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).
|
|
1164
|
+
"""
|
|
1165
|
+
return pulumi.get(self, "autovacuum_vacuum_scale_factor")
|
|
1166
|
+
|
|
1167
|
+
@autovacuum_vacuum_scale_factor.setter
|
|
1168
|
+
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
1169
|
+
pulumi.set(self, "autovacuum_vacuum_scale_factor", value)
|
|
1170
|
+
|
|
1171
|
+
@property
|
|
1172
|
+
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
1173
|
+
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1174
|
+
"""
|
|
1175
|
+
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
|
|
1176
|
+
"""
|
|
1177
|
+
return pulumi.get(self, "autovacuum_vacuum_threshold")
|
|
1178
|
+
|
|
1179
|
+
@autovacuum_vacuum_threshold.setter
|
|
1180
|
+
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1181
|
+
pulumi.set(self, "autovacuum_vacuum_threshold", value)
|
|
1182
|
+
|
|
1183
|
+
@property
|
|
1184
|
+
@pulumi.getter(name="backupHour")
|
|
1185
|
+
def backup_hour(self) -> Optional[pulumi.Input[int]]:
|
|
1186
|
+
"""
|
|
1187
|
+
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1188
|
+
"""
|
|
1189
|
+
return pulumi.get(self, "backup_hour")
|
|
1190
|
+
|
|
1191
|
+
@backup_hour.setter
|
|
1192
|
+
def backup_hour(self, value: Optional[pulumi.Input[int]]):
|
|
1193
|
+
pulumi.set(self, "backup_hour", value)
|
|
1194
|
+
|
|
1195
|
+
@property
|
|
1196
|
+
@pulumi.getter(name="backupMinute")
|
|
1197
|
+
def backup_minute(self) -> Optional[pulumi.Input[int]]:
|
|
1198
|
+
"""
|
|
1199
|
+
The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
1200
|
+
"""
|
|
1201
|
+
return pulumi.get(self, "backup_minute")
|
|
1202
|
+
|
|
1203
|
+
@backup_minute.setter
|
|
1204
|
+
def backup_minute(self, value: Optional[pulumi.Input[int]]):
|
|
1205
|
+
pulumi.set(self, "backup_minute", value)
|
|
1206
|
+
|
|
1207
|
+
@property
|
|
1208
|
+
@pulumi.getter(name="bgwriterDelay")
|
|
1209
|
+
def bgwriter_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1210
|
+
"""
|
|
1211
|
+
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
1212
|
+
"""
|
|
1213
|
+
return pulumi.get(self, "bgwriter_delay")
|
|
1214
|
+
|
|
1215
|
+
@bgwriter_delay.setter
|
|
1216
|
+
def bgwriter_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1217
|
+
pulumi.set(self, "bgwriter_delay", value)
|
|
1218
|
+
|
|
1219
|
+
@property
|
|
1220
|
+
@pulumi.getter(name="bgwriterFlushAfter")
|
|
1221
|
+
def bgwriter_flush_after(self) -> Optional[pulumi.Input[int]]:
|
|
1222
|
+
"""
|
|
1223
|
+
The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
1224
|
+
"""
|
|
1225
|
+
return pulumi.get(self, "bgwriter_flush_after")
|
|
1226
|
+
|
|
1227
|
+
@bgwriter_flush_after.setter
|
|
1228
|
+
def bgwriter_flush_after(self, value: Optional[pulumi.Input[int]]):
|
|
1229
|
+
pulumi.set(self, "bgwriter_flush_after", value)
|
|
1230
|
+
|
|
1231
|
+
@property
|
|
1232
|
+
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
1233
|
+
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[int]]:
|
|
1234
|
+
"""
|
|
1235
|
+
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
1236
|
+
"""
|
|
1237
|
+
return pulumi.get(self, "bgwriter_lru_maxpages")
|
|
1238
|
+
|
|
1239
|
+
@bgwriter_lru_maxpages.setter
|
|
1240
|
+
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[int]]):
|
|
1241
|
+
pulumi.set(self, "bgwriter_lru_maxpages", value)
|
|
1242
|
+
|
|
1243
|
+
@property
|
|
1244
|
+
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
1245
|
+
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[float]]:
|
|
1246
|
+
"""
|
|
1247
|
+
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.
|
|
1248
|
+
"""
|
|
1249
|
+
return pulumi.get(self, "bgwriter_lru_multiplier")
|
|
1250
|
+
|
|
1251
|
+
@bgwriter_lru_multiplier.setter
|
|
1252
|
+
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[float]]):
|
|
1253
|
+
pulumi.set(self, "bgwriter_lru_multiplier", value)
|
|
1254
|
+
|
|
1255
|
+
@property
|
|
1256
|
+
@pulumi.getter(name="clusterId")
|
|
1257
|
+
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
1258
|
+
"""
|
|
1259
|
+
The ID of the target PostgreSQL cluster.
|
|
1260
|
+
"""
|
|
1261
|
+
return pulumi.get(self, "cluster_id")
|
|
1262
|
+
|
|
1263
|
+
@cluster_id.setter
|
|
1264
|
+
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
1265
|
+
pulumi.set(self, "cluster_id", value)
|
|
1266
|
+
|
|
1267
|
+
@property
|
|
1268
|
+
@pulumi.getter(name="deadlockTimeout")
|
|
1269
|
+
def deadlock_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1270
|
+
"""
|
|
1271
|
+
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
1272
|
+
"""
|
|
1273
|
+
return pulumi.get(self, "deadlock_timeout")
|
|
1274
|
+
|
|
1275
|
+
@deadlock_timeout.setter
|
|
1276
|
+
def deadlock_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1277
|
+
pulumi.set(self, "deadlock_timeout", value)
|
|
1278
|
+
|
|
1279
|
+
@property
|
|
1280
|
+
@pulumi.getter(name="defaultToastCompression")
|
|
1281
|
+
def default_toast_compression(self) -> Optional[pulumi.Input[str]]:
|
|
1282
|
+
"""
|
|
1283
|
+
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
1284
|
+
"""
|
|
1285
|
+
return pulumi.get(self, "default_toast_compression")
|
|
1286
|
+
|
|
1287
|
+
@default_toast_compression.setter
|
|
1288
|
+
def default_toast_compression(self, value: Optional[pulumi.Input[str]]):
|
|
1289
|
+
pulumi.set(self, "default_toast_compression", value)
|
|
1290
|
+
|
|
1291
|
+
@property
|
|
1292
|
+
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
1293
|
+
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1294
|
+
"""
|
|
1295
|
+
Time out sessions with open transactions after this number of milliseconds
|
|
1296
|
+
"""
|
|
1297
|
+
return pulumi.get(self, "idle_in_transaction_session_timeout")
|
|
1298
|
+
|
|
1299
|
+
@idle_in_transaction_session_timeout.setter
|
|
1300
|
+
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1301
|
+
pulumi.set(self, "idle_in_transaction_session_timeout", value)
|
|
1302
|
+
|
|
1303
|
+
@property
|
|
1304
|
+
@pulumi.getter
|
|
1305
|
+
def jit(self) -> Optional[pulumi.Input[bool]]:
|
|
1306
|
+
"""
|
|
1307
|
+
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
1308
|
+
"""
|
|
1309
|
+
return pulumi.get(self, "jit")
|
|
1310
|
+
|
|
1311
|
+
@jit.setter
|
|
1312
|
+
def jit(self, value: Optional[pulumi.Input[bool]]):
|
|
1313
|
+
pulumi.set(self, "jit", value)
|
|
1314
|
+
|
|
1315
|
+
@property
|
|
1316
|
+
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
1317
|
+
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[int]]:
|
|
1318
|
+
"""
|
|
1319
|
+
Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
1320
|
+
"""
|
|
1321
|
+
return pulumi.get(self, "log_autovacuum_min_duration")
|
|
1322
|
+
|
|
1323
|
+
@log_autovacuum_min_duration.setter
|
|
1324
|
+
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[int]]):
|
|
1325
|
+
pulumi.set(self, "log_autovacuum_min_duration", value)
|
|
1326
|
+
|
|
1327
|
+
@property
|
|
1328
|
+
@pulumi.getter(name="logErrorVerbosity")
|
|
1329
|
+
def log_error_verbosity(self) -> Optional[pulumi.Input[str]]:
|
|
1330
|
+
"""
|
|
1331
|
+
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
1332
|
+
"""
|
|
1333
|
+
return pulumi.get(self, "log_error_verbosity")
|
|
1334
|
+
|
|
1335
|
+
@log_error_verbosity.setter
|
|
1336
|
+
def log_error_verbosity(self, value: Optional[pulumi.Input[str]]):
|
|
1337
|
+
pulumi.set(self, "log_error_verbosity", value)
|
|
1338
|
+
|
|
1339
|
+
@property
|
|
1340
|
+
@pulumi.getter(name="logLinePrefix")
|
|
1341
|
+
def log_line_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
1342
|
+
"""
|
|
1343
|
+
Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
1344
|
+
"""
|
|
1345
|
+
return pulumi.get(self, "log_line_prefix")
|
|
1346
|
+
|
|
1347
|
+
@log_line_prefix.setter
|
|
1348
|
+
def log_line_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
1349
|
+
pulumi.set(self, "log_line_prefix", value)
|
|
1350
|
+
|
|
1351
|
+
@property
|
|
1352
|
+
@pulumi.getter(name="logMinDurationStatement")
|
|
1353
|
+
def log_min_duration_statement(self) -> Optional[pulumi.Input[int]]:
|
|
1354
|
+
"""
|
|
1355
|
+
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
1356
|
+
"""
|
|
1357
|
+
return pulumi.get(self, "log_min_duration_statement")
|
|
1358
|
+
|
|
1359
|
+
@log_min_duration_statement.setter
|
|
1360
|
+
def log_min_duration_statement(self, value: Optional[pulumi.Input[int]]):
|
|
1361
|
+
pulumi.set(self, "log_min_duration_statement", value)
|
|
1362
|
+
|
|
1363
|
+
@property
|
|
1364
|
+
@pulumi.getter(name="maxFilesPerProcess")
|
|
1365
|
+
def max_files_per_process(self) -> Optional[pulumi.Input[int]]:
|
|
1366
|
+
"""
|
|
1367
|
+
PostgreSQL maximum number of files that can be open per process.
|
|
1368
|
+
"""
|
|
1369
|
+
return pulumi.get(self, "max_files_per_process")
|
|
1370
|
+
|
|
1371
|
+
@max_files_per_process.setter
|
|
1372
|
+
def max_files_per_process(self, value: Optional[pulumi.Input[int]]):
|
|
1373
|
+
pulumi.set(self, "max_files_per_process", value)
|
|
1374
|
+
|
|
1375
|
+
@property
|
|
1376
|
+
@pulumi.getter(name="maxLocksPerTransaction")
|
|
1377
|
+
def max_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
1378
|
+
"""
|
|
1379
|
+
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
1380
|
+
"""
|
|
1381
|
+
return pulumi.get(self, "max_locks_per_transaction")
|
|
1382
|
+
|
|
1383
|
+
@max_locks_per_transaction.setter
|
|
1384
|
+
def max_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
1385
|
+
pulumi.set(self, "max_locks_per_transaction", value)
|
|
1386
|
+
|
|
1387
|
+
@property
|
|
1388
|
+
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
1389
|
+
def max_logical_replication_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1390
|
+
"""
|
|
1391
|
+
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
1392
|
+
"""
|
|
1393
|
+
return pulumi.get(self, "max_logical_replication_workers")
|
|
1394
|
+
|
|
1395
|
+
@max_logical_replication_workers.setter
|
|
1396
|
+
def max_logical_replication_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1397
|
+
pulumi.set(self, "max_logical_replication_workers", value)
|
|
1398
|
+
|
|
1399
|
+
@property
|
|
1400
|
+
@pulumi.getter(name="maxParallelWorkers")
|
|
1401
|
+
def max_parallel_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1402
|
+
"""
|
|
1403
|
+
Sets the maximum number of workers that the system can support for parallel queries.
|
|
1404
|
+
"""
|
|
1405
|
+
return pulumi.get(self, "max_parallel_workers")
|
|
1406
|
+
|
|
1407
|
+
@max_parallel_workers.setter
|
|
1408
|
+
def max_parallel_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1409
|
+
pulumi.set(self, "max_parallel_workers", value)
|
|
1410
|
+
|
|
1411
|
+
@property
|
|
1412
|
+
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
1413
|
+
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[int]]:
|
|
1414
|
+
"""
|
|
1415
|
+
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
1416
|
+
"""
|
|
1417
|
+
return pulumi.get(self, "max_parallel_workers_per_gather")
|
|
1418
|
+
|
|
1419
|
+
@max_parallel_workers_per_gather.setter
|
|
1420
|
+
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[int]]):
|
|
1421
|
+
pulumi.set(self, "max_parallel_workers_per_gather", value)
|
|
1422
|
+
|
|
1423
|
+
@property
|
|
1424
|
+
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
1425
|
+
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
1426
|
+
"""
|
|
1427
|
+
PostgreSQL maximum predicate locks per transaction.
|
|
1428
|
+
"""
|
|
1429
|
+
return pulumi.get(self, "max_pred_locks_per_transaction")
|
|
1430
|
+
|
|
1431
|
+
@max_pred_locks_per_transaction.setter
|
|
1432
|
+
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
1433
|
+
pulumi.set(self, "max_pred_locks_per_transaction", value)
|
|
1434
|
+
|
|
1435
|
+
@property
|
|
1436
|
+
@pulumi.getter(name="maxPreparedTransactions")
|
|
1437
|
+
def max_prepared_transactions(self) -> Optional[pulumi.Input[int]]:
|
|
1438
|
+
"""
|
|
1439
|
+
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
1440
|
+
"""
|
|
1441
|
+
return pulumi.get(self, "max_prepared_transactions")
|
|
1442
|
+
|
|
1443
|
+
@max_prepared_transactions.setter
|
|
1444
|
+
def max_prepared_transactions(self, value: Optional[pulumi.Input[int]]):
|
|
1445
|
+
pulumi.set(self, "max_prepared_transactions", value)
|
|
1446
|
+
|
|
1447
|
+
@property
|
|
1448
|
+
@pulumi.getter(name="maxReplicationSlots")
|
|
1449
|
+
def max_replication_slots(self) -> Optional[pulumi.Input[int]]:
|
|
1450
|
+
"""
|
|
1451
|
+
PostgreSQL maximum replication slots.
|
|
1452
|
+
"""
|
|
1453
|
+
return pulumi.get(self, "max_replication_slots")
|
|
1454
|
+
|
|
1455
|
+
@max_replication_slots.setter
|
|
1456
|
+
def max_replication_slots(self, value: Optional[pulumi.Input[int]]):
|
|
1457
|
+
pulumi.set(self, "max_replication_slots", value)
|
|
1458
|
+
|
|
1459
|
+
@property
|
|
1460
|
+
@pulumi.getter(name="maxStackDepth")
|
|
1461
|
+
def max_stack_depth(self) -> Optional[pulumi.Input[int]]:
|
|
1462
|
+
"""
|
|
1463
|
+
Maximum depth of the stack in bytes.
|
|
1464
|
+
"""
|
|
1465
|
+
return pulumi.get(self, "max_stack_depth")
|
|
1466
|
+
|
|
1467
|
+
@max_stack_depth.setter
|
|
1468
|
+
def max_stack_depth(self, value: Optional[pulumi.Input[int]]):
|
|
1469
|
+
pulumi.set(self, "max_stack_depth", value)
|
|
1470
|
+
|
|
1471
|
+
@property
|
|
1472
|
+
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
1473
|
+
def max_standby_archive_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1474
|
+
"""
|
|
1475
|
+
Max standby archive delay in milliseconds.
|
|
1476
|
+
"""
|
|
1477
|
+
return pulumi.get(self, "max_standby_archive_delay")
|
|
1478
|
+
|
|
1479
|
+
@max_standby_archive_delay.setter
|
|
1480
|
+
def max_standby_archive_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1481
|
+
pulumi.set(self, "max_standby_archive_delay", value)
|
|
1482
|
+
|
|
1483
|
+
@property
|
|
1484
|
+
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
1485
|
+
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1486
|
+
"""
|
|
1487
|
+
Max standby streaming delay in milliseconds.
|
|
1488
|
+
"""
|
|
1489
|
+
return pulumi.get(self, "max_standby_streaming_delay")
|
|
1490
|
+
|
|
1491
|
+
@max_standby_streaming_delay.setter
|
|
1492
|
+
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1493
|
+
pulumi.set(self, "max_standby_streaming_delay", value)
|
|
1494
|
+
|
|
1495
|
+
@property
|
|
1496
|
+
@pulumi.getter(name="maxWalSenders")
|
|
1497
|
+
def max_wal_senders(self) -> Optional[pulumi.Input[int]]:
|
|
1498
|
+
"""
|
|
1499
|
+
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
1500
|
+
"""
|
|
1501
|
+
return pulumi.get(self, "max_wal_senders")
|
|
1502
|
+
|
|
1503
|
+
@max_wal_senders.setter
|
|
1504
|
+
def max_wal_senders(self, value: Optional[pulumi.Input[int]]):
|
|
1505
|
+
pulumi.set(self, "max_wal_senders", value)
|
|
1506
|
+
|
|
1507
|
+
@property
|
|
1508
|
+
@pulumi.getter(name="maxWorkerProcesses")
|
|
1509
|
+
def max_worker_processes(self) -> Optional[pulumi.Input[int]]:
|
|
1510
|
+
"""
|
|
1511
|
+
Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
1512
|
+
"""
|
|
1513
|
+
return pulumi.get(self, "max_worker_processes")
|
|
1514
|
+
|
|
1515
|
+
@max_worker_processes.setter
|
|
1516
|
+
def max_worker_processes(self, value: Optional[pulumi.Input[int]]):
|
|
1517
|
+
pulumi.set(self, "max_worker_processes", value)
|
|
1518
|
+
|
|
1519
|
+
@property
|
|
1520
|
+
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
1521
|
+
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[int]]:
|
|
1522
|
+
"""
|
|
1523
|
+
Sets the time interval to run pg_partman's scheduled tasks.
|
|
1524
|
+
"""
|
|
1525
|
+
return pulumi.get(self, "pg_partman_bgw_interval")
|
|
1526
|
+
|
|
1527
|
+
@pg_partman_bgw_interval.setter
|
|
1528
|
+
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[int]]):
|
|
1529
|
+
pulumi.set(self, "pg_partman_bgw_interval", value)
|
|
1530
|
+
|
|
1531
|
+
@property
|
|
1532
|
+
@pulumi.getter(name="pgPartmanBgwRole")
|
|
1533
|
+
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[str]]:
|
|
1534
|
+
"""
|
|
1535
|
+
Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
1536
|
+
"""
|
|
1537
|
+
return pulumi.get(self, "pg_partman_bgw_role")
|
|
1538
|
+
|
|
1539
|
+
@pg_partman_bgw_role.setter
|
|
1540
|
+
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[str]]):
|
|
1541
|
+
pulumi.set(self, "pg_partman_bgw_role", value)
|
|
1542
|
+
|
|
1543
|
+
@property
|
|
1544
|
+
@pulumi.getter(name="pgStatStatementsTrack")
|
|
1545
|
+
def pg_stat_statements_track(self) -> Optional[pulumi.Input[str]]:
|
|
1546
|
+
"""
|
|
1547
|
+
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. Supported values are: `all`, `top`, `none`.
|
|
1548
|
+
"""
|
|
1549
|
+
return pulumi.get(self, "pg_stat_statements_track")
|
|
1550
|
+
|
|
1551
|
+
@pg_stat_statements_track.setter
|
|
1552
|
+
def pg_stat_statements_track(self, value: Optional[pulumi.Input[str]]):
|
|
1553
|
+
pulumi.set(self, "pg_stat_statements_track", value)
|
|
1554
|
+
|
|
1555
|
+
@property
|
|
1556
|
+
@pulumi.getter
|
|
1557
|
+
def pgbouncers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]]:
|
|
1558
|
+
"""
|
|
1559
|
+
PGBouncer connection pooling settings
|
|
1560
|
+
"""
|
|
1561
|
+
return pulumi.get(self, "pgbouncers")
|
|
1562
|
+
|
|
1563
|
+
@pgbouncers.setter
|
|
1564
|
+
def pgbouncers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigPgbouncerArgs']]]]):
|
|
1565
|
+
pulumi.set(self, "pgbouncers", value)
|
|
1566
|
+
|
|
1567
|
+
@property
|
|
1568
|
+
@pulumi.getter(name="sharedBuffersPercentage")
|
|
1569
|
+
def shared_buffers_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
1570
|
+
"""
|
|
1571
|
+
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.
|
|
1572
|
+
"""
|
|
1573
|
+
return pulumi.get(self, "shared_buffers_percentage")
|
|
1574
|
+
|
|
1575
|
+
@shared_buffers_percentage.setter
|
|
1576
|
+
def shared_buffers_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
1577
|
+
pulumi.set(self, "shared_buffers_percentage", value)
|
|
1578
|
+
|
|
1579
|
+
@property
|
|
1580
|
+
@pulumi.getter(name="tempFileLimit")
|
|
1581
|
+
def temp_file_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1582
|
+
"""
|
|
1583
|
+
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
1584
|
+
"""
|
|
1585
|
+
return pulumi.get(self, "temp_file_limit")
|
|
1586
|
+
|
|
1587
|
+
@temp_file_limit.setter
|
|
1588
|
+
def temp_file_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1589
|
+
pulumi.set(self, "temp_file_limit", value)
|
|
1590
|
+
|
|
1591
|
+
@property
|
|
1592
|
+
@pulumi.getter
|
|
1593
|
+
def timescaledbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]]:
|
|
1594
|
+
"""
|
|
1595
|
+
TimescaleDB extension configuration values
|
|
1596
|
+
"""
|
|
1597
|
+
return pulumi.get(self, "timescaledbs")
|
|
1598
|
+
|
|
1599
|
+
@timescaledbs.setter
|
|
1600
|
+
def timescaledbs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DatabasePostgresqlConfigTimescaledbArgs']]]]):
|
|
1601
|
+
pulumi.set(self, "timescaledbs", value)
|
|
1602
|
+
|
|
1603
|
+
@property
|
|
1604
|
+
@pulumi.getter
|
|
1605
|
+
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
1606
|
+
"""
|
|
1607
|
+
PostgreSQL service timezone
|
|
1608
|
+
"""
|
|
1609
|
+
return pulumi.get(self, "timezone")
|
|
1610
|
+
|
|
1611
|
+
@timezone.setter
|
|
1612
|
+
def timezone(self, value: Optional[pulumi.Input[str]]):
|
|
1613
|
+
pulumi.set(self, "timezone", value)
|
|
1614
|
+
|
|
1615
|
+
@property
|
|
1616
|
+
@pulumi.getter(name="trackActivityQuerySize")
|
|
1617
|
+
def track_activity_query_size(self) -> Optional[pulumi.Input[int]]:
|
|
1618
|
+
"""
|
|
1619
|
+
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
1620
|
+
"""
|
|
1621
|
+
return pulumi.get(self, "track_activity_query_size")
|
|
1622
|
+
|
|
1623
|
+
@track_activity_query_size.setter
|
|
1624
|
+
def track_activity_query_size(self, value: Optional[pulumi.Input[int]]):
|
|
1625
|
+
pulumi.set(self, "track_activity_query_size", value)
|
|
1626
|
+
|
|
1627
|
+
@property
|
|
1628
|
+
@pulumi.getter(name="trackCommitTimestamp")
|
|
1629
|
+
def track_commit_timestamp(self) -> Optional[pulumi.Input[str]]:
|
|
1630
|
+
"""
|
|
1631
|
+
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
1632
|
+
"""
|
|
1633
|
+
return pulumi.get(self, "track_commit_timestamp")
|
|
1634
|
+
|
|
1635
|
+
@track_commit_timestamp.setter
|
|
1636
|
+
def track_commit_timestamp(self, value: Optional[pulumi.Input[str]]):
|
|
1637
|
+
pulumi.set(self, "track_commit_timestamp", value)
|
|
1638
|
+
|
|
1639
|
+
@property
|
|
1640
|
+
@pulumi.getter(name="trackFunctions")
|
|
1641
|
+
def track_functions(self) -> Optional[pulumi.Input[str]]:
|
|
1642
|
+
"""
|
|
1643
|
+
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
1644
|
+
"""
|
|
1645
|
+
return pulumi.get(self, "track_functions")
|
|
1646
|
+
|
|
1647
|
+
@track_functions.setter
|
|
1648
|
+
def track_functions(self, value: Optional[pulumi.Input[str]]):
|
|
1649
|
+
pulumi.set(self, "track_functions", value)
|
|
1650
|
+
|
|
1651
|
+
@property
|
|
1652
|
+
@pulumi.getter(name="trackIoTiming")
|
|
1653
|
+
def track_io_timing(self) -> Optional[pulumi.Input[str]]:
|
|
1654
|
+
"""
|
|
1655
|
+
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. The default value is top. Supported values are: `off`, `on`.
|
|
1656
|
+
"""
|
|
1657
|
+
return pulumi.get(self, "track_io_timing")
|
|
1658
|
+
|
|
1659
|
+
@track_io_timing.setter
|
|
1660
|
+
def track_io_timing(self, value: Optional[pulumi.Input[str]]):
|
|
1661
|
+
pulumi.set(self, "track_io_timing", value)
|
|
1662
|
+
|
|
1663
|
+
@property
|
|
1664
|
+
@pulumi.getter(name="walSenderTimeout")
|
|
1665
|
+
def wal_sender_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1666
|
+
"""
|
|
1667
|
+
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
|
|
1668
|
+
"""
|
|
1669
|
+
return pulumi.get(self, "wal_sender_timeout")
|
|
1670
|
+
|
|
1671
|
+
@wal_sender_timeout.setter
|
|
1672
|
+
def wal_sender_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1673
|
+
pulumi.set(self, "wal_sender_timeout", value)
|
|
1674
|
+
|
|
1675
|
+
@property
|
|
1676
|
+
@pulumi.getter(name="walWriterDelay")
|
|
1677
|
+
def wal_writer_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1678
|
+
"""
|
|
1679
|
+
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
1680
|
+
"""
|
|
1681
|
+
return pulumi.get(self, "wal_writer_delay")
|
|
1682
|
+
|
|
1683
|
+
@wal_writer_delay.setter
|
|
1684
|
+
def wal_writer_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1685
|
+
pulumi.set(self, "wal_writer_delay", value)
|
|
1686
|
+
|
|
1687
|
+
@property
|
|
1688
|
+
@pulumi.getter(name="workMem")
|
|
1689
|
+
def work_mem(self) -> Optional[pulumi.Input[int]]:
|
|
1690
|
+
"""
|
|
1691
|
+
The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
1692
|
+
"""
|
|
1693
|
+
return pulumi.get(self, "work_mem")
|
|
1694
|
+
|
|
1695
|
+
@work_mem.setter
|
|
1696
|
+
def work_mem(self, value: Optional[pulumi.Input[int]]):
|
|
1697
|
+
pulumi.set(self, "work_mem", value)
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
1701
|
+
@overload
|
|
1702
|
+
def __init__(__self__,
|
|
1703
|
+
resource_name: str,
|
|
1704
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1705
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
1706
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[int]] = None,
|
|
1707
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[int]] = None,
|
|
1708
|
+
autovacuum_max_workers: Optional[pulumi.Input[int]] = None,
|
|
1709
|
+
autovacuum_naptime: Optional[pulumi.Input[int]] = None,
|
|
1710
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[int]] = None,
|
|
1711
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[int]] = None,
|
|
1712
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
1713
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[int]] = None,
|
|
1714
|
+
backup_hour: Optional[pulumi.Input[int]] = None,
|
|
1715
|
+
backup_minute: Optional[pulumi.Input[int]] = None,
|
|
1716
|
+
bgwriter_delay: Optional[pulumi.Input[int]] = None,
|
|
1717
|
+
bgwriter_flush_after: Optional[pulumi.Input[int]] = None,
|
|
1718
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[int]] = None,
|
|
1719
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[float]] = None,
|
|
1720
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
1721
|
+
deadlock_timeout: Optional[pulumi.Input[int]] = None,
|
|
1722
|
+
default_toast_compression: Optional[pulumi.Input[str]] = None,
|
|
1723
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[int]] = None,
|
|
1724
|
+
jit: Optional[pulumi.Input[bool]] = None,
|
|
1725
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[int]] = None,
|
|
1726
|
+
log_error_verbosity: Optional[pulumi.Input[str]] = None,
|
|
1727
|
+
log_line_prefix: Optional[pulumi.Input[str]] = None,
|
|
1728
|
+
log_min_duration_statement: Optional[pulumi.Input[int]] = None,
|
|
1729
|
+
max_files_per_process: Optional[pulumi.Input[int]] = None,
|
|
1730
|
+
max_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
1731
|
+
max_logical_replication_workers: Optional[pulumi.Input[int]] = None,
|
|
1732
|
+
max_parallel_workers: Optional[pulumi.Input[int]] = None,
|
|
1733
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[int]] = None,
|
|
1734
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
1735
|
+
max_prepared_transactions: Optional[pulumi.Input[int]] = None,
|
|
1736
|
+
max_replication_slots: Optional[pulumi.Input[int]] = None,
|
|
1737
|
+
max_stack_depth: Optional[pulumi.Input[int]] = None,
|
|
1738
|
+
max_standby_archive_delay: Optional[pulumi.Input[int]] = None,
|
|
1739
|
+
max_standby_streaming_delay: Optional[pulumi.Input[int]] = None,
|
|
1740
|
+
max_wal_senders: Optional[pulumi.Input[int]] = None,
|
|
1741
|
+
max_worker_processes: Optional[pulumi.Input[int]] = None,
|
|
1742
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[int]] = None,
|
|
1743
|
+
pg_partman_bgw_role: Optional[pulumi.Input[str]] = None,
|
|
1744
|
+
pg_stat_statements_track: Optional[pulumi.Input[str]] = None,
|
|
1745
|
+
pgbouncers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigPgbouncerArgs', 'DatabasePostgresqlConfigPgbouncerArgsDict']]]]] = None,
|
|
1746
|
+
shared_buffers_percentage: Optional[pulumi.Input[float]] = None,
|
|
1747
|
+
temp_file_limit: Optional[pulumi.Input[int]] = None,
|
|
1748
|
+
timescaledbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigTimescaledbArgs', 'DatabasePostgresqlConfigTimescaledbArgsDict']]]]] = None,
|
|
1749
|
+
timezone: Optional[pulumi.Input[str]] = None,
|
|
1750
|
+
track_activity_query_size: Optional[pulumi.Input[int]] = None,
|
|
1751
|
+
track_commit_timestamp: Optional[pulumi.Input[str]] = None,
|
|
1752
|
+
track_functions: Optional[pulumi.Input[str]] = None,
|
|
1753
|
+
track_io_timing: Optional[pulumi.Input[str]] = None,
|
|
1754
|
+
wal_sender_timeout: Optional[pulumi.Input[int]] = None,
|
|
1755
|
+
wal_writer_delay: Optional[pulumi.Input[int]] = None,
|
|
1756
|
+
work_mem: Optional[pulumi.Input[int]] = None,
|
|
1757
|
+
__props__=None):
|
|
1758
|
+
"""
|
|
1759
|
+
Provides a virtual resource that can be used to change advanced configuration
|
|
1760
|
+
options for a DigitalOcean managed PostgreSQL database cluster.
|
|
1761
|
+
|
|
1762
|
+
> **Note** PostgreSQL configurations are only removed from state when destroyed. The remote configuration is not unset.
|
|
1763
|
+
|
|
1764
|
+
## Example Usage
|
|
1765
|
+
|
|
1766
|
+
```python
|
|
1767
|
+
import pulumi
|
|
1768
|
+
import pulumi_digitalocean as digitalocean
|
|
1769
|
+
|
|
1770
|
+
example_database_cluster = digitalocean.DatabaseCluster("example",
|
|
1771
|
+
name="example-postgresql-cluster",
|
|
1772
|
+
engine="pg",
|
|
1773
|
+
version="15",
|
|
1774
|
+
size=digitalocean.DatabaseSlug.D_B_1_VPCU1_GB,
|
|
1775
|
+
region=digitalocean.Region.NYC1,
|
|
1776
|
+
node_count=1)
|
|
1777
|
+
example = digitalocean.DatabasePostgresqlConfig("example",
|
|
1778
|
+
cluster_id=example_database_cluster.id,
|
|
1779
|
+
timezone="UTC",
|
|
1780
|
+
work_mem=16)
|
|
1781
|
+
```
|
|
1782
|
+
|
|
1783
|
+
## Import
|
|
1784
|
+
|
|
1785
|
+
A PostgreSQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.
|
|
1786
|
+
|
|
1787
|
+
bash
|
|
1788
|
+
|
|
1789
|
+
```sh
|
|
1790
|
+
$ pulumi import digitalocean:index/databasePostgresqlConfig:DatabasePostgresqlConfig example 52556c07-788e-4d41-b8a7-c796432197d1
|
|
1791
|
+
```
|
|
1792
|
+
|
|
1793
|
+
:param str resource_name: The name of the resource.
|
|
1794
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1795
|
+
:param pulumi.Input[float] autovacuum_analyze_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
1796
|
+
:param pulumi.Input[int] 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.
|
|
1797
|
+
:param pulumi.Input[int] autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
1798
|
+
:param pulumi.Input[int] 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.
|
|
1799
|
+
:param pulumi.Input[int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
1800
|
+
:param pulumi.Input[int] autovacuum_vacuum_cost_delay: Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
1801
|
+
:param pulumi.Input[int] 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.
|
|
1802
|
+
:param pulumi.Input[float] autovacuum_vacuum_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
1803
|
+
:param pulumi.Input[int] 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.
|
|
1804
|
+
:param pulumi.Input[int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1805
|
+
:param pulumi.Input[int] backup_minute: The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
1806
|
+
:param pulumi.Input[int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
1807
|
+
:param pulumi.Input[int] bgwriter_flush_after: The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
1808
|
+
:param pulumi.Input[int] bgwriter_lru_maxpages: The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
1809
|
+
:param pulumi.Input[float] 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.
|
|
1810
|
+
:param pulumi.Input[str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
1811
|
+
:param pulumi.Input[int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
1812
|
+
:param pulumi.Input[str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
1813
|
+
:param pulumi.Input[int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
1814
|
+
:param pulumi.Input[bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
1815
|
+
:param pulumi.Input[int] log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
1816
|
+
:param pulumi.Input[str] log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
1817
|
+
:param pulumi.Input[str] log_line_prefix: Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
1818
|
+
:param pulumi.Input[int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
1819
|
+
:param pulumi.Input[int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
1820
|
+
:param pulumi.Input[int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
1821
|
+
:param pulumi.Input[int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
1822
|
+
:param pulumi.Input[int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
1823
|
+
:param pulumi.Input[int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
1824
|
+
:param pulumi.Input[int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
1825
|
+
:param pulumi.Input[int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
1826
|
+
:param pulumi.Input[int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
1827
|
+
:param pulumi.Input[int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
1828
|
+
:param pulumi.Input[int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
1829
|
+
:param pulumi.Input[int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
1830
|
+
:param pulumi.Input[int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
1831
|
+
:param pulumi.Input[int] max_worker_processes: Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
1832
|
+
:param pulumi.Input[int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
1833
|
+
:param pulumi.Input[str] pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
1834
|
+
:param pulumi.Input[str] 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. Supported values are: `all`, `top`, `none`.
|
|
1835
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigPgbouncerArgs', 'DatabasePostgresqlConfigPgbouncerArgsDict']]]] pgbouncers: PGBouncer connection pooling settings
|
|
1836
|
+
:param pulumi.Input[float] shared_buffers_percentage: 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.
|
|
1837
|
+
:param pulumi.Input[int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
1838
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigTimescaledbArgs', 'DatabasePostgresqlConfigTimescaledbArgsDict']]]] timescaledbs: TimescaleDB extension configuration values
|
|
1839
|
+
:param pulumi.Input[str] timezone: PostgreSQL service timezone
|
|
1840
|
+
:param pulumi.Input[int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
1841
|
+
:param pulumi.Input[str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
1842
|
+
:param pulumi.Input[str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
1843
|
+
:param pulumi.Input[str] 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. The default value is top. Supported values are: `off`, `on`.
|
|
1844
|
+
:param pulumi.Input[int] 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. Must be either 0 or between 5000 and 10800000.
|
|
1845
|
+
:param pulumi.Input[int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
1846
|
+
:param pulumi.Input[int] work_mem: The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
1847
|
+
"""
|
|
1848
|
+
...
|
|
1849
|
+
@overload
|
|
1850
|
+
def __init__(__self__,
|
|
1851
|
+
resource_name: str,
|
|
1852
|
+
args: DatabasePostgresqlConfigArgs,
|
|
1853
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
1854
|
+
"""
|
|
1855
|
+
Provides a virtual resource that can be used to change advanced configuration
|
|
1856
|
+
options for a DigitalOcean managed PostgreSQL database cluster.
|
|
1857
|
+
|
|
1858
|
+
> **Note** PostgreSQL configurations are only removed from state when destroyed. The remote configuration is not unset.
|
|
1859
|
+
|
|
1860
|
+
## Example Usage
|
|
1861
|
+
|
|
1862
|
+
```python
|
|
1863
|
+
import pulumi
|
|
1864
|
+
import pulumi_digitalocean as digitalocean
|
|
1865
|
+
|
|
1866
|
+
example_database_cluster = digitalocean.DatabaseCluster("example",
|
|
1867
|
+
name="example-postgresql-cluster",
|
|
1868
|
+
engine="pg",
|
|
1869
|
+
version="15",
|
|
1870
|
+
size=digitalocean.DatabaseSlug.D_B_1_VPCU1_GB,
|
|
1871
|
+
region=digitalocean.Region.NYC1,
|
|
1872
|
+
node_count=1)
|
|
1873
|
+
example = digitalocean.DatabasePostgresqlConfig("example",
|
|
1874
|
+
cluster_id=example_database_cluster.id,
|
|
1875
|
+
timezone="UTC",
|
|
1876
|
+
work_mem=16)
|
|
1877
|
+
```
|
|
1878
|
+
|
|
1879
|
+
## Import
|
|
1880
|
+
|
|
1881
|
+
A PostgreSQL database cluster's configuration can be imported using the `id` the parent cluster, e.g.
|
|
1882
|
+
|
|
1883
|
+
bash
|
|
1884
|
+
|
|
1885
|
+
```sh
|
|
1886
|
+
$ pulumi import digitalocean:index/databasePostgresqlConfig:DatabasePostgresqlConfig example 52556c07-788e-4d41-b8a7-c796432197d1
|
|
1887
|
+
```
|
|
1888
|
+
|
|
1889
|
+
:param str resource_name: The name of the resource.
|
|
1890
|
+
:param DatabasePostgresqlConfigArgs args: The arguments to use to populate this resource's properties.
|
|
1891
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1892
|
+
"""
|
|
1893
|
+
...
|
|
1894
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
1895
|
+
resource_args, opts = _utilities.get_resource_args_opts(DatabasePostgresqlConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
1896
|
+
if resource_args is not None:
|
|
1897
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
1898
|
+
else:
|
|
1899
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
1900
|
+
|
|
1901
|
+
def _internal_init(__self__,
|
|
1902
|
+
resource_name: str,
|
|
1903
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1904
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
1905
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[int]] = None,
|
|
1906
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[int]] = None,
|
|
1907
|
+
autovacuum_max_workers: Optional[pulumi.Input[int]] = None,
|
|
1908
|
+
autovacuum_naptime: Optional[pulumi.Input[int]] = None,
|
|
1909
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[int]] = None,
|
|
1910
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[int]] = None,
|
|
1911
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
1912
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[int]] = None,
|
|
1913
|
+
backup_hour: Optional[pulumi.Input[int]] = None,
|
|
1914
|
+
backup_minute: Optional[pulumi.Input[int]] = None,
|
|
1915
|
+
bgwriter_delay: Optional[pulumi.Input[int]] = None,
|
|
1916
|
+
bgwriter_flush_after: Optional[pulumi.Input[int]] = None,
|
|
1917
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[int]] = None,
|
|
1918
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[float]] = None,
|
|
1919
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
1920
|
+
deadlock_timeout: Optional[pulumi.Input[int]] = None,
|
|
1921
|
+
default_toast_compression: Optional[pulumi.Input[str]] = None,
|
|
1922
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[int]] = None,
|
|
1923
|
+
jit: Optional[pulumi.Input[bool]] = None,
|
|
1924
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[int]] = None,
|
|
1925
|
+
log_error_verbosity: Optional[pulumi.Input[str]] = None,
|
|
1926
|
+
log_line_prefix: Optional[pulumi.Input[str]] = None,
|
|
1927
|
+
log_min_duration_statement: Optional[pulumi.Input[int]] = None,
|
|
1928
|
+
max_files_per_process: Optional[pulumi.Input[int]] = None,
|
|
1929
|
+
max_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
1930
|
+
max_logical_replication_workers: Optional[pulumi.Input[int]] = None,
|
|
1931
|
+
max_parallel_workers: Optional[pulumi.Input[int]] = None,
|
|
1932
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[int]] = None,
|
|
1933
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
1934
|
+
max_prepared_transactions: Optional[pulumi.Input[int]] = None,
|
|
1935
|
+
max_replication_slots: Optional[pulumi.Input[int]] = None,
|
|
1936
|
+
max_stack_depth: Optional[pulumi.Input[int]] = None,
|
|
1937
|
+
max_standby_archive_delay: Optional[pulumi.Input[int]] = None,
|
|
1938
|
+
max_standby_streaming_delay: Optional[pulumi.Input[int]] = None,
|
|
1939
|
+
max_wal_senders: Optional[pulumi.Input[int]] = None,
|
|
1940
|
+
max_worker_processes: Optional[pulumi.Input[int]] = None,
|
|
1941
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[int]] = None,
|
|
1942
|
+
pg_partman_bgw_role: Optional[pulumi.Input[str]] = None,
|
|
1943
|
+
pg_stat_statements_track: Optional[pulumi.Input[str]] = None,
|
|
1944
|
+
pgbouncers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigPgbouncerArgs', 'DatabasePostgresqlConfigPgbouncerArgsDict']]]]] = None,
|
|
1945
|
+
shared_buffers_percentage: Optional[pulumi.Input[float]] = None,
|
|
1946
|
+
temp_file_limit: Optional[pulumi.Input[int]] = None,
|
|
1947
|
+
timescaledbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigTimescaledbArgs', 'DatabasePostgresqlConfigTimescaledbArgsDict']]]]] = None,
|
|
1948
|
+
timezone: Optional[pulumi.Input[str]] = None,
|
|
1949
|
+
track_activity_query_size: Optional[pulumi.Input[int]] = None,
|
|
1950
|
+
track_commit_timestamp: Optional[pulumi.Input[str]] = None,
|
|
1951
|
+
track_functions: Optional[pulumi.Input[str]] = None,
|
|
1952
|
+
track_io_timing: Optional[pulumi.Input[str]] = None,
|
|
1953
|
+
wal_sender_timeout: Optional[pulumi.Input[int]] = None,
|
|
1954
|
+
wal_writer_delay: Optional[pulumi.Input[int]] = None,
|
|
1955
|
+
work_mem: Optional[pulumi.Input[int]] = None,
|
|
1956
|
+
__props__=None):
|
|
1957
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1958
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
1959
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
1960
|
+
if opts.id is None:
|
|
1961
|
+
if __props__ is not None:
|
|
1962
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
1963
|
+
__props__ = DatabasePostgresqlConfigArgs.__new__(DatabasePostgresqlConfigArgs)
|
|
1964
|
+
|
|
1965
|
+
__props__.__dict__["autovacuum_analyze_scale_factor"] = autovacuum_analyze_scale_factor
|
|
1966
|
+
__props__.__dict__["autovacuum_analyze_threshold"] = autovacuum_analyze_threshold
|
|
1967
|
+
__props__.__dict__["autovacuum_freeze_max_age"] = autovacuum_freeze_max_age
|
|
1968
|
+
__props__.__dict__["autovacuum_max_workers"] = autovacuum_max_workers
|
|
1969
|
+
__props__.__dict__["autovacuum_naptime"] = autovacuum_naptime
|
|
1970
|
+
__props__.__dict__["autovacuum_vacuum_cost_delay"] = autovacuum_vacuum_cost_delay
|
|
1971
|
+
__props__.__dict__["autovacuum_vacuum_cost_limit"] = autovacuum_vacuum_cost_limit
|
|
1972
|
+
__props__.__dict__["autovacuum_vacuum_scale_factor"] = autovacuum_vacuum_scale_factor
|
|
1973
|
+
__props__.__dict__["autovacuum_vacuum_threshold"] = autovacuum_vacuum_threshold
|
|
1974
|
+
__props__.__dict__["backup_hour"] = backup_hour
|
|
1975
|
+
__props__.__dict__["backup_minute"] = backup_minute
|
|
1976
|
+
__props__.__dict__["bgwriter_delay"] = bgwriter_delay
|
|
1977
|
+
__props__.__dict__["bgwriter_flush_after"] = bgwriter_flush_after
|
|
1978
|
+
__props__.__dict__["bgwriter_lru_maxpages"] = bgwriter_lru_maxpages
|
|
1979
|
+
__props__.__dict__["bgwriter_lru_multiplier"] = bgwriter_lru_multiplier
|
|
1980
|
+
if cluster_id is None and not opts.urn:
|
|
1981
|
+
raise TypeError("Missing required property 'cluster_id'")
|
|
1982
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
|
1983
|
+
__props__.__dict__["deadlock_timeout"] = deadlock_timeout
|
|
1984
|
+
__props__.__dict__["default_toast_compression"] = default_toast_compression
|
|
1985
|
+
__props__.__dict__["idle_in_transaction_session_timeout"] = idle_in_transaction_session_timeout
|
|
1986
|
+
__props__.__dict__["jit"] = jit
|
|
1987
|
+
__props__.__dict__["log_autovacuum_min_duration"] = log_autovacuum_min_duration
|
|
1988
|
+
__props__.__dict__["log_error_verbosity"] = log_error_verbosity
|
|
1989
|
+
__props__.__dict__["log_line_prefix"] = log_line_prefix
|
|
1990
|
+
__props__.__dict__["log_min_duration_statement"] = log_min_duration_statement
|
|
1991
|
+
__props__.__dict__["max_files_per_process"] = max_files_per_process
|
|
1992
|
+
__props__.__dict__["max_locks_per_transaction"] = max_locks_per_transaction
|
|
1993
|
+
__props__.__dict__["max_logical_replication_workers"] = max_logical_replication_workers
|
|
1994
|
+
__props__.__dict__["max_parallel_workers"] = max_parallel_workers
|
|
1995
|
+
__props__.__dict__["max_parallel_workers_per_gather"] = max_parallel_workers_per_gather
|
|
1996
|
+
__props__.__dict__["max_pred_locks_per_transaction"] = max_pred_locks_per_transaction
|
|
1997
|
+
__props__.__dict__["max_prepared_transactions"] = max_prepared_transactions
|
|
1998
|
+
__props__.__dict__["max_replication_slots"] = max_replication_slots
|
|
1999
|
+
__props__.__dict__["max_stack_depth"] = max_stack_depth
|
|
2000
|
+
__props__.__dict__["max_standby_archive_delay"] = max_standby_archive_delay
|
|
2001
|
+
__props__.__dict__["max_standby_streaming_delay"] = max_standby_streaming_delay
|
|
2002
|
+
__props__.__dict__["max_wal_senders"] = max_wal_senders
|
|
2003
|
+
__props__.__dict__["max_worker_processes"] = max_worker_processes
|
|
2004
|
+
__props__.__dict__["pg_partman_bgw_interval"] = pg_partman_bgw_interval
|
|
2005
|
+
__props__.__dict__["pg_partman_bgw_role"] = pg_partman_bgw_role
|
|
2006
|
+
__props__.__dict__["pg_stat_statements_track"] = pg_stat_statements_track
|
|
2007
|
+
__props__.__dict__["pgbouncers"] = pgbouncers
|
|
2008
|
+
__props__.__dict__["shared_buffers_percentage"] = shared_buffers_percentage
|
|
2009
|
+
__props__.__dict__["temp_file_limit"] = temp_file_limit
|
|
2010
|
+
__props__.__dict__["timescaledbs"] = timescaledbs
|
|
2011
|
+
__props__.__dict__["timezone"] = timezone
|
|
2012
|
+
__props__.__dict__["track_activity_query_size"] = track_activity_query_size
|
|
2013
|
+
__props__.__dict__["track_commit_timestamp"] = track_commit_timestamp
|
|
2014
|
+
__props__.__dict__["track_functions"] = track_functions
|
|
2015
|
+
__props__.__dict__["track_io_timing"] = track_io_timing
|
|
2016
|
+
__props__.__dict__["wal_sender_timeout"] = wal_sender_timeout
|
|
2017
|
+
__props__.__dict__["wal_writer_delay"] = wal_writer_delay
|
|
2018
|
+
__props__.__dict__["work_mem"] = work_mem
|
|
2019
|
+
super(DatabasePostgresqlConfig, __self__).__init__(
|
|
2020
|
+
'digitalocean:index/databasePostgresqlConfig:DatabasePostgresqlConfig',
|
|
2021
|
+
resource_name,
|
|
2022
|
+
__props__,
|
|
2023
|
+
opts)
|
|
2024
|
+
|
|
2025
|
+
@staticmethod
|
|
2026
|
+
def get(resource_name: str,
|
|
2027
|
+
id: pulumi.Input[str],
|
|
2028
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
2029
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
2030
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[int]] = None,
|
|
2031
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[int]] = None,
|
|
2032
|
+
autovacuum_max_workers: Optional[pulumi.Input[int]] = None,
|
|
2033
|
+
autovacuum_naptime: Optional[pulumi.Input[int]] = None,
|
|
2034
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[int]] = None,
|
|
2035
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[int]] = None,
|
|
2036
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[float]] = None,
|
|
2037
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[int]] = None,
|
|
2038
|
+
backup_hour: Optional[pulumi.Input[int]] = None,
|
|
2039
|
+
backup_minute: Optional[pulumi.Input[int]] = None,
|
|
2040
|
+
bgwriter_delay: Optional[pulumi.Input[int]] = None,
|
|
2041
|
+
bgwriter_flush_after: Optional[pulumi.Input[int]] = None,
|
|
2042
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[int]] = None,
|
|
2043
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[float]] = None,
|
|
2044
|
+
cluster_id: Optional[pulumi.Input[str]] = None,
|
|
2045
|
+
deadlock_timeout: Optional[pulumi.Input[int]] = None,
|
|
2046
|
+
default_toast_compression: Optional[pulumi.Input[str]] = None,
|
|
2047
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[int]] = None,
|
|
2048
|
+
jit: Optional[pulumi.Input[bool]] = None,
|
|
2049
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[int]] = None,
|
|
2050
|
+
log_error_verbosity: Optional[pulumi.Input[str]] = None,
|
|
2051
|
+
log_line_prefix: Optional[pulumi.Input[str]] = None,
|
|
2052
|
+
log_min_duration_statement: Optional[pulumi.Input[int]] = None,
|
|
2053
|
+
max_files_per_process: Optional[pulumi.Input[int]] = None,
|
|
2054
|
+
max_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
2055
|
+
max_logical_replication_workers: Optional[pulumi.Input[int]] = None,
|
|
2056
|
+
max_parallel_workers: Optional[pulumi.Input[int]] = None,
|
|
2057
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[int]] = None,
|
|
2058
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[int]] = None,
|
|
2059
|
+
max_prepared_transactions: Optional[pulumi.Input[int]] = None,
|
|
2060
|
+
max_replication_slots: Optional[pulumi.Input[int]] = None,
|
|
2061
|
+
max_stack_depth: Optional[pulumi.Input[int]] = None,
|
|
2062
|
+
max_standby_archive_delay: Optional[pulumi.Input[int]] = None,
|
|
2063
|
+
max_standby_streaming_delay: Optional[pulumi.Input[int]] = None,
|
|
2064
|
+
max_wal_senders: Optional[pulumi.Input[int]] = None,
|
|
2065
|
+
max_worker_processes: Optional[pulumi.Input[int]] = None,
|
|
2066
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[int]] = None,
|
|
2067
|
+
pg_partman_bgw_role: Optional[pulumi.Input[str]] = None,
|
|
2068
|
+
pg_stat_statements_track: Optional[pulumi.Input[str]] = None,
|
|
2069
|
+
pgbouncers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigPgbouncerArgs', 'DatabasePostgresqlConfigPgbouncerArgsDict']]]]] = None,
|
|
2070
|
+
shared_buffers_percentage: Optional[pulumi.Input[float]] = None,
|
|
2071
|
+
temp_file_limit: Optional[pulumi.Input[int]] = None,
|
|
2072
|
+
timescaledbs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigTimescaledbArgs', 'DatabasePostgresqlConfigTimescaledbArgsDict']]]]] = None,
|
|
2073
|
+
timezone: Optional[pulumi.Input[str]] = None,
|
|
2074
|
+
track_activity_query_size: Optional[pulumi.Input[int]] = None,
|
|
2075
|
+
track_commit_timestamp: Optional[pulumi.Input[str]] = None,
|
|
2076
|
+
track_functions: Optional[pulumi.Input[str]] = None,
|
|
2077
|
+
track_io_timing: Optional[pulumi.Input[str]] = None,
|
|
2078
|
+
wal_sender_timeout: Optional[pulumi.Input[int]] = None,
|
|
2079
|
+
wal_writer_delay: Optional[pulumi.Input[int]] = None,
|
|
2080
|
+
work_mem: Optional[pulumi.Input[int]] = None) -> 'DatabasePostgresqlConfig':
|
|
2081
|
+
"""
|
|
2082
|
+
Get an existing DatabasePostgresqlConfig resource's state with the given name, id, and optional extra
|
|
2083
|
+
properties used to qualify the lookup.
|
|
2084
|
+
|
|
2085
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
2086
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
2087
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2088
|
+
:param pulumi.Input[float] autovacuum_analyze_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
2089
|
+
:param pulumi.Input[int] 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.
|
|
2090
|
+
:param pulumi.Input[int] autovacuum_freeze_max_age: Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
2091
|
+
:param pulumi.Input[int] 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.
|
|
2092
|
+
:param pulumi.Input[int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
2093
|
+
:param pulumi.Input[int] autovacuum_vacuum_cost_delay: Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
2094
|
+
:param pulumi.Input[int] 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.
|
|
2095
|
+
:param pulumi.Input[float] autovacuum_vacuum_scale_factor: Specifies a fraction, in a decimal value, 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).
|
|
2096
|
+
:param pulumi.Input[int] 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.
|
|
2097
|
+
:param pulumi.Input[int] backup_hour: The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
2098
|
+
:param pulumi.Input[int] backup_minute: The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
2099
|
+
:param pulumi.Input[int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
2100
|
+
:param pulumi.Input[int] bgwriter_flush_after: The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
2101
|
+
:param pulumi.Input[int] bgwriter_lru_maxpages: The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
2102
|
+
:param pulumi.Input[float] 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.
|
|
2103
|
+
:param pulumi.Input[str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
2104
|
+
:param pulumi.Input[int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2105
|
+
:param pulumi.Input[str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
2106
|
+
:param pulumi.Input[int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
2107
|
+
:param pulumi.Input[bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
2108
|
+
:param pulumi.Input[int] log_autovacuum_min_duration: Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
2109
|
+
:param pulumi.Input[str] log_error_verbosity: Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
2110
|
+
:param pulumi.Input[str] log_line_prefix: Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
2111
|
+
:param pulumi.Input[int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
2112
|
+
:param pulumi.Input[int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
2113
|
+
:param pulumi.Input[int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
2114
|
+
:param pulumi.Input[int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2115
|
+
:param pulumi.Input[int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
2116
|
+
:param pulumi.Input[int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2117
|
+
:param pulumi.Input[int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
2118
|
+
:param pulumi.Input[int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
2119
|
+
:param pulumi.Input[int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
2120
|
+
:param pulumi.Input[int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
2121
|
+
:param pulumi.Input[int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
2122
|
+
:param pulumi.Input[int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
2123
|
+
:param pulumi.Input[int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
2124
|
+
:param pulumi.Input[int] max_worker_processes: Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
2125
|
+
:param pulumi.Input[int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
2126
|
+
:param pulumi.Input[str] pg_partman_bgw_role: Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
2127
|
+
:param pulumi.Input[str] 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. Supported values are: `all`, `top`, `none`.
|
|
2128
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigPgbouncerArgs', 'DatabasePostgresqlConfigPgbouncerArgsDict']]]] pgbouncers: PGBouncer connection pooling settings
|
|
2129
|
+
:param pulumi.Input[float] shared_buffers_percentage: 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.
|
|
2130
|
+
:param pulumi.Input[int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
2131
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['DatabasePostgresqlConfigTimescaledbArgs', 'DatabasePostgresqlConfigTimescaledbArgsDict']]]] timescaledbs: TimescaleDB extension configuration values
|
|
2132
|
+
:param pulumi.Input[str] timezone: PostgreSQL service timezone
|
|
2133
|
+
:param pulumi.Input[int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2134
|
+
:param pulumi.Input[str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
2135
|
+
:param pulumi.Input[str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
2136
|
+
:param pulumi.Input[str] 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. The default value is top. Supported values are: `off`, `on`.
|
|
2137
|
+
:param pulumi.Input[int] 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. Must be either 0 or between 5000 and 10800000.
|
|
2138
|
+
:param pulumi.Input[int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
2139
|
+
:param pulumi.Input[int] work_mem: The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2140
|
+
"""
|
|
2141
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
2142
|
+
|
|
2143
|
+
__props__ = _DatabasePostgresqlConfigState.__new__(_DatabasePostgresqlConfigState)
|
|
2144
|
+
|
|
2145
|
+
__props__.__dict__["autovacuum_analyze_scale_factor"] = autovacuum_analyze_scale_factor
|
|
2146
|
+
__props__.__dict__["autovacuum_analyze_threshold"] = autovacuum_analyze_threshold
|
|
2147
|
+
__props__.__dict__["autovacuum_freeze_max_age"] = autovacuum_freeze_max_age
|
|
2148
|
+
__props__.__dict__["autovacuum_max_workers"] = autovacuum_max_workers
|
|
2149
|
+
__props__.__dict__["autovacuum_naptime"] = autovacuum_naptime
|
|
2150
|
+
__props__.__dict__["autovacuum_vacuum_cost_delay"] = autovacuum_vacuum_cost_delay
|
|
2151
|
+
__props__.__dict__["autovacuum_vacuum_cost_limit"] = autovacuum_vacuum_cost_limit
|
|
2152
|
+
__props__.__dict__["autovacuum_vacuum_scale_factor"] = autovacuum_vacuum_scale_factor
|
|
2153
|
+
__props__.__dict__["autovacuum_vacuum_threshold"] = autovacuum_vacuum_threshold
|
|
2154
|
+
__props__.__dict__["backup_hour"] = backup_hour
|
|
2155
|
+
__props__.__dict__["backup_minute"] = backup_minute
|
|
2156
|
+
__props__.__dict__["bgwriter_delay"] = bgwriter_delay
|
|
2157
|
+
__props__.__dict__["bgwriter_flush_after"] = bgwriter_flush_after
|
|
2158
|
+
__props__.__dict__["bgwriter_lru_maxpages"] = bgwriter_lru_maxpages
|
|
2159
|
+
__props__.__dict__["bgwriter_lru_multiplier"] = bgwriter_lru_multiplier
|
|
2160
|
+
__props__.__dict__["cluster_id"] = cluster_id
|
|
2161
|
+
__props__.__dict__["deadlock_timeout"] = deadlock_timeout
|
|
2162
|
+
__props__.__dict__["default_toast_compression"] = default_toast_compression
|
|
2163
|
+
__props__.__dict__["idle_in_transaction_session_timeout"] = idle_in_transaction_session_timeout
|
|
2164
|
+
__props__.__dict__["jit"] = jit
|
|
2165
|
+
__props__.__dict__["log_autovacuum_min_duration"] = log_autovacuum_min_duration
|
|
2166
|
+
__props__.__dict__["log_error_verbosity"] = log_error_verbosity
|
|
2167
|
+
__props__.__dict__["log_line_prefix"] = log_line_prefix
|
|
2168
|
+
__props__.__dict__["log_min_duration_statement"] = log_min_duration_statement
|
|
2169
|
+
__props__.__dict__["max_files_per_process"] = max_files_per_process
|
|
2170
|
+
__props__.__dict__["max_locks_per_transaction"] = max_locks_per_transaction
|
|
2171
|
+
__props__.__dict__["max_logical_replication_workers"] = max_logical_replication_workers
|
|
2172
|
+
__props__.__dict__["max_parallel_workers"] = max_parallel_workers
|
|
2173
|
+
__props__.__dict__["max_parallel_workers_per_gather"] = max_parallel_workers_per_gather
|
|
2174
|
+
__props__.__dict__["max_pred_locks_per_transaction"] = max_pred_locks_per_transaction
|
|
2175
|
+
__props__.__dict__["max_prepared_transactions"] = max_prepared_transactions
|
|
2176
|
+
__props__.__dict__["max_replication_slots"] = max_replication_slots
|
|
2177
|
+
__props__.__dict__["max_stack_depth"] = max_stack_depth
|
|
2178
|
+
__props__.__dict__["max_standby_archive_delay"] = max_standby_archive_delay
|
|
2179
|
+
__props__.__dict__["max_standby_streaming_delay"] = max_standby_streaming_delay
|
|
2180
|
+
__props__.__dict__["max_wal_senders"] = max_wal_senders
|
|
2181
|
+
__props__.__dict__["max_worker_processes"] = max_worker_processes
|
|
2182
|
+
__props__.__dict__["pg_partman_bgw_interval"] = pg_partman_bgw_interval
|
|
2183
|
+
__props__.__dict__["pg_partman_bgw_role"] = pg_partman_bgw_role
|
|
2184
|
+
__props__.__dict__["pg_stat_statements_track"] = pg_stat_statements_track
|
|
2185
|
+
__props__.__dict__["pgbouncers"] = pgbouncers
|
|
2186
|
+
__props__.__dict__["shared_buffers_percentage"] = shared_buffers_percentage
|
|
2187
|
+
__props__.__dict__["temp_file_limit"] = temp_file_limit
|
|
2188
|
+
__props__.__dict__["timescaledbs"] = timescaledbs
|
|
2189
|
+
__props__.__dict__["timezone"] = timezone
|
|
2190
|
+
__props__.__dict__["track_activity_query_size"] = track_activity_query_size
|
|
2191
|
+
__props__.__dict__["track_commit_timestamp"] = track_commit_timestamp
|
|
2192
|
+
__props__.__dict__["track_functions"] = track_functions
|
|
2193
|
+
__props__.__dict__["track_io_timing"] = track_io_timing
|
|
2194
|
+
__props__.__dict__["wal_sender_timeout"] = wal_sender_timeout
|
|
2195
|
+
__props__.__dict__["wal_writer_delay"] = wal_writer_delay
|
|
2196
|
+
__props__.__dict__["work_mem"] = work_mem
|
|
2197
|
+
return DatabasePostgresqlConfig(resource_name, opts=opts, __props__=__props__)
|
|
2198
|
+
|
|
2199
|
+
@property
|
|
2200
|
+
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
2201
|
+
def autovacuum_analyze_scale_factor(self) -> pulumi.Output[float]:
|
|
2202
|
+
"""
|
|
2203
|
+
Specifies a fraction, in a decimal value, 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).
|
|
2204
|
+
"""
|
|
2205
|
+
return pulumi.get(self, "autovacuum_analyze_scale_factor")
|
|
2206
|
+
|
|
2207
|
+
@property
|
|
2208
|
+
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
2209
|
+
def autovacuum_analyze_threshold(self) -> pulumi.Output[int]:
|
|
2210
|
+
"""
|
|
2211
|
+
Specifies the minimum number of inserted, updated, or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
|
|
2212
|
+
"""
|
|
2213
|
+
return pulumi.get(self, "autovacuum_analyze_threshold")
|
|
2214
|
+
|
|
2215
|
+
@property
|
|
2216
|
+
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
2217
|
+
def autovacuum_freeze_max_age(self) -> pulumi.Output[int]:
|
|
2218
|
+
"""
|
|
2219
|
+
Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted.
|
|
2220
|
+
"""
|
|
2221
|
+
return pulumi.get(self, "autovacuum_freeze_max_age")
|
|
2222
|
+
|
|
2223
|
+
@property
|
|
2224
|
+
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
2225
|
+
def autovacuum_max_workers(self) -> pulumi.Output[int]:
|
|
2226
|
+
"""
|
|
2227
|
+
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.
|
|
2228
|
+
"""
|
|
2229
|
+
return pulumi.get(self, "autovacuum_max_workers")
|
|
2230
|
+
|
|
2231
|
+
@property
|
|
2232
|
+
@pulumi.getter(name="autovacuumNaptime")
|
|
2233
|
+
def autovacuum_naptime(self) -> pulumi.Output[int]:
|
|
2234
|
+
"""
|
|
2235
|
+
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
2236
|
+
"""
|
|
2237
|
+
return pulumi.get(self, "autovacuum_naptime")
|
|
2238
|
+
|
|
2239
|
+
@property
|
|
2240
|
+
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
2241
|
+
def autovacuum_vacuum_cost_delay(self) -> pulumi.Output[int]:
|
|
2242
|
+
"""
|
|
2243
|
+
Specifies the cost delay value, in milliseconds, that will be used in automatic VACUUM operations. If -1, uses the regular vacuum_cost_delay value, which is 20 milliseconds.
|
|
2244
|
+
"""
|
|
2245
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_delay")
|
|
2246
|
+
|
|
2247
|
+
@property
|
|
2248
|
+
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
2249
|
+
def autovacuum_vacuum_cost_limit(self) -> pulumi.Output[int]:
|
|
2250
|
+
"""
|
|
2251
|
+
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.
|
|
2252
|
+
"""
|
|
2253
|
+
return pulumi.get(self, "autovacuum_vacuum_cost_limit")
|
|
2254
|
+
|
|
2255
|
+
@property
|
|
2256
|
+
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
2257
|
+
def autovacuum_vacuum_scale_factor(self) -> pulumi.Output[float]:
|
|
2258
|
+
"""
|
|
2259
|
+
Specifies a fraction, in a decimal value, 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).
|
|
2260
|
+
"""
|
|
2261
|
+
return pulumi.get(self, "autovacuum_vacuum_scale_factor")
|
|
2262
|
+
|
|
2263
|
+
@property
|
|
2264
|
+
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
2265
|
+
def autovacuum_vacuum_threshold(self) -> pulumi.Output[int]:
|
|
2266
|
+
"""
|
|
2267
|
+
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
|
|
2268
|
+
"""
|
|
2269
|
+
return pulumi.get(self, "autovacuum_vacuum_threshold")
|
|
2270
|
+
|
|
2271
|
+
@property
|
|
2272
|
+
@pulumi.getter(name="backupHour")
|
|
2273
|
+
def backup_hour(self) -> pulumi.Output[int]:
|
|
2274
|
+
"""
|
|
2275
|
+
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
2276
|
+
"""
|
|
2277
|
+
return pulumi.get(self, "backup_hour")
|
|
2278
|
+
|
|
2279
|
+
@property
|
|
2280
|
+
@pulumi.getter(name="backupMinute")
|
|
2281
|
+
def backup_minute(self) -> pulumi.Output[int]:
|
|
2282
|
+
"""
|
|
2283
|
+
The minute of the backup hour when backup for the service starts. New backup is only started if previous backup has already completed.
|
|
2284
|
+
"""
|
|
2285
|
+
return pulumi.get(self, "backup_minute")
|
|
2286
|
+
|
|
2287
|
+
@property
|
|
2288
|
+
@pulumi.getter(name="bgwriterDelay")
|
|
2289
|
+
def bgwriter_delay(self) -> pulumi.Output[int]:
|
|
2290
|
+
"""
|
|
2291
|
+
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
2292
|
+
"""
|
|
2293
|
+
return pulumi.get(self, "bgwriter_delay")
|
|
2294
|
+
|
|
2295
|
+
@property
|
|
2296
|
+
@pulumi.getter(name="bgwriterFlushAfter")
|
|
2297
|
+
def bgwriter_flush_after(self) -> pulumi.Output[int]:
|
|
2298
|
+
"""
|
|
2299
|
+
The amount of kilobytes that need to be written by the background writer before attempting to force the OS to issue these writes to underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback.
|
|
2300
|
+
"""
|
|
2301
|
+
return pulumi.get(self, "bgwriter_flush_after")
|
|
2302
|
+
|
|
2303
|
+
@property
|
|
2304
|
+
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
2305
|
+
def bgwriter_lru_maxpages(self) -> pulumi.Output[int]:
|
|
2306
|
+
"""
|
|
2307
|
+
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
2308
|
+
"""
|
|
2309
|
+
return pulumi.get(self, "bgwriter_lru_maxpages")
|
|
2310
|
+
|
|
2311
|
+
@property
|
|
2312
|
+
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
2313
|
+
def bgwriter_lru_multiplier(self) -> pulumi.Output[float]:
|
|
2314
|
+
"""
|
|
2315
|
+
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.
|
|
2316
|
+
"""
|
|
2317
|
+
return pulumi.get(self, "bgwriter_lru_multiplier")
|
|
2318
|
+
|
|
2319
|
+
@property
|
|
2320
|
+
@pulumi.getter(name="clusterId")
|
|
2321
|
+
def cluster_id(self) -> pulumi.Output[str]:
|
|
2322
|
+
"""
|
|
2323
|
+
The ID of the target PostgreSQL cluster.
|
|
2324
|
+
"""
|
|
2325
|
+
return pulumi.get(self, "cluster_id")
|
|
2326
|
+
|
|
2327
|
+
@property
|
|
2328
|
+
@pulumi.getter(name="deadlockTimeout")
|
|
2329
|
+
def deadlock_timeout(self) -> pulumi.Output[int]:
|
|
2330
|
+
"""
|
|
2331
|
+
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2332
|
+
"""
|
|
2333
|
+
return pulumi.get(self, "deadlock_timeout")
|
|
2334
|
+
|
|
2335
|
+
@property
|
|
2336
|
+
@pulumi.getter(name="defaultToastCompression")
|
|
2337
|
+
def default_toast_compression(self) -> pulumi.Output[str]:
|
|
2338
|
+
"""
|
|
2339
|
+
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
2340
|
+
"""
|
|
2341
|
+
return pulumi.get(self, "default_toast_compression")
|
|
2342
|
+
|
|
2343
|
+
@property
|
|
2344
|
+
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
2345
|
+
def idle_in_transaction_session_timeout(self) -> pulumi.Output[int]:
|
|
2346
|
+
"""
|
|
2347
|
+
Time out sessions with open transactions after this number of milliseconds
|
|
2348
|
+
"""
|
|
2349
|
+
return pulumi.get(self, "idle_in_transaction_session_timeout")
|
|
2350
|
+
|
|
2351
|
+
@property
|
|
2352
|
+
@pulumi.getter
|
|
2353
|
+
def jit(self) -> pulumi.Output[bool]:
|
|
2354
|
+
"""
|
|
2355
|
+
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
2356
|
+
"""
|
|
2357
|
+
return pulumi.get(self, "jit")
|
|
2358
|
+
|
|
2359
|
+
@property
|
|
2360
|
+
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
2361
|
+
def log_autovacuum_min_duration(self) -> pulumi.Output[int]:
|
|
2362
|
+
"""
|
|
2363
|
+
Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
|
|
2364
|
+
"""
|
|
2365
|
+
return pulumi.get(self, "log_autovacuum_min_duration")
|
|
2366
|
+
|
|
2367
|
+
@property
|
|
2368
|
+
@pulumi.getter(name="logErrorVerbosity")
|
|
2369
|
+
def log_error_verbosity(self) -> pulumi.Output[str]:
|
|
2370
|
+
"""
|
|
2371
|
+
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
2372
|
+
"""
|
|
2373
|
+
return pulumi.get(self, "log_error_verbosity")
|
|
2374
|
+
|
|
2375
|
+
@property
|
|
2376
|
+
@pulumi.getter(name="logLinePrefix")
|
|
2377
|
+
def log_line_prefix(self) -> pulumi.Output[str]:
|
|
2378
|
+
"""
|
|
2379
|
+
Selects one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze, etc. Supported values are: `pid=%p,user=%u,db=%d,app=%a,client=%h`, `%m [%p] %q[user=%u,db=%d,app=%a]`, `%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h`.
|
|
2380
|
+
"""
|
|
2381
|
+
return pulumi.get(self, "log_line_prefix")
|
|
2382
|
+
|
|
2383
|
+
@property
|
|
2384
|
+
@pulumi.getter(name="logMinDurationStatement")
|
|
2385
|
+
def log_min_duration_statement(self) -> pulumi.Output[int]:
|
|
2386
|
+
"""
|
|
2387
|
+
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
2388
|
+
"""
|
|
2389
|
+
return pulumi.get(self, "log_min_duration_statement")
|
|
2390
|
+
|
|
2391
|
+
@property
|
|
2392
|
+
@pulumi.getter(name="maxFilesPerProcess")
|
|
2393
|
+
def max_files_per_process(self) -> pulumi.Output[int]:
|
|
2394
|
+
"""
|
|
2395
|
+
PostgreSQL maximum number of files that can be open per process.
|
|
2396
|
+
"""
|
|
2397
|
+
return pulumi.get(self, "max_files_per_process")
|
|
2398
|
+
|
|
2399
|
+
@property
|
|
2400
|
+
@pulumi.getter(name="maxLocksPerTransaction")
|
|
2401
|
+
def max_locks_per_transaction(self) -> pulumi.Output[int]:
|
|
2402
|
+
"""
|
|
2403
|
+
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
2404
|
+
"""
|
|
2405
|
+
return pulumi.get(self, "max_locks_per_transaction")
|
|
2406
|
+
|
|
2407
|
+
@property
|
|
2408
|
+
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
2409
|
+
def max_logical_replication_workers(self) -> pulumi.Output[int]:
|
|
2410
|
+
"""
|
|
2411
|
+
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2412
|
+
"""
|
|
2413
|
+
return pulumi.get(self, "max_logical_replication_workers")
|
|
2414
|
+
|
|
2415
|
+
@property
|
|
2416
|
+
@pulumi.getter(name="maxParallelWorkers")
|
|
2417
|
+
def max_parallel_workers(self) -> pulumi.Output[int]:
|
|
2418
|
+
"""
|
|
2419
|
+
Sets the maximum number of workers that the system can support for parallel queries.
|
|
2420
|
+
"""
|
|
2421
|
+
return pulumi.get(self, "max_parallel_workers")
|
|
2422
|
+
|
|
2423
|
+
@property
|
|
2424
|
+
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
2425
|
+
def max_parallel_workers_per_gather(self) -> pulumi.Output[int]:
|
|
2426
|
+
"""
|
|
2427
|
+
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2428
|
+
"""
|
|
2429
|
+
return pulumi.get(self, "max_parallel_workers_per_gather")
|
|
2430
|
+
|
|
2431
|
+
@property
|
|
2432
|
+
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
2433
|
+
def max_pred_locks_per_transaction(self) -> pulumi.Output[int]:
|
|
2434
|
+
"""
|
|
2435
|
+
PostgreSQL maximum predicate locks per transaction.
|
|
2436
|
+
"""
|
|
2437
|
+
return pulumi.get(self, "max_pred_locks_per_transaction")
|
|
2438
|
+
|
|
2439
|
+
@property
|
|
2440
|
+
@pulumi.getter(name="maxPreparedTransactions")
|
|
2441
|
+
def max_prepared_transactions(self) -> pulumi.Output[int]:
|
|
2442
|
+
"""
|
|
2443
|
+
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
2444
|
+
"""
|
|
2445
|
+
return pulumi.get(self, "max_prepared_transactions")
|
|
2446
|
+
|
|
2447
|
+
@property
|
|
2448
|
+
@pulumi.getter(name="maxReplicationSlots")
|
|
2449
|
+
def max_replication_slots(self) -> pulumi.Output[int]:
|
|
2450
|
+
"""
|
|
2451
|
+
PostgreSQL maximum replication slots.
|
|
2452
|
+
"""
|
|
2453
|
+
return pulumi.get(self, "max_replication_slots")
|
|
2454
|
+
|
|
2455
|
+
@property
|
|
2456
|
+
@pulumi.getter(name="maxStackDepth")
|
|
2457
|
+
def max_stack_depth(self) -> pulumi.Output[int]:
|
|
2458
|
+
"""
|
|
2459
|
+
Maximum depth of the stack in bytes.
|
|
2460
|
+
"""
|
|
2461
|
+
return pulumi.get(self, "max_stack_depth")
|
|
2462
|
+
|
|
2463
|
+
@property
|
|
2464
|
+
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
2465
|
+
def max_standby_archive_delay(self) -> pulumi.Output[int]:
|
|
2466
|
+
"""
|
|
2467
|
+
Max standby archive delay in milliseconds.
|
|
2468
|
+
"""
|
|
2469
|
+
return pulumi.get(self, "max_standby_archive_delay")
|
|
2470
|
+
|
|
2471
|
+
@property
|
|
2472
|
+
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
2473
|
+
def max_standby_streaming_delay(self) -> pulumi.Output[int]:
|
|
2474
|
+
"""
|
|
2475
|
+
Max standby streaming delay in milliseconds.
|
|
2476
|
+
"""
|
|
2477
|
+
return pulumi.get(self, "max_standby_streaming_delay")
|
|
2478
|
+
|
|
2479
|
+
@property
|
|
2480
|
+
@pulumi.getter(name="maxWalSenders")
|
|
2481
|
+
def max_wal_senders(self) -> pulumi.Output[int]:
|
|
2482
|
+
"""
|
|
2483
|
+
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
2484
|
+
"""
|
|
2485
|
+
return pulumi.get(self, "max_wal_senders")
|
|
2486
|
+
|
|
2487
|
+
@property
|
|
2488
|
+
@pulumi.getter(name="maxWorkerProcesses")
|
|
2489
|
+
def max_worker_processes(self) -> pulumi.Output[int]:
|
|
2490
|
+
"""
|
|
2491
|
+
Sets the maximum number of background processes that the system can support. Once increased, this parameter cannot be lowered from its set value.
|
|
2492
|
+
"""
|
|
2493
|
+
return pulumi.get(self, "max_worker_processes")
|
|
2494
|
+
|
|
2495
|
+
@property
|
|
2496
|
+
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
2497
|
+
def pg_partman_bgw_interval(self) -> pulumi.Output[int]:
|
|
2498
|
+
"""
|
|
2499
|
+
Sets the time interval to run pg_partman's scheduled tasks.
|
|
2500
|
+
"""
|
|
2501
|
+
return pulumi.get(self, "pg_partman_bgw_interval")
|
|
2502
|
+
|
|
2503
|
+
@property
|
|
2504
|
+
@pulumi.getter(name="pgPartmanBgwRole")
|
|
2505
|
+
def pg_partman_bgw_role(self) -> pulumi.Output[str]:
|
|
2506
|
+
"""
|
|
2507
|
+
Controls which role to use for pg_partman's scheduled background tasks. Must consist of alpha-numeric characters, dots, underscores, or dashes. May not start with dash or dot. Maximum of 64 characters.
|
|
2508
|
+
"""
|
|
2509
|
+
return pulumi.get(self, "pg_partman_bgw_role")
|
|
2510
|
+
|
|
2511
|
+
@property
|
|
2512
|
+
@pulumi.getter(name="pgStatStatementsTrack")
|
|
2513
|
+
def pg_stat_statements_track(self) -> pulumi.Output[str]:
|
|
2514
|
+
"""
|
|
2515
|
+
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. Supported values are: `all`, `top`, `none`.
|
|
2516
|
+
"""
|
|
2517
|
+
return pulumi.get(self, "pg_stat_statements_track")
|
|
2518
|
+
|
|
2519
|
+
@property
|
|
2520
|
+
@pulumi.getter
|
|
2521
|
+
def pgbouncers(self) -> pulumi.Output[Sequence['outputs.DatabasePostgresqlConfigPgbouncer']]:
|
|
2522
|
+
"""
|
|
2523
|
+
PGBouncer connection pooling settings
|
|
2524
|
+
"""
|
|
2525
|
+
return pulumi.get(self, "pgbouncers")
|
|
2526
|
+
|
|
2527
|
+
@property
|
|
2528
|
+
@pulumi.getter(name="sharedBuffersPercentage")
|
|
2529
|
+
def shared_buffers_percentage(self) -> pulumi.Output[float]:
|
|
2530
|
+
"""
|
|
2531
|
+
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.
|
|
2532
|
+
"""
|
|
2533
|
+
return pulumi.get(self, "shared_buffers_percentage")
|
|
2534
|
+
|
|
2535
|
+
@property
|
|
2536
|
+
@pulumi.getter(name="tempFileLimit")
|
|
2537
|
+
def temp_file_limit(self) -> pulumi.Output[int]:
|
|
2538
|
+
"""
|
|
2539
|
+
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
2540
|
+
"""
|
|
2541
|
+
return pulumi.get(self, "temp_file_limit")
|
|
2542
|
+
|
|
2543
|
+
@property
|
|
2544
|
+
@pulumi.getter
|
|
2545
|
+
def timescaledbs(self) -> pulumi.Output[Sequence['outputs.DatabasePostgresqlConfigTimescaledb']]:
|
|
2546
|
+
"""
|
|
2547
|
+
TimescaleDB extension configuration values
|
|
2548
|
+
"""
|
|
2549
|
+
return pulumi.get(self, "timescaledbs")
|
|
2550
|
+
|
|
2551
|
+
@property
|
|
2552
|
+
@pulumi.getter
|
|
2553
|
+
def timezone(self) -> pulumi.Output[str]:
|
|
2554
|
+
"""
|
|
2555
|
+
PostgreSQL service timezone
|
|
2556
|
+
"""
|
|
2557
|
+
return pulumi.get(self, "timezone")
|
|
2558
|
+
|
|
2559
|
+
@property
|
|
2560
|
+
@pulumi.getter(name="trackActivityQuerySize")
|
|
2561
|
+
def track_activity_query_size(self) -> pulumi.Output[int]:
|
|
2562
|
+
"""
|
|
2563
|
+
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2564
|
+
"""
|
|
2565
|
+
return pulumi.get(self, "track_activity_query_size")
|
|
2566
|
+
|
|
2567
|
+
@property
|
|
2568
|
+
@pulumi.getter(name="trackCommitTimestamp")
|
|
2569
|
+
def track_commit_timestamp(self) -> pulumi.Output[str]:
|
|
2570
|
+
"""
|
|
2571
|
+
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
2572
|
+
"""
|
|
2573
|
+
return pulumi.get(self, "track_commit_timestamp")
|
|
2574
|
+
|
|
2575
|
+
@property
|
|
2576
|
+
@pulumi.getter(name="trackFunctions")
|
|
2577
|
+
def track_functions(self) -> pulumi.Output[str]:
|
|
2578
|
+
"""
|
|
2579
|
+
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
2580
|
+
"""
|
|
2581
|
+
return pulumi.get(self, "track_functions")
|
|
2582
|
+
|
|
2583
|
+
@property
|
|
2584
|
+
@pulumi.getter(name="trackIoTiming")
|
|
2585
|
+
def track_io_timing(self) -> pulumi.Output[str]:
|
|
2586
|
+
"""
|
|
2587
|
+
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. The default value is top. Supported values are: `off`, `on`.
|
|
2588
|
+
"""
|
|
2589
|
+
return pulumi.get(self, "track_io_timing")
|
|
2590
|
+
|
|
2591
|
+
@property
|
|
2592
|
+
@pulumi.getter(name="walSenderTimeout")
|
|
2593
|
+
def wal_sender_timeout(self) -> pulumi.Output[int]:
|
|
2594
|
+
"""
|
|
2595
|
+
Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Must be either 0 or between 5000 and 10800000.
|
|
2596
|
+
"""
|
|
2597
|
+
return pulumi.get(self, "wal_sender_timeout")
|
|
2598
|
+
|
|
2599
|
+
@property
|
|
2600
|
+
@pulumi.getter(name="walWriterDelay")
|
|
2601
|
+
def wal_writer_delay(self) -> pulumi.Output[int]:
|
|
2602
|
+
"""
|
|
2603
|
+
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
2604
|
+
"""
|
|
2605
|
+
return pulumi.get(self, "wal_writer_delay")
|
|
2606
|
+
|
|
2607
|
+
@property
|
|
2608
|
+
@pulumi.getter(name="workMem")
|
|
2609
|
+
def work_mem(self) -> pulumi.Output[int]:
|
|
2610
|
+
"""
|
|
2611
|
+
The maximum amount of memory, in MB, used by a query operation (such as a sort or hash table) before writing to temporary disk files. Default is 1MB + 0.075% of total RAM (up to 32MB).
|
|
2612
|
+
"""
|
|
2613
|
+
return pulumi.get(self, "work_mem")
|
|
2614
|
+
|