@pulumi/digitalocean 4.70.0-alpha.1781636888 → 4.70.0
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.
- package/databaseAdvancedPostgresqlConfig.d.ts +315 -0
- package/databaseAdvancedPostgresqlConfig.d.ts.map +1 -0
- package/databaseAdvancedPostgresqlConfig.js +325 -0
- package/databaseAdvancedPostgresqlConfig.js.map +1 -0
- package/gradientaiCustomModel.d.ts +24 -8
- package/gradientaiCustomModel.d.ts.map +1 -1
- package/gradientaiCustomModel.js +4 -4
- package/gradientaiCustomModel.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +11 -6
- package/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides a virtual resource that can be used to change advanced configuration
|
|
4
|
+
* options for a DigitalOcean managed PostgreSQL Advanced Edition (`advancedPg`)
|
|
5
|
+
* database cluster.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** Advanced PostgreSQL configurations are only removed from state when destroyed. The remote configuration is not unset.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
14
|
+
*
|
|
15
|
+
* const exampleDatabaseCluster = new digitalocean.DatabaseCluster("example", {
|
|
16
|
+
* name: "example-advanced-postgresql-cluster",
|
|
17
|
+
* engine: "advanced_pg",
|
|
18
|
+
* version: "16",
|
|
19
|
+
* size: "gd-2vcpu-8gb-intel",
|
|
20
|
+
* region: digitalocean.Region.NYC1,
|
|
21
|
+
* nodeCount: 1,
|
|
22
|
+
* });
|
|
23
|
+
* const example = new digitalocean.DatabaseAdvancedPostgresqlConfig("example", {
|
|
24
|
+
* clusterId: exampleDatabaseCluster.id,
|
|
25
|
+
* pgParameters: {
|
|
26
|
+
* timezone: "UTC",
|
|
27
|
+
* work_mem: "4096",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Supported `pgParameters`
|
|
33
|
+
*
|
|
34
|
+
* The following PostgreSQL GUC parameters can be set on `advancedPg` clusters. Default values and restart requirements are returned by the DigitalOcean API and may vary by cluster size.
|
|
35
|
+
*
|
|
36
|
+
* * `applicationName` - (Optional) Sets the application name to be reported in statistics and logs.
|
|
37
|
+
* * `arrayNulls` - (Optional) Enables input of NULL elements in arrays. Default: `on`.
|
|
38
|
+
* * `authenticationTimeout` - (Optional) Sets the maximum allowed time to complete client authentication. Default: `60`.
|
|
39
|
+
* * `autovacuum` - (Optional) Starts the autovacuum subprocess. Default: `on`.
|
|
40
|
+
* * `autovacuumAnalyzeScaleFactor` - (Optional) Number of tuple inserts, updates, or deletes prior to analyze as a fraction of reltuples. Default: `0.1`.
|
|
41
|
+
* * `autovacuumAnalyzeThreshold` - (Optional) Minimum number of tuple inserts, updates, or deletes prior to analyze. Default: `50`.
|
|
42
|
+
* * `autovacuumFreezeMaxAge` - (Optional) Age at which to autovacuum a table to prevent transaction ID wraparound. Default: `200000000`. **Requires restart.**
|
|
43
|
+
* * `autovacuumMultixactFreezeMaxAge` - (Optional) Multixact age at which to autovacuum a table to prevent multixact wraparound. Default: `400000000`. **Requires restart.**
|
|
44
|
+
* * `autovacuumNaptime` - (Optional) Time to sleep between autovacuum runs. Default: `60`.
|
|
45
|
+
* * `autovacuumVacuumCostDelay` - (Optional) Vacuum cost delay in milliseconds, for autovacuum. Default: `2`.
|
|
46
|
+
* * `autovacuumVacuumCostLimit` - (Optional) Vacuum cost amount available before napping, for autovacuum. Default: `-1`.
|
|
47
|
+
* * `autovacuumVacuumInsertScaleFactor` - (Optional) Number of tuple inserts prior to vacuum as a fraction of reltuples. Default: `0.2`.
|
|
48
|
+
* * `autovacuumVacuumInsertThreshold` - (Optional) Minimum number of tuple inserts prior to vacuum. Default: `1000`.
|
|
49
|
+
* * `autovacuumVacuumScaleFactor` - (Optional) Number of tuple updates or deletes prior to vacuum as a fraction of reltuples. Default: `0.2`.
|
|
50
|
+
* * `autovacuumVacuumThreshold` - (Optional) Minimum number of tuple updates or deletes prior to vacuum. Default: `50`.
|
|
51
|
+
* * `backendFlushAfter` - (Optional) Number of pages after which previously performed writes are flushed to disk. Default: `0`.
|
|
52
|
+
* * `backslashQuote` - (Optional) Sets whether "\'" is allowed in string literals. Default: `safeEncoding`.
|
|
53
|
+
* * `bgwriterDelay` - (Optional) Background writer sleep time between rounds. Default: `200`.
|
|
54
|
+
* * `bgwriterFlushAfter` - (Optional) Number of pages after which previously performed writes are flushed to disk. Default: `64`.
|
|
55
|
+
* * `bgwriterLruMaxpages` - (Optional) Background writer maximum number of LRU pages to flush per round. Default: `100`.
|
|
56
|
+
* * `bgwriterLruMultiplier` - (Optional) Multiple of the average buffer usage to free per round. Default: `2`.
|
|
57
|
+
* * `byteaOutput` - (Optional) Sets the output format for bytea. Default: `hex`.
|
|
58
|
+
* * `checkFunctionBodies` - (Optional) Check routine bodies during CREATE FUNCTION and CREATE PROCEDURE. Default: `on`.
|
|
59
|
+
* * `checkpointCompletionTarget` - (Optional) Time spent flushing dirty buffers during checkpoint, as fraction of checkpoint interval. Default: `0.9`.
|
|
60
|
+
* * `checkpointFlushAfter` - (Optional) Number of pages after which previously performed writes are flushed to disk. Default: `32`.
|
|
61
|
+
* * `checkpointTimeout` - (Optional) Sets the maximum time between automatic WAL checkpoints. Default: `300`.
|
|
62
|
+
* * `checkpointWarning` - (Optional) Sets the maximum time before warning if checkpoints triggered by WAL volume happen too frequently. Default: `30`.
|
|
63
|
+
* * `clientConnectionCheckInterval` - (Optional) Sets the time interval between checks for disconnection while running queries. Default: `0`.
|
|
64
|
+
* * `clientEncoding` - (Optional) Sets the client's character set encoding. Default: `SQL_ASCII`.
|
|
65
|
+
* * `clientMinMessages` - (Optional) Sets the message levels that are sent to the client. Default: `notice`.
|
|
66
|
+
* * `commitDelay` - (Optional) Sets the delay in microseconds between transaction commit and flushing WAL to disk. Default: `0`.
|
|
67
|
+
* * `commitSiblings` - (Optional) Sets the minimum number of concurrent open transactions required before performing "commitDelay". Default: `5`.
|
|
68
|
+
* * `computeQueryId` - (Optional) Enables in-core computation of query identifiers. Default: `auto`.
|
|
69
|
+
* * `constraintExclusion` - (Optional) Enables the planner to use constraints to optimize queries. Default: `partition`.
|
|
70
|
+
* * `cpuIndexTupleCost` - (Optional) Sets the planner's estimate of the cost of processing each index entry during an index scan. Default: `0.005`.
|
|
71
|
+
* * `cpuOperatorCost` - (Optional) Sets the planner's estimate of the cost of processing each operator or function call. Default: `0.0025`.
|
|
72
|
+
* * `cpuTupleCost` - (Optional) Sets the planner's estimate of the cost of processing each tuple (row). Default: `0.01`.
|
|
73
|
+
* * `createroleSelfGrant` - (Optional) Sets whether a CREATEROLE user automatically grants the role to themselves, and with which options.
|
|
74
|
+
* * `cursorTupleFraction` - (Optional) Sets the planner's estimate of the fraction of a cursor's rows that will be retrieved. Default: `0.1`.
|
|
75
|
+
* * `datestyle` - (Optional) Sets the display format for date and time values. Default: `ISO, MDY`.
|
|
76
|
+
* * `deadlockTimeout` - (Optional) Sets the time to wait on a lock before checking for deadlock. Default: `1000`.
|
|
77
|
+
* * `debugPrettyPrint` - (Optional) Indents parse and plan tree displays. Default: `on`.
|
|
78
|
+
* * `debugPrintParse` - (Optional) Logs each query's parse tree. Default: `off`.
|
|
79
|
+
* * `debugPrintPlan` - (Optional) Logs each query's execution plan. Default: `off`.
|
|
80
|
+
* * `debugPrintRewritten` - (Optional) Logs each query's rewritten parse tree. Default: `off`.
|
|
81
|
+
* * `defaultStatisticsTarget` - (Optional) Sets the default statistics target. Default: `100`.
|
|
82
|
+
* * `defaultTablespace` - (Optional) Sets the default tablespace to create tables and indexes in.
|
|
83
|
+
* * `defaultToastCompression` - (Optional) Sets the default compression method for compressible values. Default: `pglz`.
|
|
84
|
+
* * `defaultTransactionDeferrable` - (Optional) Sets the default deferrable status of new transactions. Default: `off`.
|
|
85
|
+
* * `defaultTransactionIsolation` - (Optional) Sets the transaction isolation level of each new transaction. Default: `read committed`.
|
|
86
|
+
* * `defaultTransactionReadOnly` - (Optional) Sets the default read-only status of new transactions. Default: `off`.
|
|
87
|
+
* * `effectiveIoConcurrency` - (Optional) Number of simultaneous requests that can be handled efficiently by the disk subsystem. Default: `16`.
|
|
88
|
+
* * `enableAsyncAppend` - (Optional) Enables the planner's use of async append plans. Default: `on`.
|
|
89
|
+
* * `enableBitmapscan` - (Optional) Enables the planner's use of bitmap-scan plans. Default: `on`.
|
|
90
|
+
* * `enableGathermerge` - (Optional) Enables the planner's use of gather merge plans. Default: `on`.
|
|
91
|
+
* * `enableGroupByReordering` - (Optional) Enables reordering of GROUP BY keys. Default: `on`.
|
|
92
|
+
* * `enableHashagg` - (Optional) Enables the planner's use of hashed aggregation plans. Default: `on`.
|
|
93
|
+
* * `enableHashjoin` - (Optional) Enables the planner's use of hash join plans. Default: `on`.
|
|
94
|
+
* * `enableIncrementalSort` - (Optional) Enables the planner's use of incremental sort steps. Default: `on`.
|
|
95
|
+
* * `enableIndexonlyscan` - (Optional) Enables the planner's use of index-only-scan plans. Default: `on`.
|
|
96
|
+
* * `enableIndexscan` - (Optional) Enables the planner's use of index-scan plans. Default: `on`.
|
|
97
|
+
* * `enableMaterial` - (Optional) Enables the planner's use of materialization. Default: `on`.
|
|
98
|
+
* * `enableMemoize` - (Optional) Enables the planner's use of memoization. Default: `on`.
|
|
99
|
+
* * `enableMergejoin` - (Optional) Enables the planner's use of merge join plans. Default: `on`.
|
|
100
|
+
* * `enableNestloop` - (Optional) Enables the planner's use of nested-loop join plans. Default: `on`.
|
|
101
|
+
* * `enableParallelAppend` - (Optional) Enables the planner's use of parallel append plans. Default: `on`.
|
|
102
|
+
* * `enableParallelHash` - (Optional) Enables the planner's use of parallel hash plans. Default: `on`.
|
|
103
|
+
* * `enablePartitionPruning` - (Optional) Enables plan-time and execution-time partition pruning. Default: `on`.
|
|
104
|
+
* * `enablePartitionwiseAggregate` - (Optional) Enables partitionwise aggregation and grouping. Default: `off`.
|
|
105
|
+
* * `enablePartitionwiseJoin` - (Optional) Enables partitionwise join. Default: `off`.
|
|
106
|
+
* * `enablePresortedAggregate` - (Optional) Enables the planner's ability to produce plans that provide presorted input for ORDER BY / DISTINCT aggregate functions. Default: `on`.
|
|
107
|
+
* * `enableSeqscan` - (Optional) Enables the planner's use of sequential-scan plans. Default: `on`.
|
|
108
|
+
* * `enableSort` - (Optional) Enables the planner's use of explicit sort steps. Default: `on`.
|
|
109
|
+
* * `enableTidscan` - (Optional) Enables the planner's use of TID scan plans. Default: `on`.
|
|
110
|
+
* * `escapeStringWarning` - (Optional) Warn about backslash escapes in ordinary string literals. Default: `on`.
|
|
111
|
+
* * `eventTriggers` - (Optional) Enables event triggers. Default: `on`.
|
|
112
|
+
* * `extraFloatDigits` - (Optional) Sets the number of digits displayed for floating-point values. Default: `1`.
|
|
113
|
+
* * `fromCollapseLimit` - (Optional) Sets the FROM-list size beyond which subqueries are not collapsed. Default: `8`.
|
|
114
|
+
* * `geqo` - (Optional) Enables genetic query optimization. Default: `on`.
|
|
115
|
+
* * `geqoEffort` - (Optional) GEQO: effort is used to set the default for other GEQO parameters. Default: `5`.
|
|
116
|
+
* * `geqoGenerations` - (Optional) GEQO: number of iterations of the algorithm. Default: `0`.
|
|
117
|
+
* * `geqoPoolSize` - (Optional) GEQO: number of individuals in the population. Default: `0`.
|
|
118
|
+
* * `geqoSeed` - (Optional) GEQO: seed for random path selection. Default: `0`.
|
|
119
|
+
* * `geqoSelectionBias` - (Optional) GEQO: selective pressure within the population. Default: `2`.
|
|
120
|
+
* * `geqoThreshold` - (Optional) Sets the threshold of FROM items beyond which GEQO is used. Default: `12`.
|
|
121
|
+
* * `ginFuzzySearchLimit` - (Optional) Sets the maximum allowed result for exact search by GIN. Default: `0`.
|
|
122
|
+
* * `ginPendingListLimit` - (Optional) Sets the maximum size of the pending list for GIN index. Default: `4096`.
|
|
123
|
+
* * `gssAcceptDelegation` - (Optional) Sets whether GSSAPI delegation should be accepted from the client. Default: `off`.
|
|
124
|
+
* * `hashMemMultiplier` - (Optional) Multiple of "workMem" to use for hash tables. Default: `2`.
|
|
125
|
+
* * `icuValidationLevel` - (Optional) Log level for reporting invalid ICU locale strings. Default: `warning`.
|
|
126
|
+
* * `idleInTransactionSessionTimeout` - (Optional) Sets the maximum allowed idle time between queries, when in a transaction. Default: `0`.
|
|
127
|
+
* * `idleSessionTimeout` - (Optional) Sets the maximum allowed idle time between queries, when not in a transaction. Default: `0`.
|
|
128
|
+
* * `intervalstyle` - (Optional) Sets the display format for interval values. Default: `postgres`.
|
|
129
|
+
* * `ioCombineLimit` - (Optional) Limit on the size of data reads and writes. Default: `16`.
|
|
130
|
+
* * `jit` - (Optional) Allow JIT compilation. Default: `on`.
|
|
131
|
+
* * `jitAboveCost` - (Optional) Perform JIT compilation if query is more expensive. Default: `100000`.
|
|
132
|
+
* * `jitInlineAboveCost` - (Optional) Perform JIT inlining if query is more expensive. Default: `500000`.
|
|
133
|
+
* * `jitOptimizeAboveCost` - (Optional) Optimize JIT-compiled functions if query is more expensive. Default: `500000`.
|
|
134
|
+
* * `joinCollapseLimit` - (Optional) Sets the FROM-list size beyond which JOIN constructs are not flattened. Default: `8`.
|
|
135
|
+
* * `lcMessages` - (Optional) Sets the language in which messages are displayed.
|
|
136
|
+
* * `lcMonetary` - (Optional) Sets the locale for formatting monetary amounts. Default: `C`.
|
|
137
|
+
* * `lcNumeric` - (Optional) Sets the locale for formatting numbers. Default: `C`.
|
|
138
|
+
* * `lcTime` - (Optional) Sets the locale for formatting date and time values. Default: `C`.
|
|
139
|
+
* * `logAutovacuumMinDuration` - (Optional) Sets the minimum execution time above which autovacuum actions will be logged. Default: `600000`.
|
|
140
|
+
* * `logCheckpoints` - (Optional) Logs each checkpoint. Default: `on`.
|
|
141
|
+
* * `logConnections` - (Optional) Logs specified aspects of connection establishment and setup.
|
|
142
|
+
* * `logDisconnections` - (Optional) Logs end of a session, including duration. Default: `off`.
|
|
143
|
+
* * `logDuration` - (Optional) Logs the duration of each completed SQL statement. Default: `off`.
|
|
144
|
+
* * `logErrorVerbosity` - (Optional) Sets the verbosity of logged messages. Default: `default`.
|
|
145
|
+
* * `logExecutorStats` - (Optional) Writes executor performance statistics to the server log. Default: `off`.
|
|
146
|
+
* * `logHostname` - (Optional) Logs the host name in the connection logs. Default: `off`.
|
|
147
|
+
* * `logLockWaits` - (Optional) Logs long lock waits. Default: `off`.
|
|
148
|
+
* * `logMinDurationSample` - (Optional) Sets the minimum execution time above which a sample of statements will be logged. Sampling is determined by "logStatementSampleRate". Default: `-1`.
|
|
149
|
+
* * `logMinDurationStatement` - (Optional) Sets the minimum execution time above which all statements will be logged. Default: `-1`.
|
|
150
|
+
* * `logMinErrorStatement` - (Optional) Causes all statements generating error at or above this level to be logged. Default: `error`.
|
|
151
|
+
* * `logMinMessages` - (Optional) Sets the message levels that are logged. Default: `warning`.
|
|
152
|
+
* * `logParameterMaxLength` - (Optional) Sets the maximum length in bytes of data logged for bind parameter values when logging statements. Default: `-1`.
|
|
153
|
+
* * `logParameterMaxLengthOnError` - (Optional) Sets the maximum length in bytes of data logged for bind parameter values when logging statements, on error. Default: `0`.
|
|
154
|
+
* * `logParserStats` - (Optional) Writes parser performance statistics to the server log. Default: `off`.
|
|
155
|
+
* * `logPlannerStats` - (Optional) Writes planner performance statistics to the server log. Default: `off`.
|
|
156
|
+
* * `logRecoveryConflictWaits` - (Optional) Logs standby recovery conflict waits. Default: `off`.
|
|
157
|
+
* * `logReplicationCommands` - (Optional) Logs each replication command. Default: `off`.
|
|
158
|
+
* * `logRotationSize` - (Optional) Sets the maximum size a log file can reach before being rotated. Default: `10240`.
|
|
159
|
+
* * `logStartupProgressInterval` - (Optional) Time between progress updates for long-running startup operations. Default: `10000`.
|
|
160
|
+
* * `logStatement` - (Optional) Sets the type of statements logged. Default: `none`.
|
|
161
|
+
* * `logStatementSampleRate` - (Optional) Fraction of statements exceeding "logMinDurationSample" to be logged. Default: `1`.
|
|
162
|
+
* * `logStatementStats` - (Optional) Writes cumulative performance statistics to the server log. Default: `off`.
|
|
163
|
+
* * `logTempFiles` - (Optional) Log the use of temporary files larger than this number of kilobytes. Default: `-1`.
|
|
164
|
+
* * `logTransactionSampleRate` - (Optional) Sets the fraction of transactions from which to log all statements. Default: `0`.
|
|
165
|
+
* * `logicalDecodingWorkMem` - (Optional) Sets the maximum memory to be used for logical decoding. Default: `65536`.
|
|
166
|
+
* * `maintenanceIoConcurrency` - (Optional) A variant of "effectiveIoConcurrency" that is used for maintenance work. Default: `16`.
|
|
167
|
+
* * `maxFilesPerProcess` - (Optional) Sets the maximum number of files each server process is allowed to open simultaneously. Default: `1000`. **Requires restart.**
|
|
168
|
+
* * `maxLocksPerTransaction` - (Optional) Sets the maximum number of locks per transaction. Default: `64`. **Requires restart.**
|
|
169
|
+
* * `maxLogicalReplicationWorkers` - (Optional) Maximum number of logical replication worker processes. Default: `4`. **Requires restart.**
|
|
170
|
+
* * `maxNotifyQueuePages` - (Optional) Sets the maximum number of allocated pages for NOTIFY / LISTEN queue. Default: `1048576`. **Requires restart.**
|
|
171
|
+
* * `maxParallelApplyWorkersPerSubscription` - (Optional) Maximum number of parallel apply workers per subscription. Default: `2`.
|
|
172
|
+
* * `maxParallelMaintenanceWorkers` - (Optional) Sets the maximum number of parallel processes per maintenance operation. Default: `2`.
|
|
173
|
+
* * `maxParallelWorkers` - (Optional) Sets the maximum number of parallel workers that can be active at one time. Default: `8`.
|
|
174
|
+
* * `maxParallelWorkersPerGather` - (Optional) Sets the maximum number of parallel processes per executor node. Default: `2`.
|
|
175
|
+
* * `maxPredLocksPerPage` - (Optional) Sets the maximum number of predicate-locked tuples per page. Default: `2`.
|
|
176
|
+
* * `maxPredLocksPerRelation` - (Optional) Sets the maximum number of predicate-locked pages and tuples per relation. Default: `-2`.
|
|
177
|
+
* * `maxPredLocksPerTransaction` - (Optional) Sets the maximum number of predicate locks per transaction. Default: `64`. **Requires restart.**
|
|
178
|
+
* * `maxPreparedTransactions` - (Optional) Sets the maximum number of simultaneously prepared transactions. Default: `0`. **Requires restart.**
|
|
179
|
+
* * `maxSlotWalKeepSize` - (Optional) Sets the maximum WAL size that can be reserved by replication slots. Default: `-1`.
|
|
180
|
+
* * `maxStandbyArchiveDelay` - (Optional) Sets the maximum delay before canceling queries when a hot standby server is processing archived WAL data. Default: `30000`.
|
|
181
|
+
* * `maxStandbyStreamingDelay` - (Optional) Sets the maximum delay before canceling queries when a hot standby server is processing streamed WAL data. Default: `30000`.
|
|
182
|
+
* * `maxSyncWorkersPerSubscription` - (Optional) Maximum number of table synchronization workers per subscription. Default: `2`.
|
|
183
|
+
* * `minDynamicSharedMemory` - (Optional) Amount of dynamic shared memory reserved at startup. Default: `0`. **Requires restart.**
|
|
184
|
+
* * `minParallelIndexScanSize` - (Optional) Sets the minimum amount of index data for a parallel scan. Default: `64`.
|
|
185
|
+
* * `minParallelTableScanSize` - (Optional) Sets the minimum amount of table data for a parallel scan. Default: `1024`.
|
|
186
|
+
* * `parallelLeaderParticipation` - (Optional) Controls whether Gather and Gather Merge also run subplans. Default: `on`.
|
|
187
|
+
* * `parallelSetupCost` - (Optional) Sets the planner's estimate of the cost of starting up worker processes for parallel query. Default: `1000`.
|
|
188
|
+
* * `parallelTupleCost` - (Optional) Sets the planner's estimate of the cost of passing each tuple (row) from worker to leader backend. Default: `0.1`.
|
|
189
|
+
* * `planCacheMode` - (Optional) Controls the planner's selection of custom or generic plan. Default: `auto`.
|
|
190
|
+
* * `quoteAllIdentifiers` - (Optional) When generating SQL fragments, quote all identifiers. Default: `off`.
|
|
191
|
+
* * `randomPageCost` - (Optional) Sets the planner's estimate of the cost of a nonsequentially fetched disk page. Default: `4`.
|
|
192
|
+
* * `recursiveWorktableFactor` - (Optional) Sets the planner's estimate of the average size of a recursive query's working table. Default: `10`.
|
|
193
|
+
* * `removeTempFilesAfterCrash` - (Optional) Remove temporary files after backend crash. Default: `on`.
|
|
194
|
+
* * `rowSecurity` - (Optional) Enables row security. Default: `on`.
|
|
195
|
+
* * `scramIterations` - (Optional) Sets the iteration count for SCRAM secret generation. Default: `4096`.
|
|
196
|
+
* * `searchPath` - (Optional) Sets the schema search order for names that are not schema-qualified. Default: `"$user", public`.
|
|
197
|
+
* * `seqPageCost` - (Optional) Sets the planner's estimate of the cost of a sequentially fetched disk page. Default: `1`.
|
|
198
|
+
* * `sessionReplicationRole` - (Optional) Sets the session's behavior for triggers and rewrite rules. Default: `origin`.
|
|
199
|
+
* * `sharedBuffers` - (Optional) Sets the number of shared memory buffers used by the server. Default: `16384`. **Requires restart.**
|
|
200
|
+
* * `standardConformingStrings` - (Optional) Causes '...' strings to treat backslashes literally. Default: `on`.
|
|
201
|
+
* * `statementTimeout` - (Optional) Sets the maximum allowed duration of any statement. Default: `0`.
|
|
202
|
+
* * `statsFetchConsistency` - (Optional) Sets the consistency of accesses to statistics data. Default: `cache`.
|
|
203
|
+
* * `synchronizeSeqscans` - (Optional) Enables synchronized sequential scans. Default: `on`.
|
|
204
|
+
* * `synchronousCommit` - (Optional) Sets the current transaction's synchronization level. Default: `on`.
|
|
205
|
+
* * `tcpKeepalivesCount` - (Optional) Maximum number of TCP keepalive retransmits. Default: `0`.
|
|
206
|
+
* * `tcpKeepalivesIdle` - (Optional) Time between issuing TCP keepalives. Default: `0`.
|
|
207
|
+
* * `tcpKeepalivesInterval` - (Optional) Time between TCP keepalive retransmits. Default: `0`.
|
|
208
|
+
* * `tempBuffers` - (Optional) Sets the maximum number of temporary buffers used by each session. Default: `1024`.
|
|
209
|
+
* * `tempFileLimit` - (Optional) Limits the total size of all temporary files used by each process. Default: `-1`.
|
|
210
|
+
* * `tempTablespaces` - (Optional) Sets the tablespace(s) to use for temporary tables and sort files.
|
|
211
|
+
* * `timezone` - (Optional) Sets the time zone for displaying and interpreting time stamps. Default: `GMT`.
|
|
212
|
+
* * `traceConnectionNegotiation` - (Optional) Logs details of pre-authentication connection handshake. Default: `off`. **Requires restart.**
|
|
213
|
+
* * `trackActivities` - (Optional) Collects information about executing commands. Default: `on`.
|
|
214
|
+
* * `trackActivityQuerySize` - (Optional) Sets the size reserved for pg_stat_activity.query, in bytes. Default: `1024`. **Requires restart.**
|
|
215
|
+
* * `trackFunctions` - (Optional) Collects function-level statistics on database activity. Default: `none`.
|
|
216
|
+
* * `trackIoTiming` - (Optional) Collects timing statistics for database I/O activity. Default: `off`.
|
|
217
|
+
* * `trackWalIoTiming` - (Optional) Collects timing statistics for WAL I/O activity. Default: `off`.
|
|
218
|
+
* * `transformNullEquals` - (Optional) Treats "expr=NULL" as "expr IS NULL". Default: `off`.
|
|
219
|
+
* * `vacuumBufferUsageLimit` - (Optional) Sets the buffer pool size for VACUUM, ANALYZE, and autovacuum. Default: `2048`.
|
|
220
|
+
* * `vacuumCostDelay` - (Optional) Vacuum cost delay in milliseconds. Default: `0`.
|
|
221
|
+
* * `vacuumCostLimit` - (Optional) Vacuum cost amount available before napping. Default: `200`.
|
|
222
|
+
* * `vacuumCostPageDirty` - (Optional) Vacuum cost for a page dirtied by vacuum. Default: `20`.
|
|
223
|
+
* * `vacuumCostPageHit` - (Optional) Vacuum cost for a page found in the buffer cache. Default: `1`.
|
|
224
|
+
* * `vacuumCostPageMiss` - (Optional) Vacuum cost for a page not found in the buffer cache. Default: `2`.
|
|
225
|
+
* * `vacuumFailsafeAge` - (Optional) Age at which VACUUM should trigger failsafe to avoid a wraparound outage. Default: `1600000000`.
|
|
226
|
+
* * `vacuumFreezeMinAge` - (Optional) Minimum age at which VACUUM should freeze a table row. Default: `50000000`.
|
|
227
|
+
* * `vacuumFreezeTableAge` - (Optional) Age at which VACUUM should scan whole table to freeze tuples. Default: `150000000`.
|
|
228
|
+
* * `vacuumMultixactFailsafeAge` - (Optional) Multixact age at which VACUUM should trigger failsafe to avoid a wraparound outage. Default: `1600000000`.
|
|
229
|
+
* * `vacuumMultixactFreezeMinAge` - (Optional) Minimum age at which VACUUM should freeze a MultiXactId in a table row. Default: `5000000`.
|
|
230
|
+
* * `vacuumMultixactFreezeTableAge` - (Optional) Multixact age at which VACUUM should scan whole table to freeze tuples. Default: `150000000`.
|
|
231
|
+
* * `walCompression` - (Optional) Compresses full-page writes written in WAL file with specified method. Default: `off`.
|
|
232
|
+
* * `walReceiverStatusInterval` - (Optional) Sets the maximum interval between WAL receiver status reports to the sending server. Default: `10`.
|
|
233
|
+
* * `walReceiverTimeout` - (Optional) Sets the maximum wait time to receive data from the sending server. Default: `60000`.
|
|
234
|
+
* * `walSenderTimeout` - (Optional) Sets the maximum time to wait for WAL replication. Default: `60000`.
|
|
235
|
+
* * `walSkipThreshold` - (Optional) Minimum size of new file to fsync instead of writing WAL. Default: `2048`.
|
|
236
|
+
* * `walWriterDelay` - (Optional) Time between WAL flushes performed in the WAL writer. Default: `200`.
|
|
237
|
+
* * `walWriterFlushAfter` - (Optional) Amount of WAL written out by WAL writer that triggers a flush. Default: `128`.
|
|
238
|
+
* * `workMem` - (Optional) Sets the maximum memory to be used for query workspaces. Default: `4096`.
|
|
239
|
+
* * `xmlbinary` - (Optional) Sets how binary values are to be encoded in XML. Default: `base64`.
|
|
240
|
+
* * `xmloption` - (Optional) Sets whether XML data in implicit parsing and serialization operations is to be considered as documents or content fragments. Default: `content`.
|
|
241
|
+
*
|
|
242
|
+
* ## Import
|
|
243
|
+
*
|
|
244
|
+
* An advanced PostgreSQL database cluster's configuration can be imported using the `id` of the parent cluster, e.g.
|
|
245
|
+
*
|
|
246
|
+
* ```sh
|
|
247
|
+
* $ pulumi import digitalocean:index/databaseAdvancedPostgresqlConfig:DatabaseAdvancedPostgresqlConfig example 52556c07-788e-4d41-b8a7-c796432197d1
|
|
248
|
+
* ```
|
|
249
|
+
*/
|
|
250
|
+
export declare class DatabaseAdvancedPostgresqlConfig extends pulumi.CustomResource {
|
|
251
|
+
/**
|
|
252
|
+
* Get an existing DatabaseAdvancedPostgresqlConfig resource's state with the given name, ID, and optional extra
|
|
253
|
+
* properties used to qualify the lookup.
|
|
254
|
+
*
|
|
255
|
+
* @param name The _unique_ name of the resulting resource.
|
|
256
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
257
|
+
* @param state Any extra arguments used during the lookup.
|
|
258
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
259
|
+
*/
|
|
260
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseAdvancedPostgresqlConfigState, opts?: pulumi.CustomResourceOptions): DatabaseAdvancedPostgresqlConfig;
|
|
261
|
+
/**
|
|
262
|
+
* Returns true if the given object is an instance of DatabaseAdvancedPostgresqlConfig. This is designed to work even
|
|
263
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
264
|
+
*/
|
|
265
|
+
static isInstance(obj: any): obj is DatabaseAdvancedPostgresqlConfig;
|
|
266
|
+
/**
|
|
267
|
+
* The ID of the target PostgreSQL Advanced Edition cluster.
|
|
268
|
+
*/
|
|
269
|
+
readonly clusterId: pulumi.Output<string>;
|
|
270
|
+
/**
|
|
271
|
+
* A map of PostgreSQL GUC parameter names to their string values. Only parameters included in this map are managed by Terraform. Values use PostgreSQL GUC syntax (for example, `workMem` is specified in kilobytes unless a unit suffix is provided).
|
|
272
|
+
*/
|
|
273
|
+
readonly pgParameters: pulumi.Output<{
|
|
274
|
+
[key: string]: string;
|
|
275
|
+
} | undefined>;
|
|
276
|
+
/**
|
|
277
|
+
* Create a DatabaseAdvancedPostgresqlConfig resource with the given unique name, arguments, and options.
|
|
278
|
+
*
|
|
279
|
+
* @param name The _unique_ name of the resource.
|
|
280
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
281
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
282
|
+
*/
|
|
283
|
+
constructor(name: string, args: DatabaseAdvancedPostgresqlConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Input properties used for looking up and filtering DatabaseAdvancedPostgresqlConfig resources.
|
|
287
|
+
*/
|
|
288
|
+
export interface DatabaseAdvancedPostgresqlConfigState {
|
|
289
|
+
/**
|
|
290
|
+
* The ID of the target PostgreSQL Advanced Edition cluster.
|
|
291
|
+
*/
|
|
292
|
+
clusterId?: pulumi.Input<string | undefined>;
|
|
293
|
+
/**
|
|
294
|
+
* A map of PostgreSQL GUC parameter names to their string values. Only parameters included in this map are managed by Terraform. Values use PostgreSQL GUC syntax (for example, `workMem` is specified in kilobytes unless a unit suffix is provided).
|
|
295
|
+
*/
|
|
296
|
+
pgParameters?: pulumi.Input<{
|
|
297
|
+
[key: string]: pulumi.Input<string>;
|
|
298
|
+
} | undefined>;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* The set of arguments for constructing a DatabaseAdvancedPostgresqlConfig resource.
|
|
302
|
+
*/
|
|
303
|
+
export interface DatabaseAdvancedPostgresqlConfigArgs {
|
|
304
|
+
/**
|
|
305
|
+
* The ID of the target PostgreSQL Advanced Edition cluster.
|
|
306
|
+
*/
|
|
307
|
+
clusterId: pulumi.Input<string>;
|
|
308
|
+
/**
|
|
309
|
+
* A map of PostgreSQL GUC parameter names to their string values. Only parameters included in this map are managed by Terraform. Values use PostgreSQL GUC syntax (for example, `workMem` is specified in kilobytes unless a unit suffix is provided).
|
|
310
|
+
*/
|
|
311
|
+
pgParameters?: pulumi.Input<{
|
|
312
|
+
[key: string]: pulumi.Input<string>;
|
|
313
|
+
} | undefined>;
|
|
314
|
+
}
|
|
315
|
+
//# sourceMappingURL=databaseAdvancedPostgresqlConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"databaseAdvancedPostgresqlConfig.d.ts","sourceRoot":"","sources":["../databaseAdvancedPostgresqlConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuPG;AACH,qBAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gCAAgC;IAOlL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gCAAgC;IAO3E;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACzD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAEzF;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,oCAAoC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB5G;AAED;;GAEG;AACH,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAClF;AAED;;GAEG;AACH,MAAM,WAAW,oCAAoC;IACjD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;CAClF"}
|