pulumi-digitalocean 4.41.0a1742960094__py3-none-any.whl → 4.42.0__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 +11 -0
- pulumi_digitalocean/_enums.py +10 -8
- pulumi_digitalocean/_inputs.py +2829 -2713
- pulumi_digitalocean/app.py +64 -63
- pulumi_digitalocean/cdn.py +85 -84
- pulumi_digitalocean/certificate.py +111 -110
- pulumi_digitalocean/config/__init__.py +1 -0
- pulumi_digitalocean/config/__init__.pyi +1 -0
- pulumi_digitalocean/config/vars.py +1 -0
- pulumi_digitalocean/container_registry.py +71 -70
- pulumi_digitalocean/container_registry_docker_credentials.py +57 -56
- pulumi_digitalocean/custom_image.py +141 -140
- pulumi_digitalocean/database_cluster.py +274 -273
- pulumi_digitalocean/database_connection_pool.py +127 -126
- pulumi_digitalocean/database_db.py +29 -28
- pulumi_digitalocean/database_firewall.py +15 -14
- pulumi_digitalocean/database_kafka_config.py +253 -252
- pulumi_digitalocean/database_kafka_topic.py +64 -63
- pulumi_digitalocean/database_mongodb_config.py +85 -84
- pulumi_digitalocean/database_mysql_config.py +393 -392
- pulumi_digitalocean/database_opensearch_config.py +547 -546
- pulumi_digitalocean/database_postgresql_config.py +701 -700
- pulumi_digitalocean/database_redis_config.py +169 -168
- pulumi_digitalocean/database_replica.py +158 -157
- pulumi_digitalocean/database_user.py +71 -70
- pulumi_digitalocean/dns_record.py +148 -147
- pulumi_digitalocean/domain.py +43 -42
- pulumi_digitalocean/droplet.py +312 -311
- pulumi_digitalocean/droplet_autoscale.py +36 -35
- pulumi_digitalocean/droplet_snapshot.py +57 -56
- pulumi_digitalocean/firewall.py +57 -56
- pulumi_digitalocean/floating_ip.py +50 -49
- pulumi_digitalocean/floating_ip_assignment.py +29 -28
- pulumi_digitalocean/get_account.py +9 -8
- pulumi_digitalocean/get_app.py +15 -14
- pulumi_digitalocean/get_certificate.py +13 -12
- pulumi_digitalocean/get_container_registry.py +13 -12
- pulumi_digitalocean/get_database_ca.py +8 -7
- pulumi_digitalocean/get_database_cluster.py +33 -32
- pulumi_digitalocean/get_database_connection_pool.py +22 -21
- pulumi_digitalocean/get_database_replica.py +29 -28
- pulumi_digitalocean/get_database_user.py +17 -16
- pulumi_digitalocean/get_domain.py +10 -9
- pulumi_digitalocean/get_domains.py +2 -1
- pulumi_digitalocean/get_droplet.py +44 -43
- pulumi_digitalocean/get_droplet_autoscale.py +14 -13
- pulumi_digitalocean/get_droplet_snapshot.py +27 -26
- pulumi_digitalocean/get_droplets.py +7 -6
- pulumi_digitalocean/get_firewall.py +20 -19
- pulumi_digitalocean/get_floating_ip.py +10 -9
- pulumi_digitalocean/get_image.py +33 -32
- pulumi_digitalocean/get_images.py +2 -1
- pulumi_digitalocean/get_kubernetes_cluster.py +29 -28
- pulumi_digitalocean/get_kubernetes_versions.py +9 -8
- pulumi_digitalocean/get_load_balancer.py +31 -30
- pulumi_digitalocean/get_partner_attachment.py +170 -0
- pulumi_digitalocean/get_project.py +20 -19
- pulumi_digitalocean/get_projects.py +2 -1
- pulumi_digitalocean/get_record.py +20 -19
- pulumi_digitalocean/get_records.py +7 -6
- pulumi_digitalocean/get_region.py +11 -10
- pulumi_digitalocean/get_regions.py +2 -1
- pulumi_digitalocean/get_reserved_ip.py +10 -9
- pulumi_digitalocean/get_reserved_ipv6.py +10 -9
- pulumi_digitalocean/get_sizes.py +2 -1
- pulumi_digitalocean/get_spaces_bucket.py +15 -14
- pulumi_digitalocean/get_spaces_bucket_object.py +38 -37
- pulumi_digitalocean/get_spaces_bucket_objects.py +35 -34
- pulumi_digitalocean/get_spaces_buckets.py +2 -1
- pulumi_digitalocean/get_spaces_key.py +9 -8
- pulumi_digitalocean/get_ssh_key.py +9 -8
- pulumi_digitalocean/get_ssh_keys.py +2 -1
- pulumi_digitalocean/get_tag.py +13 -12
- pulumi_digitalocean/get_tags.py +2 -1
- pulumi_digitalocean/get_volume.py +23 -22
- pulumi_digitalocean/get_volume_snapshot.py +28 -27
- pulumi_digitalocean/get_vpc.py +21 -20
- pulumi_digitalocean/get_vpc_peering.py +18 -17
- pulumi_digitalocean/kubernetes_cluster.py +225 -224
- pulumi_digitalocean/kubernetes_node_pool.py +134 -133
- pulumi_digitalocean/load_balancer.py +277 -276
- pulumi_digitalocean/monitor_alert.py +120 -119
- pulumi_digitalocean/outputs.py +3099 -3007
- pulumi_digitalocean/partner_attachment.py +433 -0
- pulumi_digitalocean/project.py +113 -112
- pulumi_digitalocean/project_resources.py +29 -28
- pulumi_digitalocean/provider.py +69 -68
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- pulumi_digitalocean/reserved_ip.py +50 -49
- pulumi_digitalocean/reserved_ip_assignment.py +29 -28
- pulumi_digitalocean/reserved_ipv6.py +44 -43
- pulumi_digitalocean/reserved_ipv6_assignment.py +29 -28
- pulumi_digitalocean/spaces_bucket.py +78 -77
- pulumi_digitalocean/spaces_bucket_cors_configuration.py +29 -28
- pulumi_digitalocean/spaces_bucket_object.py +232 -231
- pulumi_digitalocean/spaces_bucket_policy.py +43 -42
- pulumi_digitalocean/spaces_key.py +36 -35
- pulumi_digitalocean/ssh_key.py +36 -35
- pulumi_digitalocean/tag.py +57 -56
- pulumi_digitalocean/uptime_alert.py +85 -84
- pulumi_digitalocean/uptime_check.py +71 -70
- pulumi_digitalocean/volume.py +148 -147
- pulumi_digitalocean/volume_attachment.py +29 -28
- pulumi_digitalocean/volume_snapshot.py +71 -70
- pulumi_digitalocean/vpc.py +78 -77
- pulumi_digitalocean/vpc_peering.py +43 -42
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/METADATA +1 -1
- pulumi_digitalocean-4.42.0.dist-info/RECORD +112 -0
- pulumi_digitalocean-4.41.0a1742960094.dist-info/RECORD +0 -110
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/WHEEL +0 -0
- {pulumi_digitalocean-4.41.0a1742960094.dist-info → pulumi_digitalocean-4.42.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,112 +22,112 @@ __all__ = ['DatabasePostgresqlConfigArgs', 'DatabasePostgresqlConfig']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class DatabasePostgresqlConfigArgs:
|
|
23
24
|
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,
|
|
25
|
+
cluster_id: pulumi.Input[builtins.str],
|
|
26
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
27
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
28
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[builtins.int]] = None,
|
|
29
|
+
autovacuum_max_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
30
|
+
autovacuum_naptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
31
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
32
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
33
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
34
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
35
|
+
backup_hour: Optional[pulumi.Input[builtins.int]] = None,
|
|
36
|
+
backup_minute: Optional[pulumi.Input[builtins.int]] = None,
|
|
37
|
+
bgwriter_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
38
|
+
bgwriter_flush_after: Optional[pulumi.Input[builtins.int]] = None,
|
|
39
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[builtins.int]] = None,
|
|
40
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[builtins.float]] = None,
|
|
41
|
+
deadlock_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
42
|
+
default_toast_compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
43
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
44
|
+
jit: Optional[pulumi.Input[builtins.bool]] = None,
|
|
45
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[builtins.int]] = None,
|
|
46
|
+
log_error_verbosity: Optional[pulumi.Input[builtins.str]] = None,
|
|
47
|
+
log_line_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
48
|
+
log_min_duration_statement: Optional[pulumi.Input[builtins.int]] = None,
|
|
49
|
+
max_files_per_process: Optional[pulumi.Input[builtins.int]] = None,
|
|
50
|
+
max_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
51
|
+
max_logical_replication_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
52
|
+
max_parallel_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
53
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[builtins.int]] = None,
|
|
54
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
55
|
+
max_prepared_transactions: Optional[pulumi.Input[builtins.int]] = None,
|
|
56
|
+
max_replication_slots: Optional[pulumi.Input[builtins.int]] = None,
|
|
57
|
+
max_stack_depth: Optional[pulumi.Input[builtins.int]] = None,
|
|
58
|
+
max_standby_archive_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
59
|
+
max_standby_streaming_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
60
|
+
max_wal_senders: Optional[pulumi.Input[builtins.int]] = None,
|
|
61
|
+
max_worker_processes: Optional[pulumi.Input[builtins.int]] = None,
|
|
62
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
63
|
+
pg_partman_bgw_role: Optional[pulumi.Input[builtins.str]] = None,
|
|
64
|
+
pg_stat_statements_track: Optional[pulumi.Input[builtins.str]] = None,
|
|
64
65
|
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,
|
|
66
|
+
shared_buffers_percentage: Optional[pulumi.Input[builtins.float]] = None,
|
|
67
|
+
temp_file_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
67
68
|
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):
|
|
69
|
+
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
70
|
+
track_activity_query_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
71
|
+
track_commit_timestamp: Optional[pulumi.Input[builtins.str]] = None,
|
|
72
|
+
track_functions: Optional[pulumi.Input[builtins.str]] = None,
|
|
73
|
+
track_io_timing: Optional[pulumi.Input[builtins.str]] = None,
|
|
74
|
+
wal_sender_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
75
|
+
wal_writer_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
76
|
+
work_mem: Optional[pulumi.Input[builtins.int]] = None):
|
|
76
77
|
"""
|
|
77
78
|
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`.
|
|
79
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
80
|
+
:param pulumi.Input[builtins.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).
|
|
81
|
+
:param pulumi.Input[builtins.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.
|
|
82
|
+
:param pulumi.Input[builtins.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.
|
|
83
|
+
:param pulumi.Input[builtins.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.
|
|
84
|
+
:param pulumi.Input[builtins.int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
85
|
+
:param pulumi.Input[builtins.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.
|
|
86
|
+
:param pulumi.Input[builtins.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.
|
|
87
|
+
:param pulumi.Input[builtins.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).
|
|
88
|
+
:param pulumi.Input[builtins.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.
|
|
89
|
+
:param pulumi.Input[builtins.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.
|
|
90
|
+
:param pulumi.Input[builtins.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.
|
|
91
|
+
:param pulumi.Input[builtins.int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
92
|
+
:param pulumi.Input[builtins.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.
|
|
93
|
+
:param pulumi.Input[builtins.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.
|
|
94
|
+
:param pulumi.Input[builtins.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.
|
|
95
|
+
:param pulumi.Input[builtins.int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
96
|
+
:param pulumi.Input[builtins.str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
97
|
+
:param pulumi.Input[builtins.int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
98
|
+
:param pulumi.Input[builtins.bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
99
|
+
:param pulumi.Input[builtins.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.
|
|
100
|
+
:param pulumi.Input[builtins.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`.
|
|
101
|
+
:param pulumi.Input[builtins.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`.
|
|
102
|
+
:param pulumi.Input[builtins.int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
103
|
+
:param pulumi.Input[builtins.int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
104
|
+
:param pulumi.Input[builtins.int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
105
|
+
:param pulumi.Input[builtins.int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
106
|
+
:param pulumi.Input[builtins.int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
107
|
+
:param pulumi.Input[builtins.int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
108
|
+
:param pulumi.Input[builtins.int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
109
|
+
:param pulumi.Input[builtins.int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
110
|
+
:param pulumi.Input[builtins.int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
111
|
+
:param pulumi.Input[builtins.int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
112
|
+
:param pulumi.Input[builtins.int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
113
|
+
:param pulumi.Input[builtins.int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
114
|
+
:param pulumi.Input[builtins.int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
115
|
+
:param pulumi.Input[builtins.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.
|
|
116
|
+
:param pulumi.Input[builtins.int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
117
|
+
:param pulumi.Input[builtins.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.
|
|
118
|
+
:param pulumi.Input[builtins.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
119
|
: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.
|
|
120
|
+
:param pulumi.Input[builtins.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.
|
|
121
|
+
:param pulumi.Input[builtins.int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
121
122
|
: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).
|
|
123
|
+
:param pulumi.Input[builtins.str] timezone: PostgreSQL service timezone
|
|
124
|
+
:param pulumi.Input[builtins.int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
125
|
+
:param pulumi.Input[builtins.str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
126
|
+
:param pulumi.Input[builtins.str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
127
|
+
:param pulumi.Input[builtins.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`.
|
|
128
|
+
:param pulumi.Input[builtins.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.
|
|
129
|
+
:param pulumi.Input[builtins.int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
130
|
+
:param pulumi.Input[builtins.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
|
"""
|
|
131
132
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
132
133
|
if autovacuum_analyze_scale_factor is not None:
|
|
@@ -234,482 +235,482 @@ class DatabasePostgresqlConfigArgs:
|
|
|
234
235
|
|
|
235
236
|
@property
|
|
236
237
|
@pulumi.getter(name="clusterId")
|
|
237
|
-
def cluster_id(self) -> pulumi.Input[str]:
|
|
238
|
+
def cluster_id(self) -> pulumi.Input[builtins.str]:
|
|
238
239
|
"""
|
|
239
240
|
The ID of the target PostgreSQL cluster.
|
|
240
241
|
"""
|
|
241
242
|
return pulumi.get(self, "cluster_id")
|
|
242
243
|
|
|
243
244
|
@cluster_id.setter
|
|
244
|
-
def cluster_id(self, value: pulumi.Input[str]):
|
|
245
|
+
def cluster_id(self, value: pulumi.Input[builtins.str]):
|
|
245
246
|
pulumi.set(self, "cluster_id", value)
|
|
246
247
|
|
|
247
248
|
@property
|
|
248
249
|
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
249
|
-
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
250
|
+
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
250
251
|
"""
|
|
251
252
|
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
|
"""
|
|
253
254
|
return pulumi.get(self, "autovacuum_analyze_scale_factor")
|
|
254
255
|
|
|
255
256
|
@autovacuum_analyze_scale_factor.setter
|
|
256
|
-
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
257
|
+
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
257
258
|
pulumi.set(self, "autovacuum_analyze_scale_factor", value)
|
|
258
259
|
|
|
259
260
|
@property
|
|
260
261
|
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
261
|
-
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
262
|
+
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
262
263
|
"""
|
|
263
264
|
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
|
"""
|
|
265
266
|
return pulumi.get(self, "autovacuum_analyze_threshold")
|
|
266
267
|
|
|
267
268
|
@autovacuum_analyze_threshold.setter
|
|
268
|
-
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
269
|
+
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
269
270
|
pulumi.set(self, "autovacuum_analyze_threshold", value)
|
|
270
271
|
|
|
271
272
|
@property
|
|
272
273
|
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
273
|
-
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[int]]:
|
|
274
|
+
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
274
275
|
"""
|
|
275
276
|
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
|
"""
|
|
277
278
|
return pulumi.get(self, "autovacuum_freeze_max_age")
|
|
278
279
|
|
|
279
280
|
@autovacuum_freeze_max_age.setter
|
|
280
|
-
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[int]]):
|
|
281
|
+
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
281
282
|
pulumi.set(self, "autovacuum_freeze_max_age", value)
|
|
282
283
|
|
|
283
284
|
@property
|
|
284
285
|
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
285
|
-
def autovacuum_max_workers(self) -> Optional[pulumi.Input[int]]:
|
|
286
|
+
def autovacuum_max_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
286
287
|
"""
|
|
287
288
|
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
|
"""
|
|
289
290
|
return pulumi.get(self, "autovacuum_max_workers")
|
|
290
291
|
|
|
291
292
|
@autovacuum_max_workers.setter
|
|
292
|
-
def autovacuum_max_workers(self, value: Optional[pulumi.Input[int]]):
|
|
293
|
+
def autovacuum_max_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
293
294
|
pulumi.set(self, "autovacuum_max_workers", value)
|
|
294
295
|
|
|
295
296
|
@property
|
|
296
297
|
@pulumi.getter(name="autovacuumNaptime")
|
|
297
|
-
def autovacuum_naptime(self) -> Optional[pulumi.Input[int]]:
|
|
298
|
+
def autovacuum_naptime(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
298
299
|
"""
|
|
299
300
|
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
300
301
|
"""
|
|
301
302
|
return pulumi.get(self, "autovacuum_naptime")
|
|
302
303
|
|
|
303
304
|
@autovacuum_naptime.setter
|
|
304
|
-
def autovacuum_naptime(self, value: Optional[pulumi.Input[int]]):
|
|
305
|
+
def autovacuum_naptime(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
305
306
|
pulumi.set(self, "autovacuum_naptime", value)
|
|
306
307
|
|
|
307
308
|
@property
|
|
308
309
|
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
309
|
-
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[int]]:
|
|
310
|
+
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
310
311
|
"""
|
|
311
312
|
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
|
"""
|
|
313
314
|
return pulumi.get(self, "autovacuum_vacuum_cost_delay")
|
|
314
315
|
|
|
315
316
|
@autovacuum_vacuum_cost_delay.setter
|
|
316
|
-
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[int]]):
|
|
317
|
+
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
317
318
|
pulumi.set(self, "autovacuum_vacuum_cost_delay", value)
|
|
318
319
|
|
|
319
320
|
@property
|
|
320
321
|
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
321
|
-
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[int]]:
|
|
322
|
+
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
322
323
|
"""
|
|
323
324
|
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
|
"""
|
|
325
326
|
return pulumi.get(self, "autovacuum_vacuum_cost_limit")
|
|
326
327
|
|
|
327
328
|
@autovacuum_vacuum_cost_limit.setter
|
|
328
|
-
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[int]]):
|
|
329
|
+
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
329
330
|
pulumi.set(self, "autovacuum_vacuum_cost_limit", value)
|
|
330
331
|
|
|
331
332
|
@property
|
|
332
333
|
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
333
|
-
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
334
|
+
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
334
335
|
"""
|
|
335
336
|
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
|
"""
|
|
337
338
|
return pulumi.get(self, "autovacuum_vacuum_scale_factor")
|
|
338
339
|
|
|
339
340
|
@autovacuum_vacuum_scale_factor.setter
|
|
340
|
-
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
341
|
+
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
341
342
|
pulumi.set(self, "autovacuum_vacuum_scale_factor", value)
|
|
342
343
|
|
|
343
344
|
@property
|
|
344
345
|
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
345
|
-
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
346
|
+
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
346
347
|
"""
|
|
347
348
|
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
|
"""
|
|
349
350
|
return pulumi.get(self, "autovacuum_vacuum_threshold")
|
|
350
351
|
|
|
351
352
|
@autovacuum_vacuum_threshold.setter
|
|
352
|
-
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
353
|
+
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
353
354
|
pulumi.set(self, "autovacuum_vacuum_threshold", value)
|
|
354
355
|
|
|
355
356
|
@property
|
|
356
357
|
@pulumi.getter(name="backupHour")
|
|
357
|
-
def backup_hour(self) -> Optional[pulumi.Input[int]]:
|
|
358
|
+
def backup_hour(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
358
359
|
"""
|
|
359
360
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
360
361
|
"""
|
|
361
362
|
return pulumi.get(self, "backup_hour")
|
|
362
363
|
|
|
363
364
|
@backup_hour.setter
|
|
364
|
-
def backup_hour(self, value: Optional[pulumi.Input[int]]):
|
|
365
|
+
def backup_hour(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
365
366
|
pulumi.set(self, "backup_hour", value)
|
|
366
367
|
|
|
367
368
|
@property
|
|
368
369
|
@pulumi.getter(name="backupMinute")
|
|
369
|
-
def backup_minute(self) -> Optional[pulumi.Input[int]]:
|
|
370
|
+
def backup_minute(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
370
371
|
"""
|
|
371
372
|
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
|
"""
|
|
373
374
|
return pulumi.get(self, "backup_minute")
|
|
374
375
|
|
|
375
376
|
@backup_minute.setter
|
|
376
|
-
def backup_minute(self, value: Optional[pulumi.Input[int]]):
|
|
377
|
+
def backup_minute(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
377
378
|
pulumi.set(self, "backup_minute", value)
|
|
378
379
|
|
|
379
380
|
@property
|
|
380
381
|
@pulumi.getter(name="bgwriterDelay")
|
|
381
|
-
def bgwriter_delay(self) -> Optional[pulumi.Input[int]]:
|
|
382
|
+
def bgwriter_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
382
383
|
"""
|
|
383
384
|
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
384
385
|
"""
|
|
385
386
|
return pulumi.get(self, "bgwriter_delay")
|
|
386
387
|
|
|
387
388
|
@bgwriter_delay.setter
|
|
388
|
-
def bgwriter_delay(self, value: Optional[pulumi.Input[int]]):
|
|
389
|
+
def bgwriter_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
389
390
|
pulumi.set(self, "bgwriter_delay", value)
|
|
390
391
|
|
|
391
392
|
@property
|
|
392
393
|
@pulumi.getter(name="bgwriterFlushAfter")
|
|
393
|
-
def bgwriter_flush_after(self) -> Optional[pulumi.Input[int]]:
|
|
394
|
+
def bgwriter_flush_after(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
394
395
|
"""
|
|
395
396
|
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
|
"""
|
|
397
398
|
return pulumi.get(self, "bgwriter_flush_after")
|
|
398
399
|
|
|
399
400
|
@bgwriter_flush_after.setter
|
|
400
|
-
def bgwriter_flush_after(self, value: Optional[pulumi.Input[int]]):
|
|
401
|
+
def bgwriter_flush_after(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
401
402
|
pulumi.set(self, "bgwriter_flush_after", value)
|
|
402
403
|
|
|
403
404
|
@property
|
|
404
405
|
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
405
|
-
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[int]]:
|
|
406
|
+
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
406
407
|
"""
|
|
407
408
|
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
408
409
|
"""
|
|
409
410
|
return pulumi.get(self, "bgwriter_lru_maxpages")
|
|
410
411
|
|
|
411
412
|
@bgwriter_lru_maxpages.setter
|
|
412
|
-
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[int]]):
|
|
413
|
+
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
413
414
|
pulumi.set(self, "bgwriter_lru_maxpages", value)
|
|
414
415
|
|
|
415
416
|
@property
|
|
416
417
|
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
417
|
-
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[float]]:
|
|
418
|
+
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
418
419
|
"""
|
|
419
420
|
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
|
"""
|
|
421
422
|
return pulumi.get(self, "bgwriter_lru_multiplier")
|
|
422
423
|
|
|
423
424
|
@bgwriter_lru_multiplier.setter
|
|
424
|
-
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[float]]):
|
|
425
|
+
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
425
426
|
pulumi.set(self, "bgwriter_lru_multiplier", value)
|
|
426
427
|
|
|
427
428
|
@property
|
|
428
429
|
@pulumi.getter(name="deadlockTimeout")
|
|
429
|
-
def deadlock_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
430
|
+
def deadlock_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
430
431
|
"""
|
|
431
432
|
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
432
433
|
"""
|
|
433
434
|
return pulumi.get(self, "deadlock_timeout")
|
|
434
435
|
|
|
435
436
|
@deadlock_timeout.setter
|
|
436
|
-
def deadlock_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
437
|
+
def deadlock_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
437
438
|
pulumi.set(self, "deadlock_timeout", value)
|
|
438
439
|
|
|
439
440
|
@property
|
|
440
441
|
@pulumi.getter(name="defaultToastCompression")
|
|
441
|
-
def default_toast_compression(self) -> Optional[pulumi.Input[str]]:
|
|
442
|
+
def default_toast_compression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
442
443
|
"""
|
|
443
444
|
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
444
445
|
"""
|
|
445
446
|
return pulumi.get(self, "default_toast_compression")
|
|
446
447
|
|
|
447
448
|
@default_toast_compression.setter
|
|
448
|
-
def default_toast_compression(self, value: Optional[pulumi.Input[str]]):
|
|
449
|
+
def default_toast_compression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
449
450
|
pulumi.set(self, "default_toast_compression", value)
|
|
450
451
|
|
|
451
452
|
@property
|
|
452
453
|
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
453
|
-
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
454
|
+
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
454
455
|
"""
|
|
455
456
|
Time out sessions with open transactions after this number of milliseconds
|
|
456
457
|
"""
|
|
457
458
|
return pulumi.get(self, "idle_in_transaction_session_timeout")
|
|
458
459
|
|
|
459
460
|
@idle_in_transaction_session_timeout.setter
|
|
460
|
-
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
461
|
+
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
461
462
|
pulumi.set(self, "idle_in_transaction_session_timeout", value)
|
|
462
463
|
|
|
463
464
|
@property
|
|
464
465
|
@pulumi.getter
|
|
465
|
-
def jit(self) -> Optional[pulumi.Input[bool]]:
|
|
466
|
+
def jit(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
466
467
|
"""
|
|
467
468
|
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
468
469
|
"""
|
|
469
470
|
return pulumi.get(self, "jit")
|
|
470
471
|
|
|
471
472
|
@jit.setter
|
|
472
|
-
def jit(self, value: Optional[pulumi.Input[bool]]):
|
|
473
|
+
def jit(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
473
474
|
pulumi.set(self, "jit", value)
|
|
474
475
|
|
|
475
476
|
@property
|
|
476
477
|
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
477
|
-
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[int]]:
|
|
478
|
+
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
478
479
|
"""
|
|
479
480
|
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
|
"""
|
|
481
482
|
return pulumi.get(self, "log_autovacuum_min_duration")
|
|
482
483
|
|
|
483
484
|
@log_autovacuum_min_duration.setter
|
|
484
|
-
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[int]]):
|
|
485
|
+
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
485
486
|
pulumi.set(self, "log_autovacuum_min_duration", value)
|
|
486
487
|
|
|
487
488
|
@property
|
|
488
489
|
@pulumi.getter(name="logErrorVerbosity")
|
|
489
|
-
def log_error_verbosity(self) -> Optional[pulumi.Input[str]]:
|
|
490
|
+
def log_error_verbosity(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
490
491
|
"""
|
|
491
492
|
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
492
493
|
"""
|
|
493
494
|
return pulumi.get(self, "log_error_verbosity")
|
|
494
495
|
|
|
495
496
|
@log_error_verbosity.setter
|
|
496
|
-
def log_error_verbosity(self, value: Optional[pulumi.Input[str]]):
|
|
497
|
+
def log_error_verbosity(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
497
498
|
pulumi.set(self, "log_error_verbosity", value)
|
|
498
499
|
|
|
499
500
|
@property
|
|
500
501
|
@pulumi.getter(name="logLinePrefix")
|
|
501
|
-
def log_line_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
502
|
+
def log_line_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
502
503
|
"""
|
|
503
504
|
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
|
"""
|
|
505
506
|
return pulumi.get(self, "log_line_prefix")
|
|
506
507
|
|
|
507
508
|
@log_line_prefix.setter
|
|
508
|
-
def log_line_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
509
|
+
def log_line_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
509
510
|
pulumi.set(self, "log_line_prefix", value)
|
|
510
511
|
|
|
511
512
|
@property
|
|
512
513
|
@pulumi.getter(name="logMinDurationStatement")
|
|
513
|
-
def log_min_duration_statement(self) -> Optional[pulumi.Input[int]]:
|
|
514
|
+
def log_min_duration_statement(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
514
515
|
"""
|
|
515
516
|
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
516
517
|
"""
|
|
517
518
|
return pulumi.get(self, "log_min_duration_statement")
|
|
518
519
|
|
|
519
520
|
@log_min_duration_statement.setter
|
|
520
|
-
def log_min_duration_statement(self, value: Optional[pulumi.Input[int]]):
|
|
521
|
+
def log_min_duration_statement(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
521
522
|
pulumi.set(self, "log_min_duration_statement", value)
|
|
522
523
|
|
|
523
524
|
@property
|
|
524
525
|
@pulumi.getter(name="maxFilesPerProcess")
|
|
525
|
-
def max_files_per_process(self) -> Optional[pulumi.Input[int]]:
|
|
526
|
+
def max_files_per_process(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
526
527
|
"""
|
|
527
528
|
PostgreSQL maximum number of files that can be open per process.
|
|
528
529
|
"""
|
|
529
530
|
return pulumi.get(self, "max_files_per_process")
|
|
530
531
|
|
|
531
532
|
@max_files_per_process.setter
|
|
532
|
-
def max_files_per_process(self, value: Optional[pulumi.Input[int]]):
|
|
533
|
+
def max_files_per_process(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
533
534
|
pulumi.set(self, "max_files_per_process", value)
|
|
534
535
|
|
|
535
536
|
@property
|
|
536
537
|
@pulumi.getter(name="maxLocksPerTransaction")
|
|
537
|
-
def max_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
538
|
+
def max_locks_per_transaction(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
538
539
|
"""
|
|
539
540
|
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
540
541
|
"""
|
|
541
542
|
return pulumi.get(self, "max_locks_per_transaction")
|
|
542
543
|
|
|
543
544
|
@max_locks_per_transaction.setter
|
|
544
|
-
def max_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
545
|
+
def max_locks_per_transaction(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
545
546
|
pulumi.set(self, "max_locks_per_transaction", value)
|
|
546
547
|
|
|
547
548
|
@property
|
|
548
549
|
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
549
|
-
def max_logical_replication_workers(self) -> Optional[pulumi.Input[int]]:
|
|
550
|
+
def max_logical_replication_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
550
551
|
"""
|
|
551
552
|
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
552
553
|
"""
|
|
553
554
|
return pulumi.get(self, "max_logical_replication_workers")
|
|
554
555
|
|
|
555
556
|
@max_logical_replication_workers.setter
|
|
556
|
-
def max_logical_replication_workers(self, value: Optional[pulumi.Input[int]]):
|
|
557
|
+
def max_logical_replication_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
557
558
|
pulumi.set(self, "max_logical_replication_workers", value)
|
|
558
559
|
|
|
559
560
|
@property
|
|
560
561
|
@pulumi.getter(name="maxParallelWorkers")
|
|
561
|
-
def max_parallel_workers(self) -> Optional[pulumi.Input[int]]:
|
|
562
|
+
def max_parallel_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
562
563
|
"""
|
|
563
564
|
Sets the maximum number of workers that the system can support for parallel queries.
|
|
564
565
|
"""
|
|
565
566
|
return pulumi.get(self, "max_parallel_workers")
|
|
566
567
|
|
|
567
568
|
@max_parallel_workers.setter
|
|
568
|
-
def max_parallel_workers(self, value: Optional[pulumi.Input[int]]):
|
|
569
|
+
def max_parallel_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
569
570
|
pulumi.set(self, "max_parallel_workers", value)
|
|
570
571
|
|
|
571
572
|
@property
|
|
572
573
|
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
573
|
-
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[int]]:
|
|
574
|
+
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
574
575
|
"""
|
|
575
576
|
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
576
577
|
"""
|
|
577
578
|
return pulumi.get(self, "max_parallel_workers_per_gather")
|
|
578
579
|
|
|
579
580
|
@max_parallel_workers_per_gather.setter
|
|
580
|
-
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[int]]):
|
|
581
|
+
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
581
582
|
pulumi.set(self, "max_parallel_workers_per_gather", value)
|
|
582
583
|
|
|
583
584
|
@property
|
|
584
585
|
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
585
|
-
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
586
|
+
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
586
587
|
"""
|
|
587
588
|
PostgreSQL maximum predicate locks per transaction.
|
|
588
589
|
"""
|
|
589
590
|
return pulumi.get(self, "max_pred_locks_per_transaction")
|
|
590
591
|
|
|
591
592
|
@max_pred_locks_per_transaction.setter
|
|
592
|
-
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
593
|
+
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
593
594
|
pulumi.set(self, "max_pred_locks_per_transaction", value)
|
|
594
595
|
|
|
595
596
|
@property
|
|
596
597
|
@pulumi.getter(name="maxPreparedTransactions")
|
|
597
|
-
def max_prepared_transactions(self) -> Optional[pulumi.Input[int]]:
|
|
598
|
+
def max_prepared_transactions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
598
599
|
"""
|
|
599
600
|
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
600
601
|
"""
|
|
601
602
|
return pulumi.get(self, "max_prepared_transactions")
|
|
602
603
|
|
|
603
604
|
@max_prepared_transactions.setter
|
|
604
|
-
def max_prepared_transactions(self, value: Optional[pulumi.Input[int]]):
|
|
605
|
+
def max_prepared_transactions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
605
606
|
pulumi.set(self, "max_prepared_transactions", value)
|
|
606
607
|
|
|
607
608
|
@property
|
|
608
609
|
@pulumi.getter(name="maxReplicationSlots")
|
|
609
|
-
def max_replication_slots(self) -> Optional[pulumi.Input[int]]:
|
|
610
|
+
def max_replication_slots(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
610
611
|
"""
|
|
611
612
|
PostgreSQL maximum replication slots.
|
|
612
613
|
"""
|
|
613
614
|
return pulumi.get(self, "max_replication_slots")
|
|
614
615
|
|
|
615
616
|
@max_replication_slots.setter
|
|
616
|
-
def max_replication_slots(self, value: Optional[pulumi.Input[int]]):
|
|
617
|
+
def max_replication_slots(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
617
618
|
pulumi.set(self, "max_replication_slots", value)
|
|
618
619
|
|
|
619
620
|
@property
|
|
620
621
|
@pulumi.getter(name="maxStackDepth")
|
|
621
|
-
def max_stack_depth(self) -> Optional[pulumi.Input[int]]:
|
|
622
|
+
def max_stack_depth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
622
623
|
"""
|
|
623
624
|
Maximum depth of the stack in bytes.
|
|
624
625
|
"""
|
|
625
626
|
return pulumi.get(self, "max_stack_depth")
|
|
626
627
|
|
|
627
628
|
@max_stack_depth.setter
|
|
628
|
-
def max_stack_depth(self, value: Optional[pulumi.Input[int]]):
|
|
629
|
+
def max_stack_depth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
629
630
|
pulumi.set(self, "max_stack_depth", value)
|
|
630
631
|
|
|
631
632
|
@property
|
|
632
633
|
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
633
|
-
def max_standby_archive_delay(self) -> Optional[pulumi.Input[int]]:
|
|
634
|
+
def max_standby_archive_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
634
635
|
"""
|
|
635
636
|
Max standby archive delay in milliseconds.
|
|
636
637
|
"""
|
|
637
638
|
return pulumi.get(self, "max_standby_archive_delay")
|
|
638
639
|
|
|
639
640
|
@max_standby_archive_delay.setter
|
|
640
|
-
def max_standby_archive_delay(self, value: Optional[pulumi.Input[int]]):
|
|
641
|
+
def max_standby_archive_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
641
642
|
pulumi.set(self, "max_standby_archive_delay", value)
|
|
642
643
|
|
|
643
644
|
@property
|
|
644
645
|
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
645
|
-
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[int]]:
|
|
646
|
+
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
646
647
|
"""
|
|
647
648
|
Max standby streaming delay in milliseconds.
|
|
648
649
|
"""
|
|
649
650
|
return pulumi.get(self, "max_standby_streaming_delay")
|
|
650
651
|
|
|
651
652
|
@max_standby_streaming_delay.setter
|
|
652
|
-
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[int]]):
|
|
653
|
+
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
653
654
|
pulumi.set(self, "max_standby_streaming_delay", value)
|
|
654
655
|
|
|
655
656
|
@property
|
|
656
657
|
@pulumi.getter(name="maxWalSenders")
|
|
657
|
-
def max_wal_senders(self) -> Optional[pulumi.Input[int]]:
|
|
658
|
+
def max_wal_senders(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
658
659
|
"""
|
|
659
660
|
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
660
661
|
"""
|
|
661
662
|
return pulumi.get(self, "max_wal_senders")
|
|
662
663
|
|
|
663
664
|
@max_wal_senders.setter
|
|
664
|
-
def max_wal_senders(self, value: Optional[pulumi.Input[int]]):
|
|
665
|
+
def max_wal_senders(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
665
666
|
pulumi.set(self, "max_wal_senders", value)
|
|
666
667
|
|
|
667
668
|
@property
|
|
668
669
|
@pulumi.getter(name="maxWorkerProcesses")
|
|
669
|
-
def max_worker_processes(self) -> Optional[pulumi.Input[int]]:
|
|
670
|
+
def max_worker_processes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
670
671
|
"""
|
|
671
672
|
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
|
"""
|
|
673
674
|
return pulumi.get(self, "max_worker_processes")
|
|
674
675
|
|
|
675
676
|
@max_worker_processes.setter
|
|
676
|
-
def max_worker_processes(self, value: Optional[pulumi.Input[int]]):
|
|
677
|
+
def max_worker_processes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
677
678
|
pulumi.set(self, "max_worker_processes", value)
|
|
678
679
|
|
|
679
680
|
@property
|
|
680
681
|
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
681
|
-
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[int]]:
|
|
682
|
+
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
682
683
|
"""
|
|
683
684
|
Sets the time interval to run pg_partman's scheduled tasks.
|
|
684
685
|
"""
|
|
685
686
|
return pulumi.get(self, "pg_partman_bgw_interval")
|
|
686
687
|
|
|
687
688
|
@pg_partman_bgw_interval.setter
|
|
688
|
-
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[int]]):
|
|
689
|
+
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
689
690
|
pulumi.set(self, "pg_partman_bgw_interval", value)
|
|
690
691
|
|
|
691
692
|
@property
|
|
692
693
|
@pulumi.getter(name="pgPartmanBgwRole")
|
|
693
|
-
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[str]]:
|
|
694
|
+
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
694
695
|
"""
|
|
695
696
|
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
|
"""
|
|
697
698
|
return pulumi.get(self, "pg_partman_bgw_role")
|
|
698
699
|
|
|
699
700
|
@pg_partman_bgw_role.setter
|
|
700
|
-
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[str]]):
|
|
701
|
+
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
701
702
|
pulumi.set(self, "pg_partman_bgw_role", value)
|
|
702
703
|
|
|
703
704
|
@property
|
|
704
705
|
@pulumi.getter(name="pgStatStatementsTrack")
|
|
705
|
-
def pg_stat_statements_track(self) -> Optional[pulumi.Input[str]]:
|
|
706
|
+
def pg_stat_statements_track(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
706
707
|
"""
|
|
707
708
|
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
|
"""
|
|
709
710
|
return pulumi.get(self, "pg_stat_statements_track")
|
|
710
711
|
|
|
711
712
|
@pg_stat_statements_track.setter
|
|
712
|
-
def pg_stat_statements_track(self, value: Optional[pulumi.Input[str]]):
|
|
713
|
+
def pg_stat_statements_track(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
713
714
|
pulumi.set(self, "pg_stat_statements_track", value)
|
|
714
715
|
|
|
715
716
|
@property
|
|
@@ -726,26 +727,26 @@ class DatabasePostgresqlConfigArgs:
|
|
|
726
727
|
|
|
727
728
|
@property
|
|
728
729
|
@pulumi.getter(name="sharedBuffersPercentage")
|
|
729
|
-
def shared_buffers_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
730
|
+
def shared_buffers_percentage(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
730
731
|
"""
|
|
731
732
|
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
|
"""
|
|
733
734
|
return pulumi.get(self, "shared_buffers_percentage")
|
|
734
735
|
|
|
735
736
|
@shared_buffers_percentage.setter
|
|
736
|
-
def shared_buffers_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
737
|
+
def shared_buffers_percentage(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
737
738
|
pulumi.set(self, "shared_buffers_percentage", value)
|
|
738
739
|
|
|
739
740
|
@property
|
|
740
741
|
@pulumi.getter(name="tempFileLimit")
|
|
741
|
-
def temp_file_limit(self) -> Optional[pulumi.Input[int]]:
|
|
742
|
+
def temp_file_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
742
743
|
"""
|
|
743
744
|
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
744
745
|
"""
|
|
745
746
|
return pulumi.get(self, "temp_file_limit")
|
|
746
747
|
|
|
747
748
|
@temp_file_limit.setter
|
|
748
|
-
def temp_file_limit(self, value: Optional[pulumi.Input[int]]):
|
|
749
|
+
def temp_file_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
749
750
|
pulumi.set(self, "temp_file_limit", value)
|
|
750
751
|
|
|
751
752
|
@property
|
|
@@ -762,210 +763,210 @@ class DatabasePostgresqlConfigArgs:
|
|
|
762
763
|
|
|
763
764
|
@property
|
|
764
765
|
@pulumi.getter
|
|
765
|
-
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
766
|
+
def timezone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
766
767
|
"""
|
|
767
768
|
PostgreSQL service timezone
|
|
768
769
|
"""
|
|
769
770
|
return pulumi.get(self, "timezone")
|
|
770
771
|
|
|
771
772
|
@timezone.setter
|
|
772
|
-
def timezone(self, value: Optional[pulumi.Input[str]]):
|
|
773
|
+
def timezone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
773
774
|
pulumi.set(self, "timezone", value)
|
|
774
775
|
|
|
775
776
|
@property
|
|
776
777
|
@pulumi.getter(name="trackActivityQuerySize")
|
|
777
|
-
def track_activity_query_size(self) -> Optional[pulumi.Input[int]]:
|
|
778
|
+
def track_activity_query_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
778
779
|
"""
|
|
779
780
|
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
780
781
|
"""
|
|
781
782
|
return pulumi.get(self, "track_activity_query_size")
|
|
782
783
|
|
|
783
784
|
@track_activity_query_size.setter
|
|
784
|
-
def track_activity_query_size(self, value: Optional[pulumi.Input[int]]):
|
|
785
|
+
def track_activity_query_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
785
786
|
pulumi.set(self, "track_activity_query_size", value)
|
|
786
787
|
|
|
787
788
|
@property
|
|
788
789
|
@pulumi.getter(name="trackCommitTimestamp")
|
|
789
|
-
def track_commit_timestamp(self) -> Optional[pulumi.Input[str]]:
|
|
790
|
+
def track_commit_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
790
791
|
"""
|
|
791
792
|
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
792
793
|
"""
|
|
793
794
|
return pulumi.get(self, "track_commit_timestamp")
|
|
794
795
|
|
|
795
796
|
@track_commit_timestamp.setter
|
|
796
|
-
def track_commit_timestamp(self, value: Optional[pulumi.Input[str]]):
|
|
797
|
+
def track_commit_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
797
798
|
pulumi.set(self, "track_commit_timestamp", value)
|
|
798
799
|
|
|
799
800
|
@property
|
|
800
801
|
@pulumi.getter(name="trackFunctions")
|
|
801
|
-
def track_functions(self) -> Optional[pulumi.Input[str]]:
|
|
802
|
+
def track_functions(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
802
803
|
"""
|
|
803
804
|
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
804
805
|
"""
|
|
805
806
|
return pulumi.get(self, "track_functions")
|
|
806
807
|
|
|
807
808
|
@track_functions.setter
|
|
808
|
-
def track_functions(self, value: Optional[pulumi.Input[str]]):
|
|
809
|
+
def track_functions(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
809
810
|
pulumi.set(self, "track_functions", value)
|
|
810
811
|
|
|
811
812
|
@property
|
|
812
813
|
@pulumi.getter(name="trackIoTiming")
|
|
813
|
-
def track_io_timing(self) -> Optional[pulumi.Input[str]]:
|
|
814
|
+
def track_io_timing(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
814
815
|
"""
|
|
815
816
|
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
|
"""
|
|
817
818
|
return pulumi.get(self, "track_io_timing")
|
|
818
819
|
|
|
819
820
|
@track_io_timing.setter
|
|
820
|
-
def track_io_timing(self, value: Optional[pulumi.Input[str]]):
|
|
821
|
+
def track_io_timing(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
821
822
|
pulumi.set(self, "track_io_timing", value)
|
|
822
823
|
|
|
823
824
|
@property
|
|
824
825
|
@pulumi.getter(name="walSenderTimeout")
|
|
825
|
-
def wal_sender_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
826
|
+
def wal_sender_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
826
827
|
"""
|
|
827
828
|
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
|
"""
|
|
829
830
|
return pulumi.get(self, "wal_sender_timeout")
|
|
830
831
|
|
|
831
832
|
@wal_sender_timeout.setter
|
|
832
|
-
def wal_sender_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
833
|
+
def wal_sender_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
833
834
|
pulumi.set(self, "wal_sender_timeout", value)
|
|
834
835
|
|
|
835
836
|
@property
|
|
836
837
|
@pulumi.getter(name="walWriterDelay")
|
|
837
|
-
def wal_writer_delay(self) -> Optional[pulumi.Input[int]]:
|
|
838
|
+
def wal_writer_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
838
839
|
"""
|
|
839
840
|
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
840
841
|
"""
|
|
841
842
|
return pulumi.get(self, "wal_writer_delay")
|
|
842
843
|
|
|
843
844
|
@wal_writer_delay.setter
|
|
844
|
-
def wal_writer_delay(self, value: Optional[pulumi.Input[int]]):
|
|
845
|
+
def wal_writer_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
845
846
|
pulumi.set(self, "wal_writer_delay", value)
|
|
846
847
|
|
|
847
848
|
@property
|
|
848
849
|
@pulumi.getter(name="workMem")
|
|
849
|
-
def work_mem(self) -> Optional[pulumi.Input[int]]:
|
|
850
|
+
def work_mem(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
850
851
|
"""
|
|
851
852
|
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
|
"""
|
|
853
854
|
return pulumi.get(self, "work_mem")
|
|
854
855
|
|
|
855
856
|
@work_mem.setter
|
|
856
|
-
def work_mem(self, value: Optional[pulumi.Input[int]]):
|
|
857
|
+
def work_mem(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
857
858
|
pulumi.set(self, "work_mem", value)
|
|
858
859
|
|
|
859
860
|
|
|
860
861
|
@pulumi.input_type
|
|
861
862
|
class _DatabasePostgresqlConfigState:
|
|
862
863
|
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,
|
|
864
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
865
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
866
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[builtins.int]] = None,
|
|
867
|
+
autovacuum_max_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
868
|
+
autovacuum_naptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
869
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
870
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
871
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
872
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
873
|
+
backup_hour: Optional[pulumi.Input[builtins.int]] = None,
|
|
874
|
+
backup_minute: Optional[pulumi.Input[builtins.int]] = None,
|
|
875
|
+
bgwriter_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
876
|
+
bgwriter_flush_after: Optional[pulumi.Input[builtins.int]] = None,
|
|
877
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[builtins.int]] = None,
|
|
878
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[builtins.float]] = None,
|
|
879
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
880
|
+
deadlock_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
881
|
+
default_toast_compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
882
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
883
|
+
jit: Optional[pulumi.Input[builtins.bool]] = None,
|
|
884
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[builtins.int]] = None,
|
|
885
|
+
log_error_verbosity: Optional[pulumi.Input[builtins.str]] = None,
|
|
886
|
+
log_line_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
887
|
+
log_min_duration_statement: Optional[pulumi.Input[builtins.int]] = None,
|
|
888
|
+
max_files_per_process: Optional[pulumi.Input[builtins.int]] = None,
|
|
889
|
+
max_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
890
|
+
max_logical_replication_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
891
|
+
max_parallel_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
892
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[builtins.int]] = None,
|
|
893
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
894
|
+
max_prepared_transactions: Optional[pulumi.Input[builtins.int]] = None,
|
|
895
|
+
max_replication_slots: Optional[pulumi.Input[builtins.int]] = None,
|
|
896
|
+
max_stack_depth: Optional[pulumi.Input[builtins.int]] = None,
|
|
897
|
+
max_standby_archive_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
898
|
+
max_standby_streaming_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
899
|
+
max_wal_senders: Optional[pulumi.Input[builtins.int]] = None,
|
|
900
|
+
max_worker_processes: Optional[pulumi.Input[builtins.int]] = None,
|
|
901
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
902
|
+
pg_partman_bgw_role: Optional[pulumi.Input[builtins.str]] = None,
|
|
903
|
+
pg_stat_statements_track: Optional[pulumi.Input[builtins.str]] = None,
|
|
903
904
|
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,
|
|
905
|
+
shared_buffers_percentage: Optional[pulumi.Input[builtins.float]] = None,
|
|
906
|
+
temp_file_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
906
907
|
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):
|
|
908
|
+
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
909
|
+
track_activity_query_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
910
|
+
track_commit_timestamp: Optional[pulumi.Input[builtins.str]] = None,
|
|
911
|
+
track_functions: Optional[pulumi.Input[builtins.str]] = None,
|
|
912
|
+
track_io_timing: Optional[pulumi.Input[builtins.str]] = None,
|
|
913
|
+
wal_sender_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
914
|
+
wal_writer_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
915
|
+
work_mem: Optional[pulumi.Input[builtins.int]] = None):
|
|
915
916
|
"""
|
|
916
917
|
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`.
|
|
918
|
+
:param pulumi.Input[builtins.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).
|
|
919
|
+
:param pulumi.Input[builtins.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.
|
|
920
|
+
:param pulumi.Input[builtins.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.
|
|
921
|
+
:param pulumi.Input[builtins.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.
|
|
922
|
+
:param pulumi.Input[builtins.int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
923
|
+
:param pulumi.Input[builtins.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.
|
|
924
|
+
:param pulumi.Input[builtins.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.
|
|
925
|
+
:param pulumi.Input[builtins.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).
|
|
926
|
+
:param pulumi.Input[builtins.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.
|
|
927
|
+
:param pulumi.Input[builtins.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.
|
|
928
|
+
:param pulumi.Input[builtins.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.
|
|
929
|
+
:param pulumi.Input[builtins.int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
930
|
+
:param pulumi.Input[builtins.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.
|
|
931
|
+
:param pulumi.Input[builtins.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.
|
|
932
|
+
:param pulumi.Input[builtins.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.
|
|
933
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
934
|
+
:param pulumi.Input[builtins.int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
935
|
+
:param pulumi.Input[builtins.str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
936
|
+
:param pulumi.Input[builtins.int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
937
|
+
:param pulumi.Input[builtins.bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
938
|
+
:param pulumi.Input[builtins.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.
|
|
939
|
+
:param pulumi.Input[builtins.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`.
|
|
940
|
+
:param pulumi.Input[builtins.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`.
|
|
941
|
+
:param pulumi.Input[builtins.int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
942
|
+
:param pulumi.Input[builtins.int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
943
|
+
:param pulumi.Input[builtins.int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
944
|
+
:param pulumi.Input[builtins.int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
945
|
+
:param pulumi.Input[builtins.int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
946
|
+
:param pulumi.Input[builtins.int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
947
|
+
:param pulumi.Input[builtins.int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
948
|
+
:param pulumi.Input[builtins.int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
949
|
+
:param pulumi.Input[builtins.int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
950
|
+
:param pulumi.Input[builtins.int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
951
|
+
:param pulumi.Input[builtins.int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
952
|
+
:param pulumi.Input[builtins.int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
953
|
+
:param pulumi.Input[builtins.int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
954
|
+
:param pulumi.Input[builtins.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.
|
|
955
|
+
:param pulumi.Input[builtins.int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
956
|
+
:param pulumi.Input[builtins.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.
|
|
957
|
+
:param pulumi.Input[builtins.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
958
|
: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.
|
|
959
|
+
:param pulumi.Input[builtins.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.
|
|
960
|
+
:param pulumi.Input[builtins.int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
960
961
|
: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).
|
|
962
|
+
:param pulumi.Input[builtins.str] timezone: PostgreSQL service timezone
|
|
963
|
+
:param pulumi.Input[builtins.int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
964
|
+
:param pulumi.Input[builtins.str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
965
|
+
:param pulumi.Input[builtins.str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
966
|
+
:param pulumi.Input[builtins.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`.
|
|
967
|
+
:param pulumi.Input[builtins.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.
|
|
968
|
+
:param pulumi.Input[builtins.int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
969
|
+
:param pulumi.Input[builtins.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
|
"""
|
|
970
971
|
if autovacuum_analyze_scale_factor is not None:
|
|
971
972
|
pulumi.set(__self__, "autovacuum_analyze_scale_factor", autovacuum_analyze_scale_factor)
|
|
@@ -1074,482 +1075,482 @@ class _DatabasePostgresqlConfigState:
|
|
|
1074
1075
|
|
|
1075
1076
|
@property
|
|
1076
1077
|
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
1077
|
-
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
1078
|
+
def autovacuum_analyze_scale_factor(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1078
1079
|
"""
|
|
1079
1080
|
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
|
"""
|
|
1081
1082
|
return pulumi.get(self, "autovacuum_analyze_scale_factor")
|
|
1082
1083
|
|
|
1083
1084
|
@autovacuum_analyze_scale_factor.setter
|
|
1084
|
-
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
1085
|
+
def autovacuum_analyze_scale_factor(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1085
1086
|
pulumi.set(self, "autovacuum_analyze_scale_factor", value)
|
|
1086
1087
|
|
|
1087
1088
|
@property
|
|
1088
1089
|
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
1089
|
-
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1090
|
+
def autovacuum_analyze_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1090
1091
|
"""
|
|
1091
1092
|
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
|
"""
|
|
1093
1094
|
return pulumi.get(self, "autovacuum_analyze_threshold")
|
|
1094
1095
|
|
|
1095
1096
|
@autovacuum_analyze_threshold.setter
|
|
1096
|
-
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1097
|
+
def autovacuum_analyze_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1097
1098
|
pulumi.set(self, "autovacuum_analyze_threshold", value)
|
|
1098
1099
|
|
|
1099
1100
|
@property
|
|
1100
1101
|
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
1101
|
-
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[int]]:
|
|
1102
|
+
def autovacuum_freeze_max_age(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1102
1103
|
"""
|
|
1103
1104
|
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
|
"""
|
|
1105
1106
|
return pulumi.get(self, "autovacuum_freeze_max_age")
|
|
1106
1107
|
|
|
1107
1108
|
@autovacuum_freeze_max_age.setter
|
|
1108
|
-
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[int]]):
|
|
1109
|
+
def autovacuum_freeze_max_age(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1109
1110
|
pulumi.set(self, "autovacuum_freeze_max_age", value)
|
|
1110
1111
|
|
|
1111
1112
|
@property
|
|
1112
1113
|
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
1113
|
-
def autovacuum_max_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1114
|
+
def autovacuum_max_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1114
1115
|
"""
|
|
1115
1116
|
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
|
"""
|
|
1117
1118
|
return pulumi.get(self, "autovacuum_max_workers")
|
|
1118
1119
|
|
|
1119
1120
|
@autovacuum_max_workers.setter
|
|
1120
|
-
def autovacuum_max_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1121
|
+
def autovacuum_max_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1121
1122
|
pulumi.set(self, "autovacuum_max_workers", value)
|
|
1122
1123
|
|
|
1123
1124
|
@property
|
|
1124
1125
|
@pulumi.getter(name="autovacuumNaptime")
|
|
1125
|
-
def autovacuum_naptime(self) -> Optional[pulumi.Input[int]]:
|
|
1126
|
+
def autovacuum_naptime(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1126
1127
|
"""
|
|
1127
1128
|
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
1128
1129
|
"""
|
|
1129
1130
|
return pulumi.get(self, "autovacuum_naptime")
|
|
1130
1131
|
|
|
1131
1132
|
@autovacuum_naptime.setter
|
|
1132
|
-
def autovacuum_naptime(self, value: Optional[pulumi.Input[int]]):
|
|
1133
|
+
def autovacuum_naptime(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1133
1134
|
pulumi.set(self, "autovacuum_naptime", value)
|
|
1134
1135
|
|
|
1135
1136
|
@property
|
|
1136
1137
|
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
1137
|
-
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1138
|
+
def autovacuum_vacuum_cost_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1138
1139
|
"""
|
|
1139
1140
|
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
|
"""
|
|
1141
1142
|
return pulumi.get(self, "autovacuum_vacuum_cost_delay")
|
|
1142
1143
|
|
|
1143
1144
|
@autovacuum_vacuum_cost_delay.setter
|
|
1144
|
-
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1145
|
+
def autovacuum_vacuum_cost_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1145
1146
|
pulumi.set(self, "autovacuum_vacuum_cost_delay", value)
|
|
1146
1147
|
|
|
1147
1148
|
@property
|
|
1148
1149
|
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
1149
|
-
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1150
|
+
def autovacuum_vacuum_cost_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1150
1151
|
"""
|
|
1151
1152
|
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
|
"""
|
|
1153
1154
|
return pulumi.get(self, "autovacuum_vacuum_cost_limit")
|
|
1154
1155
|
|
|
1155
1156
|
@autovacuum_vacuum_cost_limit.setter
|
|
1156
|
-
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1157
|
+
def autovacuum_vacuum_cost_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1157
1158
|
pulumi.set(self, "autovacuum_vacuum_cost_limit", value)
|
|
1158
1159
|
|
|
1159
1160
|
@property
|
|
1160
1161
|
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
1161
|
-
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[float]]:
|
|
1162
|
+
def autovacuum_vacuum_scale_factor(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1162
1163
|
"""
|
|
1163
1164
|
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
|
"""
|
|
1165
1166
|
return pulumi.get(self, "autovacuum_vacuum_scale_factor")
|
|
1166
1167
|
|
|
1167
1168
|
@autovacuum_vacuum_scale_factor.setter
|
|
1168
|
-
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[float]]):
|
|
1169
|
+
def autovacuum_vacuum_scale_factor(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1169
1170
|
pulumi.set(self, "autovacuum_vacuum_scale_factor", value)
|
|
1170
1171
|
|
|
1171
1172
|
@property
|
|
1172
1173
|
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
1173
|
-
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1174
|
+
def autovacuum_vacuum_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1174
1175
|
"""
|
|
1175
1176
|
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
|
"""
|
|
1177
1178
|
return pulumi.get(self, "autovacuum_vacuum_threshold")
|
|
1178
1179
|
|
|
1179
1180
|
@autovacuum_vacuum_threshold.setter
|
|
1180
|
-
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1181
|
+
def autovacuum_vacuum_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1181
1182
|
pulumi.set(self, "autovacuum_vacuum_threshold", value)
|
|
1182
1183
|
|
|
1183
1184
|
@property
|
|
1184
1185
|
@pulumi.getter(name="backupHour")
|
|
1185
|
-
def backup_hour(self) -> Optional[pulumi.Input[int]]:
|
|
1186
|
+
def backup_hour(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1186
1187
|
"""
|
|
1187
1188
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
1188
1189
|
"""
|
|
1189
1190
|
return pulumi.get(self, "backup_hour")
|
|
1190
1191
|
|
|
1191
1192
|
@backup_hour.setter
|
|
1192
|
-
def backup_hour(self, value: Optional[pulumi.Input[int]]):
|
|
1193
|
+
def backup_hour(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1193
1194
|
pulumi.set(self, "backup_hour", value)
|
|
1194
1195
|
|
|
1195
1196
|
@property
|
|
1196
1197
|
@pulumi.getter(name="backupMinute")
|
|
1197
|
-
def backup_minute(self) -> Optional[pulumi.Input[int]]:
|
|
1198
|
+
def backup_minute(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1198
1199
|
"""
|
|
1199
1200
|
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
|
"""
|
|
1201
1202
|
return pulumi.get(self, "backup_minute")
|
|
1202
1203
|
|
|
1203
1204
|
@backup_minute.setter
|
|
1204
|
-
def backup_minute(self, value: Optional[pulumi.Input[int]]):
|
|
1205
|
+
def backup_minute(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1205
1206
|
pulumi.set(self, "backup_minute", value)
|
|
1206
1207
|
|
|
1207
1208
|
@property
|
|
1208
1209
|
@pulumi.getter(name="bgwriterDelay")
|
|
1209
|
-
def bgwriter_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1210
|
+
def bgwriter_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1210
1211
|
"""
|
|
1211
1212
|
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
1212
1213
|
"""
|
|
1213
1214
|
return pulumi.get(self, "bgwriter_delay")
|
|
1214
1215
|
|
|
1215
1216
|
@bgwriter_delay.setter
|
|
1216
|
-
def bgwriter_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1217
|
+
def bgwriter_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1217
1218
|
pulumi.set(self, "bgwriter_delay", value)
|
|
1218
1219
|
|
|
1219
1220
|
@property
|
|
1220
1221
|
@pulumi.getter(name="bgwriterFlushAfter")
|
|
1221
|
-
def bgwriter_flush_after(self) -> Optional[pulumi.Input[int]]:
|
|
1222
|
+
def bgwriter_flush_after(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1222
1223
|
"""
|
|
1223
1224
|
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
|
"""
|
|
1225
1226
|
return pulumi.get(self, "bgwriter_flush_after")
|
|
1226
1227
|
|
|
1227
1228
|
@bgwriter_flush_after.setter
|
|
1228
|
-
def bgwriter_flush_after(self, value: Optional[pulumi.Input[int]]):
|
|
1229
|
+
def bgwriter_flush_after(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1229
1230
|
pulumi.set(self, "bgwriter_flush_after", value)
|
|
1230
1231
|
|
|
1231
1232
|
@property
|
|
1232
1233
|
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
1233
|
-
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[int]]:
|
|
1234
|
+
def bgwriter_lru_maxpages(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1234
1235
|
"""
|
|
1235
1236
|
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
1236
1237
|
"""
|
|
1237
1238
|
return pulumi.get(self, "bgwriter_lru_maxpages")
|
|
1238
1239
|
|
|
1239
1240
|
@bgwriter_lru_maxpages.setter
|
|
1240
|
-
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[int]]):
|
|
1241
|
+
def bgwriter_lru_maxpages(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1241
1242
|
pulumi.set(self, "bgwriter_lru_maxpages", value)
|
|
1242
1243
|
|
|
1243
1244
|
@property
|
|
1244
1245
|
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
1245
|
-
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[float]]:
|
|
1246
|
+
def bgwriter_lru_multiplier(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1246
1247
|
"""
|
|
1247
1248
|
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
|
"""
|
|
1249
1250
|
return pulumi.get(self, "bgwriter_lru_multiplier")
|
|
1250
1251
|
|
|
1251
1252
|
@bgwriter_lru_multiplier.setter
|
|
1252
|
-
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[float]]):
|
|
1253
|
+
def bgwriter_lru_multiplier(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1253
1254
|
pulumi.set(self, "bgwriter_lru_multiplier", value)
|
|
1254
1255
|
|
|
1255
1256
|
@property
|
|
1256
1257
|
@pulumi.getter(name="clusterId")
|
|
1257
|
-
def cluster_id(self) -> Optional[pulumi.Input[str]]:
|
|
1258
|
+
def cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1258
1259
|
"""
|
|
1259
1260
|
The ID of the target PostgreSQL cluster.
|
|
1260
1261
|
"""
|
|
1261
1262
|
return pulumi.get(self, "cluster_id")
|
|
1262
1263
|
|
|
1263
1264
|
@cluster_id.setter
|
|
1264
|
-
def cluster_id(self, value: Optional[pulumi.Input[str]]):
|
|
1265
|
+
def cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1265
1266
|
pulumi.set(self, "cluster_id", value)
|
|
1266
1267
|
|
|
1267
1268
|
@property
|
|
1268
1269
|
@pulumi.getter(name="deadlockTimeout")
|
|
1269
|
-
def deadlock_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1270
|
+
def deadlock_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1270
1271
|
"""
|
|
1271
1272
|
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
1272
1273
|
"""
|
|
1273
1274
|
return pulumi.get(self, "deadlock_timeout")
|
|
1274
1275
|
|
|
1275
1276
|
@deadlock_timeout.setter
|
|
1276
|
-
def deadlock_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1277
|
+
def deadlock_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1277
1278
|
pulumi.set(self, "deadlock_timeout", value)
|
|
1278
1279
|
|
|
1279
1280
|
@property
|
|
1280
1281
|
@pulumi.getter(name="defaultToastCompression")
|
|
1281
|
-
def default_toast_compression(self) -> Optional[pulumi.Input[str]]:
|
|
1282
|
+
def default_toast_compression(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1282
1283
|
"""
|
|
1283
1284
|
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
1284
1285
|
"""
|
|
1285
1286
|
return pulumi.get(self, "default_toast_compression")
|
|
1286
1287
|
|
|
1287
1288
|
@default_toast_compression.setter
|
|
1288
|
-
def default_toast_compression(self, value: Optional[pulumi.Input[str]]):
|
|
1289
|
+
def default_toast_compression(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1289
1290
|
pulumi.set(self, "default_toast_compression", value)
|
|
1290
1291
|
|
|
1291
1292
|
@property
|
|
1292
1293
|
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
1293
|
-
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1294
|
+
def idle_in_transaction_session_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1294
1295
|
"""
|
|
1295
1296
|
Time out sessions with open transactions after this number of milliseconds
|
|
1296
1297
|
"""
|
|
1297
1298
|
return pulumi.get(self, "idle_in_transaction_session_timeout")
|
|
1298
1299
|
|
|
1299
1300
|
@idle_in_transaction_session_timeout.setter
|
|
1300
|
-
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1301
|
+
def idle_in_transaction_session_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1301
1302
|
pulumi.set(self, "idle_in_transaction_session_timeout", value)
|
|
1302
1303
|
|
|
1303
1304
|
@property
|
|
1304
1305
|
@pulumi.getter
|
|
1305
|
-
def jit(self) -> Optional[pulumi.Input[bool]]:
|
|
1306
|
+
def jit(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1306
1307
|
"""
|
|
1307
1308
|
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
1308
1309
|
"""
|
|
1309
1310
|
return pulumi.get(self, "jit")
|
|
1310
1311
|
|
|
1311
1312
|
@jit.setter
|
|
1312
|
-
def jit(self, value: Optional[pulumi.Input[bool]]):
|
|
1313
|
+
def jit(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1313
1314
|
pulumi.set(self, "jit", value)
|
|
1314
1315
|
|
|
1315
1316
|
@property
|
|
1316
1317
|
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
1317
|
-
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[int]]:
|
|
1318
|
+
def log_autovacuum_min_duration(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1318
1319
|
"""
|
|
1319
1320
|
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
|
"""
|
|
1321
1322
|
return pulumi.get(self, "log_autovacuum_min_duration")
|
|
1322
1323
|
|
|
1323
1324
|
@log_autovacuum_min_duration.setter
|
|
1324
|
-
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[int]]):
|
|
1325
|
+
def log_autovacuum_min_duration(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1325
1326
|
pulumi.set(self, "log_autovacuum_min_duration", value)
|
|
1326
1327
|
|
|
1327
1328
|
@property
|
|
1328
1329
|
@pulumi.getter(name="logErrorVerbosity")
|
|
1329
|
-
def log_error_verbosity(self) -> Optional[pulumi.Input[str]]:
|
|
1330
|
+
def log_error_verbosity(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1330
1331
|
"""
|
|
1331
1332
|
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
1332
1333
|
"""
|
|
1333
1334
|
return pulumi.get(self, "log_error_verbosity")
|
|
1334
1335
|
|
|
1335
1336
|
@log_error_verbosity.setter
|
|
1336
|
-
def log_error_verbosity(self, value: Optional[pulumi.Input[str]]):
|
|
1337
|
+
def log_error_verbosity(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1337
1338
|
pulumi.set(self, "log_error_verbosity", value)
|
|
1338
1339
|
|
|
1339
1340
|
@property
|
|
1340
1341
|
@pulumi.getter(name="logLinePrefix")
|
|
1341
|
-
def log_line_prefix(self) -> Optional[pulumi.Input[str]]:
|
|
1342
|
+
def log_line_prefix(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1342
1343
|
"""
|
|
1343
1344
|
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
|
"""
|
|
1345
1346
|
return pulumi.get(self, "log_line_prefix")
|
|
1346
1347
|
|
|
1347
1348
|
@log_line_prefix.setter
|
|
1348
|
-
def log_line_prefix(self, value: Optional[pulumi.Input[str]]):
|
|
1349
|
+
def log_line_prefix(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1349
1350
|
pulumi.set(self, "log_line_prefix", value)
|
|
1350
1351
|
|
|
1351
1352
|
@property
|
|
1352
1353
|
@pulumi.getter(name="logMinDurationStatement")
|
|
1353
|
-
def log_min_duration_statement(self) -> Optional[pulumi.Input[int]]:
|
|
1354
|
+
def log_min_duration_statement(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1354
1355
|
"""
|
|
1355
1356
|
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
1356
1357
|
"""
|
|
1357
1358
|
return pulumi.get(self, "log_min_duration_statement")
|
|
1358
1359
|
|
|
1359
1360
|
@log_min_duration_statement.setter
|
|
1360
|
-
def log_min_duration_statement(self, value: Optional[pulumi.Input[int]]):
|
|
1361
|
+
def log_min_duration_statement(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1361
1362
|
pulumi.set(self, "log_min_duration_statement", value)
|
|
1362
1363
|
|
|
1363
1364
|
@property
|
|
1364
1365
|
@pulumi.getter(name="maxFilesPerProcess")
|
|
1365
|
-
def max_files_per_process(self) -> Optional[pulumi.Input[int]]:
|
|
1366
|
+
def max_files_per_process(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1366
1367
|
"""
|
|
1367
1368
|
PostgreSQL maximum number of files that can be open per process.
|
|
1368
1369
|
"""
|
|
1369
1370
|
return pulumi.get(self, "max_files_per_process")
|
|
1370
1371
|
|
|
1371
1372
|
@max_files_per_process.setter
|
|
1372
|
-
def max_files_per_process(self, value: Optional[pulumi.Input[int]]):
|
|
1373
|
+
def max_files_per_process(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1373
1374
|
pulumi.set(self, "max_files_per_process", value)
|
|
1374
1375
|
|
|
1375
1376
|
@property
|
|
1376
1377
|
@pulumi.getter(name="maxLocksPerTransaction")
|
|
1377
|
-
def max_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
1378
|
+
def max_locks_per_transaction(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1378
1379
|
"""
|
|
1379
1380
|
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
1380
1381
|
"""
|
|
1381
1382
|
return pulumi.get(self, "max_locks_per_transaction")
|
|
1382
1383
|
|
|
1383
1384
|
@max_locks_per_transaction.setter
|
|
1384
|
-
def max_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
1385
|
+
def max_locks_per_transaction(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1385
1386
|
pulumi.set(self, "max_locks_per_transaction", value)
|
|
1386
1387
|
|
|
1387
1388
|
@property
|
|
1388
1389
|
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
1389
|
-
def max_logical_replication_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1390
|
+
def max_logical_replication_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1390
1391
|
"""
|
|
1391
1392
|
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
1392
1393
|
"""
|
|
1393
1394
|
return pulumi.get(self, "max_logical_replication_workers")
|
|
1394
1395
|
|
|
1395
1396
|
@max_logical_replication_workers.setter
|
|
1396
|
-
def max_logical_replication_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1397
|
+
def max_logical_replication_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1397
1398
|
pulumi.set(self, "max_logical_replication_workers", value)
|
|
1398
1399
|
|
|
1399
1400
|
@property
|
|
1400
1401
|
@pulumi.getter(name="maxParallelWorkers")
|
|
1401
|
-
def max_parallel_workers(self) -> Optional[pulumi.Input[int]]:
|
|
1402
|
+
def max_parallel_workers(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1402
1403
|
"""
|
|
1403
1404
|
Sets the maximum number of workers that the system can support for parallel queries.
|
|
1404
1405
|
"""
|
|
1405
1406
|
return pulumi.get(self, "max_parallel_workers")
|
|
1406
1407
|
|
|
1407
1408
|
@max_parallel_workers.setter
|
|
1408
|
-
def max_parallel_workers(self, value: Optional[pulumi.Input[int]]):
|
|
1409
|
+
def max_parallel_workers(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1409
1410
|
pulumi.set(self, "max_parallel_workers", value)
|
|
1410
1411
|
|
|
1411
1412
|
@property
|
|
1412
1413
|
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
1413
|
-
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[int]]:
|
|
1414
|
+
def max_parallel_workers_per_gather(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1414
1415
|
"""
|
|
1415
1416
|
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
1416
1417
|
"""
|
|
1417
1418
|
return pulumi.get(self, "max_parallel_workers_per_gather")
|
|
1418
1419
|
|
|
1419
1420
|
@max_parallel_workers_per_gather.setter
|
|
1420
|
-
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[int]]):
|
|
1421
|
+
def max_parallel_workers_per_gather(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1421
1422
|
pulumi.set(self, "max_parallel_workers_per_gather", value)
|
|
1422
1423
|
|
|
1423
1424
|
@property
|
|
1424
1425
|
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
1425
|
-
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[int]]:
|
|
1426
|
+
def max_pred_locks_per_transaction(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1426
1427
|
"""
|
|
1427
1428
|
PostgreSQL maximum predicate locks per transaction.
|
|
1428
1429
|
"""
|
|
1429
1430
|
return pulumi.get(self, "max_pred_locks_per_transaction")
|
|
1430
1431
|
|
|
1431
1432
|
@max_pred_locks_per_transaction.setter
|
|
1432
|
-
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[int]]):
|
|
1433
|
+
def max_pred_locks_per_transaction(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1433
1434
|
pulumi.set(self, "max_pred_locks_per_transaction", value)
|
|
1434
1435
|
|
|
1435
1436
|
@property
|
|
1436
1437
|
@pulumi.getter(name="maxPreparedTransactions")
|
|
1437
|
-
def max_prepared_transactions(self) -> Optional[pulumi.Input[int]]:
|
|
1438
|
+
def max_prepared_transactions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1438
1439
|
"""
|
|
1439
1440
|
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
1440
1441
|
"""
|
|
1441
1442
|
return pulumi.get(self, "max_prepared_transactions")
|
|
1442
1443
|
|
|
1443
1444
|
@max_prepared_transactions.setter
|
|
1444
|
-
def max_prepared_transactions(self, value: Optional[pulumi.Input[int]]):
|
|
1445
|
+
def max_prepared_transactions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1445
1446
|
pulumi.set(self, "max_prepared_transactions", value)
|
|
1446
1447
|
|
|
1447
1448
|
@property
|
|
1448
1449
|
@pulumi.getter(name="maxReplicationSlots")
|
|
1449
|
-
def max_replication_slots(self) -> Optional[pulumi.Input[int]]:
|
|
1450
|
+
def max_replication_slots(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1450
1451
|
"""
|
|
1451
1452
|
PostgreSQL maximum replication slots.
|
|
1452
1453
|
"""
|
|
1453
1454
|
return pulumi.get(self, "max_replication_slots")
|
|
1454
1455
|
|
|
1455
1456
|
@max_replication_slots.setter
|
|
1456
|
-
def max_replication_slots(self, value: Optional[pulumi.Input[int]]):
|
|
1457
|
+
def max_replication_slots(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1457
1458
|
pulumi.set(self, "max_replication_slots", value)
|
|
1458
1459
|
|
|
1459
1460
|
@property
|
|
1460
1461
|
@pulumi.getter(name="maxStackDepth")
|
|
1461
|
-
def max_stack_depth(self) -> Optional[pulumi.Input[int]]:
|
|
1462
|
+
def max_stack_depth(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1462
1463
|
"""
|
|
1463
1464
|
Maximum depth of the stack in bytes.
|
|
1464
1465
|
"""
|
|
1465
1466
|
return pulumi.get(self, "max_stack_depth")
|
|
1466
1467
|
|
|
1467
1468
|
@max_stack_depth.setter
|
|
1468
|
-
def max_stack_depth(self, value: Optional[pulumi.Input[int]]):
|
|
1469
|
+
def max_stack_depth(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1469
1470
|
pulumi.set(self, "max_stack_depth", value)
|
|
1470
1471
|
|
|
1471
1472
|
@property
|
|
1472
1473
|
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
1473
|
-
def max_standby_archive_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1474
|
+
def max_standby_archive_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1474
1475
|
"""
|
|
1475
1476
|
Max standby archive delay in milliseconds.
|
|
1476
1477
|
"""
|
|
1477
1478
|
return pulumi.get(self, "max_standby_archive_delay")
|
|
1478
1479
|
|
|
1479
1480
|
@max_standby_archive_delay.setter
|
|
1480
|
-
def max_standby_archive_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1481
|
+
def max_standby_archive_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1481
1482
|
pulumi.set(self, "max_standby_archive_delay", value)
|
|
1482
1483
|
|
|
1483
1484
|
@property
|
|
1484
1485
|
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
1485
|
-
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1486
|
+
def max_standby_streaming_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1486
1487
|
"""
|
|
1487
1488
|
Max standby streaming delay in milliseconds.
|
|
1488
1489
|
"""
|
|
1489
1490
|
return pulumi.get(self, "max_standby_streaming_delay")
|
|
1490
1491
|
|
|
1491
1492
|
@max_standby_streaming_delay.setter
|
|
1492
|
-
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1493
|
+
def max_standby_streaming_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1493
1494
|
pulumi.set(self, "max_standby_streaming_delay", value)
|
|
1494
1495
|
|
|
1495
1496
|
@property
|
|
1496
1497
|
@pulumi.getter(name="maxWalSenders")
|
|
1497
|
-
def max_wal_senders(self) -> Optional[pulumi.Input[int]]:
|
|
1498
|
+
def max_wal_senders(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1498
1499
|
"""
|
|
1499
1500
|
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
1500
1501
|
"""
|
|
1501
1502
|
return pulumi.get(self, "max_wal_senders")
|
|
1502
1503
|
|
|
1503
1504
|
@max_wal_senders.setter
|
|
1504
|
-
def max_wal_senders(self, value: Optional[pulumi.Input[int]]):
|
|
1505
|
+
def max_wal_senders(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1505
1506
|
pulumi.set(self, "max_wal_senders", value)
|
|
1506
1507
|
|
|
1507
1508
|
@property
|
|
1508
1509
|
@pulumi.getter(name="maxWorkerProcesses")
|
|
1509
|
-
def max_worker_processes(self) -> Optional[pulumi.Input[int]]:
|
|
1510
|
+
def max_worker_processes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1510
1511
|
"""
|
|
1511
1512
|
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
|
"""
|
|
1513
1514
|
return pulumi.get(self, "max_worker_processes")
|
|
1514
1515
|
|
|
1515
1516
|
@max_worker_processes.setter
|
|
1516
|
-
def max_worker_processes(self, value: Optional[pulumi.Input[int]]):
|
|
1517
|
+
def max_worker_processes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1517
1518
|
pulumi.set(self, "max_worker_processes", value)
|
|
1518
1519
|
|
|
1519
1520
|
@property
|
|
1520
1521
|
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
1521
|
-
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[int]]:
|
|
1522
|
+
def pg_partman_bgw_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1522
1523
|
"""
|
|
1523
1524
|
Sets the time interval to run pg_partman's scheduled tasks.
|
|
1524
1525
|
"""
|
|
1525
1526
|
return pulumi.get(self, "pg_partman_bgw_interval")
|
|
1526
1527
|
|
|
1527
1528
|
@pg_partman_bgw_interval.setter
|
|
1528
|
-
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[int]]):
|
|
1529
|
+
def pg_partman_bgw_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1529
1530
|
pulumi.set(self, "pg_partman_bgw_interval", value)
|
|
1530
1531
|
|
|
1531
1532
|
@property
|
|
1532
1533
|
@pulumi.getter(name="pgPartmanBgwRole")
|
|
1533
|
-
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[str]]:
|
|
1534
|
+
def pg_partman_bgw_role(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1534
1535
|
"""
|
|
1535
1536
|
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
|
"""
|
|
1537
1538
|
return pulumi.get(self, "pg_partman_bgw_role")
|
|
1538
1539
|
|
|
1539
1540
|
@pg_partman_bgw_role.setter
|
|
1540
|
-
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[str]]):
|
|
1541
|
+
def pg_partman_bgw_role(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1541
1542
|
pulumi.set(self, "pg_partman_bgw_role", value)
|
|
1542
1543
|
|
|
1543
1544
|
@property
|
|
1544
1545
|
@pulumi.getter(name="pgStatStatementsTrack")
|
|
1545
|
-
def pg_stat_statements_track(self) -> Optional[pulumi.Input[str]]:
|
|
1546
|
+
def pg_stat_statements_track(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1546
1547
|
"""
|
|
1547
1548
|
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
|
"""
|
|
1549
1550
|
return pulumi.get(self, "pg_stat_statements_track")
|
|
1550
1551
|
|
|
1551
1552
|
@pg_stat_statements_track.setter
|
|
1552
|
-
def pg_stat_statements_track(self, value: Optional[pulumi.Input[str]]):
|
|
1553
|
+
def pg_stat_statements_track(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1553
1554
|
pulumi.set(self, "pg_stat_statements_track", value)
|
|
1554
1555
|
|
|
1555
1556
|
@property
|
|
@@ -1566,26 +1567,26 @@ class _DatabasePostgresqlConfigState:
|
|
|
1566
1567
|
|
|
1567
1568
|
@property
|
|
1568
1569
|
@pulumi.getter(name="sharedBuffersPercentage")
|
|
1569
|
-
def shared_buffers_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
1570
|
+
def shared_buffers_percentage(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1570
1571
|
"""
|
|
1571
1572
|
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
|
"""
|
|
1573
1574
|
return pulumi.get(self, "shared_buffers_percentage")
|
|
1574
1575
|
|
|
1575
1576
|
@shared_buffers_percentage.setter
|
|
1576
|
-
def shared_buffers_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
1577
|
+
def shared_buffers_percentage(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1577
1578
|
pulumi.set(self, "shared_buffers_percentage", value)
|
|
1578
1579
|
|
|
1579
1580
|
@property
|
|
1580
1581
|
@pulumi.getter(name="tempFileLimit")
|
|
1581
|
-
def temp_file_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1582
|
+
def temp_file_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1582
1583
|
"""
|
|
1583
1584
|
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
1584
1585
|
"""
|
|
1585
1586
|
return pulumi.get(self, "temp_file_limit")
|
|
1586
1587
|
|
|
1587
1588
|
@temp_file_limit.setter
|
|
1588
|
-
def temp_file_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1589
|
+
def temp_file_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1589
1590
|
pulumi.set(self, "temp_file_limit", value)
|
|
1590
1591
|
|
|
1591
1592
|
@property
|
|
@@ -1602,98 +1603,98 @@ class _DatabasePostgresqlConfigState:
|
|
|
1602
1603
|
|
|
1603
1604
|
@property
|
|
1604
1605
|
@pulumi.getter
|
|
1605
|
-
def timezone(self) -> Optional[pulumi.Input[str]]:
|
|
1606
|
+
def timezone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1606
1607
|
"""
|
|
1607
1608
|
PostgreSQL service timezone
|
|
1608
1609
|
"""
|
|
1609
1610
|
return pulumi.get(self, "timezone")
|
|
1610
1611
|
|
|
1611
1612
|
@timezone.setter
|
|
1612
|
-
def timezone(self, value: Optional[pulumi.Input[str]]):
|
|
1613
|
+
def timezone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1613
1614
|
pulumi.set(self, "timezone", value)
|
|
1614
1615
|
|
|
1615
1616
|
@property
|
|
1616
1617
|
@pulumi.getter(name="trackActivityQuerySize")
|
|
1617
|
-
def track_activity_query_size(self) -> Optional[pulumi.Input[int]]:
|
|
1618
|
+
def track_activity_query_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1618
1619
|
"""
|
|
1619
1620
|
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
1620
1621
|
"""
|
|
1621
1622
|
return pulumi.get(self, "track_activity_query_size")
|
|
1622
1623
|
|
|
1623
1624
|
@track_activity_query_size.setter
|
|
1624
|
-
def track_activity_query_size(self, value: Optional[pulumi.Input[int]]):
|
|
1625
|
+
def track_activity_query_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1625
1626
|
pulumi.set(self, "track_activity_query_size", value)
|
|
1626
1627
|
|
|
1627
1628
|
@property
|
|
1628
1629
|
@pulumi.getter(name="trackCommitTimestamp")
|
|
1629
|
-
def track_commit_timestamp(self) -> Optional[pulumi.Input[str]]:
|
|
1630
|
+
def track_commit_timestamp(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1630
1631
|
"""
|
|
1631
1632
|
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
1632
1633
|
"""
|
|
1633
1634
|
return pulumi.get(self, "track_commit_timestamp")
|
|
1634
1635
|
|
|
1635
1636
|
@track_commit_timestamp.setter
|
|
1636
|
-
def track_commit_timestamp(self, value: Optional[pulumi.Input[str]]):
|
|
1637
|
+
def track_commit_timestamp(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1637
1638
|
pulumi.set(self, "track_commit_timestamp", value)
|
|
1638
1639
|
|
|
1639
1640
|
@property
|
|
1640
1641
|
@pulumi.getter(name="trackFunctions")
|
|
1641
|
-
def track_functions(self) -> Optional[pulumi.Input[str]]:
|
|
1642
|
+
def track_functions(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1642
1643
|
"""
|
|
1643
1644
|
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
1644
1645
|
"""
|
|
1645
1646
|
return pulumi.get(self, "track_functions")
|
|
1646
1647
|
|
|
1647
1648
|
@track_functions.setter
|
|
1648
|
-
def track_functions(self, value: Optional[pulumi.Input[str]]):
|
|
1649
|
+
def track_functions(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1649
1650
|
pulumi.set(self, "track_functions", value)
|
|
1650
1651
|
|
|
1651
1652
|
@property
|
|
1652
1653
|
@pulumi.getter(name="trackIoTiming")
|
|
1653
|
-
def track_io_timing(self) -> Optional[pulumi.Input[str]]:
|
|
1654
|
+
def track_io_timing(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1654
1655
|
"""
|
|
1655
1656
|
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
|
"""
|
|
1657
1658
|
return pulumi.get(self, "track_io_timing")
|
|
1658
1659
|
|
|
1659
1660
|
@track_io_timing.setter
|
|
1660
|
-
def track_io_timing(self, value: Optional[pulumi.Input[str]]):
|
|
1661
|
+
def track_io_timing(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1661
1662
|
pulumi.set(self, "track_io_timing", value)
|
|
1662
1663
|
|
|
1663
1664
|
@property
|
|
1664
1665
|
@pulumi.getter(name="walSenderTimeout")
|
|
1665
|
-
def wal_sender_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
1666
|
+
def wal_sender_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1666
1667
|
"""
|
|
1667
1668
|
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
|
"""
|
|
1669
1670
|
return pulumi.get(self, "wal_sender_timeout")
|
|
1670
1671
|
|
|
1671
1672
|
@wal_sender_timeout.setter
|
|
1672
|
-
def wal_sender_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
1673
|
+
def wal_sender_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1673
1674
|
pulumi.set(self, "wal_sender_timeout", value)
|
|
1674
1675
|
|
|
1675
1676
|
@property
|
|
1676
1677
|
@pulumi.getter(name="walWriterDelay")
|
|
1677
|
-
def wal_writer_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1678
|
+
def wal_writer_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1678
1679
|
"""
|
|
1679
1680
|
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
1680
1681
|
"""
|
|
1681
1682
|
return pulumi.get(self, "wal_writer_delay")
|
|
1682
1683
|
|
|
1683
1684
|
@wal_writer_delay.setter
|
|
1684
|
-
def wal_writer_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1685
|
+
def wal_writer_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1685
1686
|
pulumi.set(self, "wal_writer_delay", value)
|
|
1686
1687
|
|
|
1687
1688
|
@property
|
|
1688
1689
|
@pulumi.getter(name="workMem")
|
|
1689
|
-
def work_mem(self) -> Optional[pulumi.Input[int]]:
|
|
1690
|
+
def work_mem(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1690
1691
|
"""
|
|
1691
1692
|
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
|
"""
|
|
1693
1694
|
return pulumi.get(self, "work_mem")
|
|
1694
1695
|
|
|
1695
1696
|
@work_mem.setter
|
|
1696
|
-
def work_mem(self, value: Optional[pulumi.Input[int]]):
|
|
1697
|
+
def work_mem(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1697
1698
|
pulumi.set(self, "work_mem", value)
|
|
1698
1699
|
|
|
1699
1700
|
|
|
@@ -1702,58 +1703,58 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
1702
1703
|
def __init__(__self__,
|
|
1703
1704
|
resource_name: str,
|
|
1704
1705
|
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,
|
|
1706
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
1707
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1708
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[builtins.int]] = None,
|
|
1709
|
+
autovacuum_max_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1710
|
+
autovacuum_naptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
1711
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1712
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1713
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
1714
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1715
|
+
backup_hour: Optional[pulumi.Input[builtins.int]] = None,
|
|
1716
|
+
backup_minute: Optional[pulumi.Input[builtins.int]] = None,
|
|
1717
|
+
bgwriter_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1718
|
+
bgwriter_flush_after: Optional[pulumi.Input[builtins.int]] = None,
|
|
1719
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[builtins.int]] = None,
|
|
1720
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[builtins.float]] = None,
|
|
1721
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1722
|
+
deadlock_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1723
|
+
default_toast_compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
1724
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1725
|
+
jit: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1726
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[builtins.int]] = None,
|
|
1727
|
+
log_error_verbosity: Optional[pulumi.Input[builtins.str]] = None,
|
|
1728
|
+
log_line_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
1729
|
+
log_min_duration_statement: Optional[pulumi.Input[builtins.int]] = None,
|
|
1730
|
+
max_files_per_process: Optional[pulumi.Input[builtins.int]] = None,
|
|
1731
|
+
max_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
1732
|
+
max_logical_replication_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1733
|
+
max_parallel_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1734
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[builtins.int]] = None,
|
|
1735
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
1736
|
+
max_prepared_transactions: Optional[pulumi.Input[builtins.int]] = None,
|
|
1737
|
+
max_replication_slots: Optional[pulumi.Input[builtins.int]] = None,
|
|
1738
|
+
max_stack_depth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1739
|
+
max_standby_archive_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1740
|
+
max_standby_streaming_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1741
|
+
max_wal_senders: Optional[pulumi.Input[builtins.int]] = None,
|
|
1742
|
+
max_worker_processes: Optional[pulumi.Input[builtins.int]] = None,
|
|
1743
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
1744
|
+
pg_partman_bgw_role: Optional[pulumi.Input[builtins.str]] = None,
|
|
1745
|
+
pg_stat_statements_track: Optional[pulumi.Input[builtins.str]] = None,
|
|
1745
1746
|
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,
|
|
1747
|
+
shared_buffers_percentage: Optional[pulumi.Input[builtins.float]] = None,
|
|
1748
|
+
temp_file_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1748
1749
|
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,
|
|
1750
|
+
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
1751
|
+
track_activity_query_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1752
|
+
track_commit_timestamp: Optional[pulumi.Input[builtins.str]] = None,
|
|
1753
|
+
track_functions: Optional[pulumi.Input[builtins.str]] = None,
|
|
1754
|
+
track_io_timing: Optional[pulumi.Input[builtins.str]] = None,
|
|
1755
|
+
wal_sender_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1756
|
+
wal_writer_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1757
|
+
work_mem: Optional[pulumi.Input[builtins.int]] = None,
|
|
1757
1758
|
__props__=None):
|
|
1758
1759
|
"""
|
|
1759
1760
|
Provides a virtual resource that can be used to change advanced configuration
|
|
@@ -1792,58 +1793,58 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
1792
1793
|
|
|
1793
1794
|
:param str resource_name: The name of the resource.
|
|
1794
1795
|
: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`.
|
|
1796
|
+
:param pulumi.Input[builtins.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).
|
|
1797
|
+
:param pulumi.Input[builtins.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.
|
|
1798
|
+
:param pulumi.Input[builtins.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.
|
|
1799
|
+
:param pulumi.Input[builtins.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.
|
|
1800
|
+
:param pulumi.Input[builtins.int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
1801
|
+
:param pulumi.Input[builtins.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.
|
|
1802
|
+
:param pulumi.Input[builtins.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.
|
|
1803
|
+
:param pulumi.Input[builtins.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).
|
|
1804
|
+
:param pulumi.Input[builtins.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.
|
|
1805
|
+
:param pulumi.Input[builtins.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.
|
|
1806
|
+
:param pulumi.Input[builtins.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.
|
|
1807
|
+
:param pulumi.Input[builtins.int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
1808
|
+
:param pulumi.Input[builtins.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.
|
|
1809
|
+
:param pulumi.Input[builtins.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.
|
|
1810
|
+
:param pulumi.Input[builtins.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.
|
|
1811
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
1812
|
+
:param pulumi.Input[builtins.int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
1813
|
+
:param pulumi.Input[builtins.str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
1814
|
+
:param pulumi.Input[builtins.int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
1815
|
+
:param pulumi.Input[builtins.bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
1816
|
+
:param pulumi.Input[builtins.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.
|
|
1817
|
+
:param pulumi.Input[builtins.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`.
|
|
1818
|
+
:param pulumi.Input[builtins.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`.
|
|
1819
|
+
:param pulumi.Input[builtins.int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
1820
|
+
:param pulumi.Input[builtins.int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
1821
|
+
:param pulumi.Input[builtins.int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
1822
|
+
:param pulumi.Input[builtins.int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
1823
|
+
:param pulumi.Input[builtins.int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
1824
|
+
:param pulumi.Input[builtins.int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
1825
|
+
:param pulumi.Input[builtins.int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
1826
|
+
:param pulumi.Input[builtins.int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
1827
|
+
:param pulumi.Input[builtins.int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
1828
|
+
:param pulumi.Input[builtins.int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
1829
|
+
:param pulumi.Input[builtins.int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
1830
|
+
:param pulumi.Input[builtins.int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
1831
|
+
:param pulumi.Input[builtins.int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
1832
|
+
:param pulumi.Input[builtins.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.
|
|
1833
|
+
:param pulumi.Input[builtins.int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
1834
|
+
:param pulumi.Input[builtins.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.
|
|
1835
|
+
:param pulumi.Input[builtins.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
1836
|
: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.
|
|
1837
|
+
:param pulumi.Input[builtins.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.
|
|
1838
|
+
:param pulumi.Input[builtins.int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
1838
1839
|
: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).
|
|
1840
|
+
:param pulumi.Input[builtins.str] timezone: PostgreSQL service timezone
|
|
1841
|
+
:param pulumi.Input[builtins.int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
1842
|
+
:param pulumi.Input[builtins.str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
1843
|
+
:param pulumi.Input[builtins.str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
1844
|
+
:param pulumi.Input[builtins.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`.
|
|
1845
|
+
:param pulumi.Input[builtins.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.
|
|
1846
|
+
:param pulumi.Input[builtins.int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
1847
|
+
:param pulumi.Input[builtins.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
|
"""
|
|
1848
1849
|
...
|
|
1849
1850
|
@overload
|
|
@@ -1901,58 +1902,58 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
1901
1902
|
def _internal_init(__self__,
|
|
1902
1903
|
resource_name: str,
|
|
1903
1904
|
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,
|
|
1905
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
1906
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1907
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[builtins.int]] = None,
|
|
1908
|
+
autovacuum_max_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1909
|
+
autovacuum_naptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
1910
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1911
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1912
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
1913
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1914
|
+
backup_hour: Optional[pulumi.Input[builtins.int]] = None,
|
|
1915
|
+
backup_minute: Optional[pulumi.Input[builtins.int]] = None,
|
|
1916
|
+
bgwriter_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1917
|
+
bgwriter_flush_after: Optional[pulumi.Input[builtins.int]] = None,
|
|
1918
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[builtins.int]] = None,
|
|
1919
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[builtins.float]] = None,
|
|
1920
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1921
|
+
deadlock_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1922
|
+
default_toast_compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
1923
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1924
|
+
jit: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1925
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[builtins.int]] = None,
|
|
1926
|
+
log_error_verbosity: Optional[pulumi.Input[builtins.str]] = None,
|
|
1927
|
+
log_line_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
1928
|
+
log_min_duration_statement: Optional[pulumi.Input[builtins.int]] = None,
|
|
1929
|
+
max_files_per_process: Optional[pulumi.Input[builtins.int]] = None,
|
|
1930
|
+
max_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
1931
|
+
max_logical_replication_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1932
|
+
max_parallel_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
1933
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[builtins.int]] = None,
|
|
1934
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
1935
|
+
max_prepared_transactions: Optional[pulumi.Input[builtins.int]] = None,
|
|
1936
|
+
max_replication_slots: Optional[pulumi.Input[builtins.int]] = None,
|
|
1937
|
+
max_stack_depth: Optional[pulumi.Input[builtins.int]] = None,
|
|
1938
|
+
max_standby_archive_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1939
|
+
max_standby_streaming_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1940
|
+
max_wal_senders: Optional[pulumi.Input[builtins.int]] = None,
|
|
1941
|
+
max_worker_processes: Optional[pulumi.Input[builtins.int]] = None,
|
|
1942
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
1943
|
+
pg_partman_bgw_role: Optional[pulumi.Input[builtins.str]] = None,
|
|
1944
|
+
pg_stat_statements_track: Optional[pulumi.Input[builtins.str]] = None,
|
|
1944
1945
|
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,
|
|
1946
|
+
shared_buffers_percentage: Optional[pulumi.Input[builtins.float]] = None,
|
|
1947
|
+
temp_file_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1947
1948
|
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,
|
|
1949
|
+
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
1950
|
+
track_activity_query_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1951
|
+
track_commit_timestamp: Optional[pulumi.Input[builtins.str]] = None,
|
|
1952
|
+
track_functions: Optional[pulumi.Input[builtins.str]] = None,
|
|
1953
|
+
track_io_timing: Optional[pulumi.Input[builtins.str]] = None,
|
|
1954
|
+
wal_sender_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1955
|
+
wal_writer_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1956
|
+
work_mem: Optional[pulumi.Input[builtins.int]] = None,
|
|
1956
1957
|
__props__=None):
|
|
1957
1958
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1958
1959
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -2026,58 +2027,58 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2026
2027
|
def get(resource_name: str,
|
|
2027
2028
|
id: pulumi.Input[str],
|
|
2028
2029
|
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,
|
|
2030
|
+
autovacuum_analyze_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
2031
|
+
autovacuum_analyze_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2032
|
+
autovacuum_freeze_max_age: Optional[pulumi.Input[builtins.int]] = None,
|
|
2033
|
+
autovacuum_max_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
2034
|
+
autovacuum_naptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
2035
|
+
autovacuum_vacuum_cost_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2036
|
+
autovacuum_vacuum_cost_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
2037
|
+
autovacuum_vacuum_scale_factor: Optional[pulumi.Input[builtins.float]] = None,
|
|
2038
|
+
autovacuum_vacuum_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2039
|
+
backup_hour: Optional[pulumi.Input[builtins.int]] = None,
|
|
2040
|
+
backup_minute: Optional[pulumi.Input[builtins.int]] = None,
|
|
2041
|
+
bgwriter_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2042
|
+
bgwriter_flush_after: Optional[pulumi.Input[builtins.int]] = None,
|
|
2043
|
+
bgwriter_lru_maxpages: Optional[pulumi.Input[builtins.int]] = None,
|
|
2044
|
+
bgwriter_lru_multiplier: Optional[pulumi.Input[builtins.float]] = None,
|
|
2045
|
+
cluster_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2046
|
+
deadlock_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2047
|
+
default_toast_compression: Optional[pulumi.Input[builtins.str]] = None,
|
|
2048
|
+
idle_in_transaction_session_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2049
|
+
jit: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2050
|
+
log_autovacuum_min_duration: Optional[pulumi.Input[builtins.int]] = None,
|
|
2051
|
+
log_error_verbosity: Optional[pulumi.Input[builtins.str]] = None,
|
|
2052
|
+
log_line_prefix: Optional[pulumi.Input[builtins.str]] = None,
|
|
2053
|
+
log_min_duration_statement: Optional[pulumi.Input[builtins.int]] = None,
|
|
2054
|
+
max_files_per_process: Optional[pulumi.Input[builtins.int]] = None,
|
|
2055
|
+
max_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
2056
|
+
max_logical_replication_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
2057
|
+
max_parallel_workers: Optional[pulumi.Input[builtins.int]] = None,
|
|
2058
|
+
max_parallel_workers_per_gather: Optional[pulumi.Input[builtins.int]] = None,
|
|
2059
|
+
max_pred_locks_per_transaction: Optional[pulumi.Input[builtins.int]] = None,
|
|
2060
|
+
max_prepared_transactions: Optional[pulumi.Input[builtins.int]] = None,
|
|
2061
|
+
max_replication_slots: Optional[pulumi.Input[builtins.int]] = None,
|
|
2062
|
+
max_stack_depth: Optional[pulumi.Input[builtins.int]] = None,
|
|
2063
|
+
max_standby_archive_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2064
|
+
max_standby_streaming_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2065
|
+
max_wal_senders: Optional[pulumi.Input[builtins.int]] = None,
|
|
2066
|
+
max_worker_processes: Optional[pulumi.Input[builtins.int]] = None,
|
|
2067
|
+
pg_partman_bgw_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
2068
|
+
pg_partman_bgw_role: Optional[pulumi.Input[builtins.str]] = None,
|
|
2069
|
+
pg_stat_statements_track: Optional[pulumi.Input[builtins.str]] = None,
|
|
2069
2070
|
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,
|
|
2071
|
+
shared_buffers_percentage: Optional[pulumi.Input[builtins.float]] = None,
|
|
2072
|
+
temp_file_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
2072
2073
|
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':
|
|
2074
|
+
timezone: Optional[pulumi.Input[builtins.str]] = None,
|
|
2075
|
+
track_activity_query_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
2076
|
+
track_commit_timestamp: Optional[pulumi.Input[builtins.str]] = None,
|
|
2077
|
+
track_functions: Optional[pulumi.Input[builtins.str]] = None,
|
|
2078
|
+
track_io_timing: Optional[pulumi.Input[builtins.str]] = None,
|
|
2079
|
+
wal_sender_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2080
|
+
wal_writer_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2081
|
+
work_mem: Optional[pulumi.Input[builtins.int]] = None) -> 'DatabasePostgresqlConfig':
|
|
2081
2082
|
"""
|
|
2082
2083
|
Get an existing DatabasePostgresqlConfig resource's state with the given name, id, and optional extra
|
|
2083
2084
|
properties used to qualify the lookup.
|
|
@@ -2085,58 +2086,58 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2085
2086
|
:param str resource_name: The unique name of the resulting resource.
|
|
2086
2087
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
2087
2088
|
: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`.
|
|
2089
|
+
:param pulumi.Input[builtins.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).
|
|
2090
|
+
:param pulumi.Input[builtins.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.
|
|
2091
|
+
:param pulumi.Input[builtins.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.
|
|
2092
|
+
:param pulumi.Input[builtins.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.
|
|
2093
|
+
:param pulumi.Input[builtins.int] autovacuum_naptime: Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
2094
|
+
:param pulumi.Input[builtins.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.
|
|
2095
|
+
:param pulumi.Input[builtins.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.
|
|
2096
|
+
:param pulumi.Input[builtins.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).
|
|
2097
|
+
:param pulumi.Input[builtins.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.
|
|
2098
|
+
:param pulumi.Input[builtins.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.
|
|
2099
|
+
:param pulumi.Input[builtins.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.
|
|
2100
|
+
:param pulumi.Input[builtins.int] bgwriter_delay: Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
2101
|
+
:param pulumi.Input[builtins.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.
|
|
2102
|
+
:param pulumi.Input[builtins.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.
|
|
2103
|
+
:param pulumi.Input[builtins.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.
|
|
2104
|
+
:param pulumi.Input[builtins.str] cluster_id: The ID of the target PostgreSQL cluster.
|
|
2105
|
+
:param pulumi.Input[builtins.int] deadlock_timeout: The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2106
|
+
:param pulumi.Input[builtins.str] default_toast_compression: Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
2107
|
+
:param pulumi.Input[builtins.int] idle_in_transaction_session_timeout: Time out sessions with open transactions after this number of milliseconds
|
|
2108
|
+
:param pulumi.Input[builtins.bool] jit: Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
2109
|
+
:param pulumi.Input[builtins.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.
|
|
2110
|
+
:param pulumi.Input[builtins.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`.
|
|
2111
|
+
:param pulumi.Input[builtins.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`.
|
|
2112
|
+
:param pulumi.Input[builtins.int] log_min_duration_statement: Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
2113
|
+
:param pulumi.Input[builtins.int] max_files_per_process: PostgreSQL maximum number of files that can be open per process.
|
|
2114
|
+
:param pulumi.Input[builtins.int] max_locks_per_transaction: PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
2115
|
+
:param pulumi.Input[builtins.int] max_logical_replication_workers: PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2116
|
+
:param pulumi.Input[builtins.int] max_parallel_workers: Sets the maximum number of workers that the system can support for parallel queries.
|
|
2117
|
+
:param pulumi.Input[builtins.int] max_parallel_workers_per_gather: Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2118
|
+
:param pulumi.Input[builtins.int] max_pred_locks_per_transaction: PostgreSQL maximum predicate locks per transaction.
|
|
2119
|
+
:param pulumi.Input[builtins.int] max_prepared_transactions: PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
2120
|
+
:param pulumi.Input[builtins.int] max_replication_slots: PostgreSQL maximum replication slots.
|
|
2121
|
+
:param pulumi.Input[builtins.int] max_stack_depth: Maximum depth of the stack in bytes.
|
|
2122
|
+
:param pulumi.Input[builtins.int] max_standby_archive_delay: Max standby archive delay in milliseconds.
|
|
2123
|
+
:param pulumi.Input[builtins.int] max_standby_streaming_delay: Max standby streaming delay in milliseconds.
|
|
2124
|
+
:param pulumi.Input[builtins.int] max_wal_senders: PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
2125
|
+
:param pulumi.Input[builtins.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.
|
|
2126
|
+
:param pulumi.Input[builtins.int] pg_partman_bgw_interval: Sets the time interval to run pg_partman's scheduled tasks.
|
|
2127
|
+
:param pulumi.Input[builtins.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.
|
|
2128
|
+
:param pulumi.Input[builtins.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
2129
|
: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.
|
|
2130
|
+
:param pulumi.Input[builtins.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.
|
|
2131
|
+
:param pulumi.Input[builtins.int] temp_file_limit: PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
2131
2132
|
: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).
|
|
2133
|
+
:param pulumi.Input[builtins.str] timezone: PostgreSQL service timezone
|
|
2134
|
+
:param pulumi.Input[builtins.int] track_activity_query_size: Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2135
|
+
:param pulumi.Input[builtins.str] track_commit_timestamp: Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
2136
|
+
:param pulumi.Input[builtins.str] track_functions: Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
2137
|
+
:param pulumi.Input[builtins.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`.
|
|
2138
|
+
:param pulumi.Input[builtins.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.
|
|
2139
|
+
:param pulumi.Input[builtins.int] wal_writer_delay: WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
2140
|
+
:param pulumi.Input[builtins.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
|
"""
|
|
2141
2142
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
2142
2143
|
|
|
@@ -2198,7 +2199,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2198
2199
|
|
|
2199
2200
|
@property
|
|
2200
2201
|
@pulumi.getter(name="autovacuumAnalyzeScaleFactor")
|
|
2201
|
-
def autovacuum_analyze_scale_factor(self) -> pulumi.Output[float]:
|
|
2202
|
+
def autovacuum_analyze_scale_factor(self) -> pulumi.Output[builtins.float]:
|
|
2202
2203
|
"""
|
|
2203
2204
|
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
|
"""
|
|
@@ -2206,7 +2207,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2206
2207
|
|
|
2207
2208
|
@property
|
|
2208
2209
|
@pulumi.getter(name="autovacuumAnalyzeThreshold")
|
|
2209
|
-
def autovacuum_analyze_threshold(self) -> pulumi.Output[int]:
|
|
2210
|
+
def autovacuum_analyze_threshold(self) -> pulumi.Output[builtins.int]:
|
|
2210
2211
|
"""
|
|
2211
2212
|
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
|
"""
|
|
@@ -2214,7 +2215,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2214
2215
|
|
|
2215
2216
|
@property
|
|
2216
2217
|
@pulumi.getter(name="autovacuumFreezeMaxAge")
|
|
2217
|
-
def autovacuum_freeze_max_age(self) -> pulumi.Output[int]:
|
|
2218
|
+
def autovacuum_freeze_max_age(self) -> pulumi.Output[builtins.int]:
|
|
2218
2219
|
"""
|
|
2219
2220
|
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
|
"""
|
|
@@ -2222,7 +2223,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2222
2223
|
|
|
2223
2224
|
@property
|
|
2224
2225
|
@pulumi.getter(name="autovacuumMaxWorkers")
|
|
2225
|
-
def autovacuum_max_workers(self) -> pulumi.Output[int]:
|
|
2226
|
+
def autovacuum_max_workers(self) -> pulumi.Output[builtins.int]:
|
|
2226
2227
|
"""
|
|
2227
2228
|
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
|
"""
|
|
@@ -2230,7 +2231,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2230
2231
|
|
|
2231
2232
|
@property
|
|
2232
2233
|
@pulumi.getter(name="autovacuumNaptime")
|
|
2233
|
-
def autovacuum_naptime(self) -> pulumi.Output[int]:
|
|
2234
|
+
def autovacuum_naptime(self) -> pulumi.Output[builtins.int]:
|
|
2234
2235
|
"""
|
|
2235
2236
|
Specifies the minimum delay, in seconds, between autovacuum runs on any given database. The default is one minute.
|
|
2236
2237
|
"""
|
|
@@ -2238,7 +2239,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2238
2239
|
|
|
2239
2240
|
@property
|
|
2240
2241
|
@pulumi.getter(name="autovacuumVacuumCostDelay")
|
|
2241
|
-
def autovacuum_vacuum_cost_delay(self) -> pulumi.Output[int]:
|
|
2242
|
+
def autovacuum_vacuum_cost_delay(self) -> pulumi.Output[builtins.int]:
|
|
2242
2243
|
"""
|
|
2243
2244
|
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
|
"""
|
|
@@ -2246,7 +2247,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2246
2247
|
|
|
2247
2248
|
@property
|
|
2248
2249
|
@pulumi.getter(name="autovacuumVacuumCostLimit")
|
|
2249
|
-
def autovacuum_vacuum_cost_limit(self) -> pulumi.Output[int]:
|
|
2250
|
+
def autovacuum_vacuum_cost_limit(self) -> pulumi.Output[builtins.int]:
|
|
2250
2251
|
"""
|
|
2251
2252
|
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
|
"""
|
|
@@ -2254,7 +2255,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2254
2255
|
|
|
2255
2256
|
@property
|
|
2256
2257
|
@pulumi.getter(name="autovacuumVacuumScaleFactor")
|
|
2257
|
-
def autovacuum_vacuum_scale_factor(self) -> pulumi.Output[float]:
|
|
2258
|
+
def autovacuum_vacuum_scale_factor(self) -> pulumi.Output[builtins.float]:
|
|
2258
2259
|
"""
|
|
2259
2260
|
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
|
"""
|
|
@@ -2262,7 +2263,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2262
2263
|
|
|
2263
2264
|
@property
|
|
2264
2265
|
@pulumi.getter(name="autovacuumVacuumThreshold")
|
|
2265
|
-
def autovacuum_vacuum_threshold(self) -> pulumi.Output[int]:
|
|
2266
|
+
def autovacuum_vacuum_threshold(self) -> pulumi.Output[builtins.int]:
|
|
2266
2267
|
"""
|
|
2267
2268
|
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
|
"""
|
|
@@ -2270,7 +2271,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2270
2271
|
|
|
2271
2272
|
@property
|
|
2272
2273
|
@pulumi.getter(name="backupHour")
|
|
2273
|
-
def backup_hour(self) -> pulumi.Output[int]:
|
|
2274
|
+
def backup_hour(self) -> pulumi.Output[builtins.int]:
|
|
2274
2275
|
"""
|
|
2275
2276
|
The hour of day (in UTC) when backup for the service starts. New backup only starts if previous backup has already completed.
|
|
2276
2277
|
"""
|
|
@@ -2278,7 +2279,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2278
2279
|
|
|
2279
2280
|
@property
|
|
2280
2281
|
@pulumi.getter(name="backupMinute")
|
|
2281
|
-
def backup_minute(self) -> pulumi.Output[int]:
|
|
2282
|
+
def backup_minute(self) -> pulumi.Output[builtins.int]:
|
|
2282
2283
|
"""
|
|
2283
2284
|
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
|
"""
|
|
@@ -2286,7 +2287,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2286
2287
|
|
|
2287
2288
|
@property
|
|
2288
2289
|
@pulumi.getter(name="bgwriterDelay")
|
|
2289
|
-
def bgwriter_delay(self) -> pulumi.Output[int]:
|
|
2290
|
+
def bgwriter_delay(self) -> pulumi.Output[builtins.int]:
|
|
2290
2291
|
"""
|
|
2291
2292
|
Specifies the delay, in milliseconds, between activity rounds for the background writer. Default is 200 ms.
|
|
2292
2293
|
"""
|
|
@@ -2294,7 +2295,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2294
2295
|
|
|
2295
2296
|
@property
|
|
2296
2297
|
@pulumi.getter(name="bgwriterFlushAfter")
|
|
2297
|
-
def bgwriter_flush_after(self) -> pulumi.Output[int]:
|
|
2298
|
+
def bgwriter_flush_after(self) -> pulumi.Output[builtins.int]:
|
|
2298
2299
|
"""
|
|
2299
2300
|
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
|
"""
|
|
@@ -2302,7 +2303,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2302
2303
|
|
|
2303
2304
|
@property
|
|
2304
2305
|
@pulumi.getter(name="bgwriterLruMaxpages")
|
|
2305
|
-
def bgwriter_lru_maxpages(self) -> pulumi.Output[int]:
|
|
2306
|
+
def bgwriter_lru_maxpages(self) -> pulumi.Output[builtins.int]:
|
|
2306
2307
|
"""
|
|
2307
2308
|
The maximum number of buffers that the background writer can write. Setting this to zero disables background writing. Default is 100.
|
|
2308
2309
|
"""
|
|
@@ -2310,7 +2311,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2310
2311
|
|
|
2311
2312
|
@property
|
|
2312
2313
|
@pulumi.getter(name="bgwriterLruMultiplier")
|
|
2313
|
-
def bgwriter_lru_multiplier(self) -> pulumi.Output[float]:
|
|
2314
|
+
def bgwriter_lru_multiplier(self) -> pulumi.Output[builtins.float]:
|
|
2314
2315
|
"""
|
|
2315
2316
|
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
|
"""
|
|
@@ -2318,7 +2319,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2318
2319
|
|
|
2319
2320
|
@property
|
|
2320
2321
|
@pulumi.getter(name="clusterId")
|
|
2321
|
-
def cluster_id(self) -> pulumi.Output[str]:
|
|
2322
|
+
def cluster_id(self) -> pulumi.Output[builtins.str]:
|
|
2322
2323
|
"""
|
|
2323
2324
|
The ID of the target PostgreSQL cluster.
|
|
2324
2325
|
"""
|
|
@@ -2326,7 +2327,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2326
2327
|
|
|
2327
2328
|
@property
|
|
2328
2329
|
@pulumi.getter(name="deadlockTimeout")
|
|
2329
|
-
def deadlock_timeout(self) -> pulumi.Output[int]:
|
|
2330
|
+
def deadlock_timeout(self) -> pulumi.Output[builtins.int]:
|
|
2330
2331
|
"""
|
|
2331
2332
|
The amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
|
|
2332
2333
|
"""
|
|
@@ -2334,7 +2335,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2334
2335
|
|
|
2335
2336
|
@property
|
|
2336
2337
|
@pulumi.getter(name="defaultToastCompression")
|
|
2337
|
-
def default_toast_compression(self) -> pulumi.Output[str]:
|
|
2338
|
+
def default_toast_compression(self) -> pulumi.Output[builtins.str]:
|
|
2338
2339
|
"""
|
|
2339
2340
|
Specifies the default TOAST compression method for values of compressible columns (the default is lz4). Supported values are: `lz4`, `pglz`.
|
|
2340
2341
|
"""
|
|
@@ -2342,7 +2343,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2342
2343
|
|
|
2343
2344
|
@property
|
|
2344
2345
|
@pulumi.getter(name="idleInTransactionSessionTimeout")
|
|
2345
|
-
def idle_in_transaction_session_timeout(self) -> pulumi.Output[int]:
|
|
2346
|
+
def idle_in_transaction_session_timeout(self) -> pulumi.Output[builtins.int]:
|
|
2346
2347
|
"""
|
|
2347
2348
|
Time out sessions with open transactions after this number of milliseconds
|
|
2348
2349
|
"""
|
|
@@ -2350,7 +2351,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2350
2351
|
|
|
2351
2352
|
@property
|
|
2352
2353
|
@pulumi.getter
|
|
2353
|
-
def jit(self) -> pulumi.Output[bool]:
|
|
2354
|
+
def jit(self) -> pulumi.Output[builtins.bool]:
|
|
2354
2355
|
"""
|
|
2355
2356
|
Activates, in a boolean, the system-wide use of Just-in-Time Compilation (JIT).
|
|
2356
2357
|
"""
|
|
@@ -2358,7 +2359,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2358
2359
|
|
|
2359
2360
|
@property
|
|
2360
2361
|
@pulumi.getter(name="logAutovacuumMinDuration")
|
|
2361
|
-
def log_autovacuum_min_duration(self) -> pulumi.Output[int]:
|
|
2362
|
+
def log_autovacuum_min_duration(self) -> pulumi.Output[builtins.int]:
|
|
2362
2363
|
"""
|
|
2363
2364
|
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
|
"""
|
|
@@ -2366,7 +2367,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2366
2367
|
|
|
2367
2368
|
@property
|
|
2368
2369
|
@pulumi.getter(name="logErrorVerbosity")
|
|
2369
|
-
def log_error_verbosity(self) -> pulumi.Output[str]:
|
|
2370
|
+
def log_error_verbosity(self) -> pulumi.Output[builtins.str]:
|
|
2370
2371
|
"""
|
|
2371
2372
|
Controls the amount of detail written in the server log for each message that is logged. Supported values are: `TERSE`, `DEFAULT`, `VERBOSE`.
|
|
2372
2373
|
"""
|
|
@@ -2374,7 +2375,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2374
2375
|
|
|
2375
2376
|
@property
|
|
2376
2377
|
@pulumi.getter(name="logLinePrefix")
|
|
2377
|
-
def log_line_prefix(self) -> pulumi.Output[str]:
|
|
2378
|
+
def log_line_prefix(self) -> pulumi.Output[builtins.str]:
|
|
2378
2379
|
"""
|
|
2379
2380
|
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
|
"""
|
|
@@ -2382,7 +2383,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2382
2383
|
|
|
2383
2384
|
@property
|
|
2384
2385
|
@pulumi.getter(name="logMinDurationStatement")
|
|
2385
|
-
def log_min_duration_statement(self) -> pulumi.Output[int]:
|
|
2386
|
+
def log_min_duration_statement(self) -> pulumi.Output[builtins.int]:
|
|
2386
2387
|
"""
|
|
2387
2388
|
Log statements that take more than this number of milliseconds to run. If -1, disables.
|
|
2388
2389
|
"""
|
|
@@ -2390,7 +2391,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2390
2391
|
|
|
2391
2392
|
@property
|
|
2392
2393
|
@pulumi.getter(name="maxFilesPerProcess")
|
|
2393
|
-
def max_files_per_process(self) -> pulumi.Output[int]:
|
|
2394
|
+
def max_files_per_process(self) -> pulumi.Output[builtins.int]:
|
|
2394
2395
|
"""
|
|
2395
2396
|
PostgreSQL maximum number of files that can be open per process.
|
|
2396
2397
|
"""
|
|
@@ -2398,7 +2399,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2398
2399
|
|
|
2399
2400
|
@property
|
|
2400
2401
|
@pulumi.getter(name="maxLocksPerTransaction")
|
|
2401
|
-
def max_locks_per_transaction(self) -> pulumi.Output[int]:
|
|
2402
|
+
def max_locks_per_transaction(self) -> pulumi.Output[builtins.int]:
|
|
2402
2403
|
"""
|
|
2403
2404
|
PostgreSQL maximum locks per transaction. Once increased, this parameter cannot be lowered from its set value.
|
|
2404
2405
|
"""
|
|
@@ -2406,7 +2407,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2406
2407
|
|
|
2407
2408
|
@property
|
|
2408
2409
|
@pulumi.getter(name="maxLogicalReplicationWorkers")
|
|
2409
|
-
def max_logical_replication_workers(self) -> pulumi.Output[int]:
|
|
2410
|
+
def max_logical_replication_workers(self) -> pulumi.Output[builtins.int]:
|
|
2410
2411
|
"""
|
|
2411
2412
|
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
|
|
2412
2413
|
"""
|
|
@@ -2414,7 +2415,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2414
2415
|
|
|
2415
2416
|
@property
|
|
2416
2417
|
@pulumi.getter(name="maxParallelWorkers")
|
|
2417
|
-
def max_parallel_workers(self) -> pulumi.Output[int]:
|
|
2418
|
+
def max_parallel_workers(self) -> pulumi.Output[builtins.int]:
|
|
2418
2419
|
"""
|
|
2419
2420
|
Sets the maximum number of workers that the system can support for parallel queries.
|
|
2420
2421
|
"""
|
|
@@ -2422,7 +2423,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2422
2423
|
|
|
2423
2424
|
@property
|
|
2424
2425
|
@pulumi.getter(name="maxParallelWorkersPerGather")
|
|
2425
|
-
def max_parallel_workers_per_gather(self) -> pulumi.Output[int]:
|
|
2426
|
+
def max_parallel_workers_per_gather(self) -> pulumi.Output[builtins.int]:
|
|
2426
2427
|
"""
|
|
2427
2428
|
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
|
|
2428
2429
|
"""
|
|
@@ -2430,7 +2431,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2430
2431
|
|
|
2431
2432
|
@property
|
|
2432
2433
|
@pulumi.getter(name="maxPredLocksPerTransaction")
|
|
2433
|
-
def max_pred_locks_per_transaction(self) -> pulumi.Output[int]:
|
|
2434
|
+
def max_pred_locks_per_transaction(self) -> pulumi.Output[builtins.int]:
|
|
2434
2435
|
"""
|
|
2435
2436
|
PostgreSQL maximum predicate locks per transaction.
|
|
2436
2437
|
"""
|
|
@@ -2438,7 +2439,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2438
2439
|
|
|
2439
2440
|
@property
|
|
2440
2441
|
@pulumi.getter(name="maxPreparedTransactions")
|
|
2441
|
-
def max_prepared_transactions(self) -> pulumi.Output[int]:
|
|
2442
|
+
def max_prepared_transactions(self) -> pulumi.Output[builtins.int]:
|
|
2442
2443
|
"""
|
|
2443
2444
|
PostgreSQL maximum prepared transactions. Once increased, this parameter cannot be lowered from its set value.
|
|
2444
2445
|
"""
|
|
@@ -2446,7 +2447,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2446
2447
|
|
|
2447
2448
|
@property
|
|
2448
2449
|
@pulumi.getter(name="maxReplicationSlots")
|
|
2449
|
-
def max_replication_slots(self) -> pulumi.Output[int]:
|
|
2450
|
+
def max_replication_slots(self) -> pulumi.Output[builtins.int]:
|
|
2450
2451
|
"""
|
|
2451
2452
|
PostgreSQL maximum replication slots.
|
|
2452
2453
|
"""
|
|
@@ -2454,7 +2455,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2454
2455
|
|
|
2455
2456
|
@property
|
|
2456
2457
|
@pulumi.getter(name="maxStackDepth")
|
|
2457
|
-
def max_stack_depth(self) -> pulumi.Output[int]:
|
|
2458
|
+
def max_stack_depth(self) -> pulumi.Output[builtins.int]:
|
|
2458
2459
|
"""
|
|
2459
2460
|
Maximum depth of the stack in bytes.
|
|
2460
2461
|
"""
|
|
@@ -2462,7 +2463,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2462
2463
|
|
|
2463
2464
|
@property
|
|
2464
2465
|
@pulumi.getter(name="maxStandbyArchiveDelay")
|
|
2465
|
-
def max_standby_archive_delay(self) -> pulumi.Output[int]:
|
|
2466
|
+
def max_standby_archive_delay(self) -> pulumi.Output[builtins.int]:
|
|
2466
2467
|
"""
|
|
2467
2468
|
Max standby archive delay in milliseconds.
|
|
2468
2469
|
"""
|
|
@@ -2470,7 +2471,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2470
2471
|
|
|
2471
2472
|
@property
|
|
2472
2473
|
@pulumi.getter(name="maxStandbyStreamingDelay")
|
|
2473
|
-
def max_standby_streaming_delay(self) -> pulumi.Output[int]:
|
|
2474
|
+
def max_standby_streaming_delay(self) -> pulumi.Output[builtins.int]:
|
|
2474
2475
|
"""
|
|
2475
2476
|
Max standby streaming delay in milliseconds.
|
|
2476
2477
|
"""
|
|
@@ -2478,7 +2479,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2478
2479
|
|
|
2479
2480
|
@property
|
|
2480
2481
|
@pulumi.getter(name="maxWalSenders")
|
|
2481
|
-
def max_wal_senders(self) -> pulumi.Output[int]:
|
|
2482
|
+
def max_wal_senders(self) -> pulumi.Output[builtins.int]:
|
|
2482
2483
|
"""
|
|
2483
2484
|
PostgreSQL maximum WAL senders. Once increased, this parameter cannot be lowered from its set value.
|
|
2484
2485
|
"""
|
|
@@ -2486,7 +2487,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2486
2487
|
|
|
2487
2488
|
@property
|
|
2488
2489
|
@pulumi.getter(name="maxWorkerProcesses")
|
|
2489
|
-
def max_worker_processes(self) -> pulumi.Output[int]:
|
|
2490
|
+
def max_worker_processes(self) -> pulumi.Output[builtins.int]:
|
|
2490
2491
|
"""
|
|
2491
2492
|
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
|
"""
|
|
@@ -2494,7 +2495,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2494
2495
|
|
|
2495
2496
|
@property
|
|
2496
2497
|
@pulumi.getter(name="pgPartmanBgwInterval")
|
|
2497
|
-
def pg_partman_bgw_interval(self) -> pulumi.Output[int]:
|
|
2498
|
+
def pg_partman_bgw_interval(self) -> pulumi.Output[builtins.int]:
|
|
2498
2499
|
"""
|
|
2499
2500
|
Sets the time interval to run pg_partman's scheduled tasks.
|
|
2500
2501
|
"""
|
|
@@ -2502,7 +2503,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2502
2503
|
|
|
2503
2504
|
@property
|
|
2504
2505
|
@pulumi.getter(name="pgPartmanBgwRole")
|
|
2505
|
-
def pg_partman_bgw_role(self) -> pulumi.Output[str]:
|
|
2506
|
+
def pg_partman_bgw_role(self) -> pulumi.Output[builtins.str]:
|
|
2506
2507
|
"""
|
|
2507
2508
|
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
|
"""
|
|
@@ -2510,7 +2511,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2510
2511
|
|
|
2511
2512
|
@property
|
|
2512
2513
|
@pulumi.getter(name="pgStatStatementsTrack")
|
|
2513
|
-
def pg_stat_statements_track(self) -> pulumi.Output[str]:
|
|
2514
|
+
def pg_stat_statements_track(self) -> pulumi.Output[builtins.str]:
|
|
2514
2515
|
"""
|
|
2515
2516
|
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
|
"""
|
|
@@ -2526,7 +2527,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2526
2527
|
|
|
2527
2528
|
@property
|
|
2528
2529
|
@pulumi.getter(name="sharedBuffersPercentage")
|
|
2529
|
-
def shared_buffers_percentage(self) -> pulumi.Output[float]:
|
|
2530
|
+
def shared_buffers_percentage(self) -> pulumi.Output[builtins.float]:
|
|
2530
2531
|
"""
|
|
2531
2532
|
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
|
"""
|
|
@@ -2534,7 +2535,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2534
2535
|
|
|
2535
2536
|
@property
|
|
2536
2537
|
@pulumi.getter(name="tempFileLimit")
|
|
2537
|
-
def temp_file_limit(self) -> pulumi.Output[int]:
|
|
2538
|
+
def temp_file_limit(self) -> pulumi.Output[builtins.int]:
|
|
2538
2539
|
"""
|
|
2539
2540
|
PostgreSQL temporary file limit in KiB. If -1, sets to unlimited.
|
|
2540
2541
|
"""
|
|
@@ -2550,7 +2551,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2550
2551
|
|
|
2551
2552
|
@property
|
|
2552
2553
|
@pulumi.getter
|
|
2553
|
-
def timezone(self) -> pulumi.Output[str]:
|
|
2554
|
+
def timezone(self) -> pulumi.Output[builtins.str]:
|
|
2554
2555
|
"""
|
|
2555
2556
|
PostgreSQL service timezone
|
|
2556
2557
|
"""
|
|
@@ -2558,7 +2559,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2558
2559
|
|
|
2559
2560
|
@property
|
|
2560
2561
|
@pulumi.getter(name="trackActivityQuerySize")
|
|
2561
|
-
def track_activity_query_size(self) -> pulumi.Output[int]:
|
|
2562
|
+
def track_activity_query_size(self) -> pulumi.Output[builtins.int]:
|
|
2562
2563
|
"""
|
|
2563
2564
|
Specifies the number of bytes reserved to track the currently executing command for each active session.
|
|
2564
2565
|
"""
|
|
@@ -2566,7 +2567,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2566
2567
|
|
|
2567
2568
|
@property
|
|
2568
2569
|
@pulumi.getter(name="trackCommitTimestamp")
|
|
2569
|
-
def track_commit_timestamp(self) -> pulumi.Output[str]:
|
|
2570
|
+
def track_commit_timestamp(self) -> pulumi.Output[builtins.str]:
|
|
2570
2571
|
"""
|
|
2571
2572
|
Record commit time of transactions. The default value is top. Supported values are: `off`, `on`.
|
|
2572
2573
|
"""
|
|
@@ -2574,7 +2575,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2574
2575
|
|
|
2575
2576
|
@property
|
|
2576
2577
|
@pulumi.getter(name="trackFunctions")
|
|
2577
|
-
def track_functions(self) -> pulumi.Output[str]:
|
|
2578
|
+
def track_functions(self) -> pulumi.Output[builtins.str]:
|
|
2578
2579
|
"""
|
|
2579
2580
|
Enables tracking of function call counts and time used. The default value is top. Supported values are: `all`, `pl`, `none`.
|
|
2580
2581
|
"""
|
|
@@ -2582,7 +2583,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2582
2583
|
|
|
2583
2584
|
@property
|
|
2584
2585
|
@pulumi.getter(name="trackIoTiming")
|
|
2585
|
-
def track_io_timing(self) -> pulumi.Output[str]:
|
|
2586
|
+
def track_io_timing(self) -> pulumi.Output[builtins.str]:
|
|
2586
2587
|
"""
|
|
2587
2588
|
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
|
"""
|
|
@@ -2590,7 +2591,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2590
2591
|
|
|
2591
2592
|
@property
|
|
2592
2593
|
@pulumi.getter(name="walSenderTimeout")
|
|
2593
|
-
def wal_sender_timeout(self) -> pulumi.Output[int]:
|
|
2594
|
+
def wal_sender_timeout(self) -> pulumi.Output[builtins.int]:
|
|
2594
2595
|
"""
|
|
2595
2596
|
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
|
"""
|
|
@@ -2598,7 +2599,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2598
2599
|
|
|
2599
2600
|
@property
|
|
2600
2601
|
@pulumi.getter(name="walWriterDelay")
|
|
2601
|
-
def wal_writer_delay(self) -> pulumi.Output[int]:
|
|
2602
|
+
def wal_writer_delay(self) -> pulumi.Output[builtins.int]:
|
|
2602
2603
|
"""
|
|
2603
2604
|
WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
|
|
2604
2605
|
"""
|
|
@@ -2606,7 +2607,7 @@ class DatabasePostgresqlConfig(pulumi.CustomResource):
|
|
|
2606
2607
|
|
|
2607
2608
|
@property
|
|
2608
2609
|
@pulumi.getter(name="workMem")
|
|
2609
|
-
def work_mem(self) -> pulumi.Output[int]:
|
|
2610
|
+
def work_mem(self) -> pulumi.Output[builtins.int]:
|
|
2610
2611
|
"""
|
|
2611
2612
|
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
|
"""
|