File: TestDatabasePostgres_EngineConfig_Get.yaml

package info (click to toggle)
golang-github-linode-linodego 1.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,112 kB
  • sloc: makefile: 96; sh: 52; python: 24
file content (204 lines) | stat: -rw-r--r-- 14,064 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
---
version: 1
interactions:
- request:
    body: ""
    form: {}
    headers:
      Accept:
      - application/json
      Content-Type:
      - application/json
      User-Agent:
      - linodego/dev https://github.com/linode/linodego
    url: https://api.linode.com/v4beta/databases/postgresql/config
    method: GET
  response:
    body: '{"pg": {"autovacuum_analyze_scale_factor": {"description": "Specifies a
      fraction of the table size to add to autovacuum_analyze_threshold when deciding
      whether to trigger an ANALYZE. The default is 0.2 (20% of table size)", "maximum":
      1.0, "minimum": 0.0, "requires_restart": false, "type": "number"}, "autovacuum_analyze_threshold":
      {"description": "Specifies the minimum number of inserted, updated or deleted
      tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.",
      "maximum": 2147483647, "minimum": 0, "requires_restart": false, "type": "integer"},
      "autovacuum_max_workers": {"description": "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.",
      "maximum": 20, "minimum": 1, "requires_restart": true, "type": "integer"}, "autovacuum_naptime":
      {"description": "Specifies the minimum delay between autovacuum runs on any
      given database. The delay is measured in seconds, and the default is one minute",
      "maximum": 86400, "minimum": 1, "requires_restart": false, "type": "integer"},
      "autovacuum_vacuum_cost_delay": {"description": "Specifies the cost delay value
      that will be used in automatic VACUUM operations. If -1 is specified, the regular
      vacuum_cost_delay value will be used. The default value is 20 milliseconds",
      "maximum": 100, "minimum": -1, "requires_restart": false, "type": "integer"},
      "autovacuum_vacuum_cost_limit": {"description": "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.", "maximum":
      10000, "minimum": -1, "requires_restart": false, "type": "integer"}, "autovacuum_vacuum_scale_factor":
      {"description": "Specifies a fraction of the table size to add to autovacuum_vacuum_threshold
      when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table
      size)", "maximum": 1.0, "minimum": 0.0, "requires_restart": false, "type": "number"},
      "autovacuum_vacuum_threshold": {"description": "Specifies the minimum number
      of updated or deleted tuples needed to trigger a VACUUM in any one table. The
      default is 50 tuples", "maximum": 2147483647, "minimum": 0, "requires_restart":
      false, "type": "integer"}, "bgwriter_delay": {"description": "Specifies the
      delay between activity rounds for the background writer in milliseconds. Default
      is 200.", "example": 200, "maximum": 10000, "minimum": 10, "requires_restart":
      false, "type": "integer"}, "bgwriter_flush_after": {"description": "Whenever
      more than bgwriter_flush_after bytes have been written by the background writer,
      attempt to force the OS to issue these writes to the underlying storage. Specified
      in kilobytes, default is 512. Setting of 0 disables forced writeback.", "example":
      512, "maximum": 2048, "minimum": 0, "requires_restart": false, "type": "integer"},
      "bgwriter_lru_maxpages": {"description": "In each round, no more than this many
      buffers will be written by the background writer. Setting this to zero disables
      background writing. Default is 100.", "example": 100, "maximum": 1073741823,
      "minimum": 0, "requires_restart": false, "type": "integer"}, "bgwriter_lru_multiplier":
      {"description": "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 \u201cjust in time\u201d 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.", "example":
      2.0, "maximum": 10, "minimum": 0, "requires_restart": false, "type": "number"},
      "deadlock_timeout": {"description": "This is the amount of time, in milliseconds,
      to wait on a lock before checking to see if there is a deadlock condition.",
      "example": 1000, "maximum": 1800000, "minimum": 500, "requires_restart": false,
      "type": "integer"}, "default_toast_compression": {"description": "Specifies
      the default TOAST compression method for values of compressible columns (the
      default is lz4).", "enum": ["lz4", "pglz"], "example": "lz4", "requires_restart":
      false, "type": "string"}, "idle_in_transaction_session_timeout": {"description":
      "Time out sessions with open transactions after this number of milliseconds",
      "maximum": 604800000, "minimum": 0, "requires_restart": false, "type": "integer"},
      "jit": {"description": "Controls system-wide use of Just-in-Time Compilation
      (JIT).", "example": true, "requires_restart": false, "type": "boolean"}, "max_files_per_process":
      {"description": "PostgreSQL maximum number of files that can be open per process",
      "maximum": 4096, "minimum": 1000, "requires_restart": true, "type": "integer"},
      "max_locks_per_transaction": {"description": "PostgreSQL maximum locks per transaction",
      "maximum": 6400, "minimum": 64, "requires_restart": true, "type": "integer"},
      "max_logical_replication_workers": {"description": "PostgreSQL maximum logical
      replication workers (taken from the pool of max_parallel_workers)", "maximum":
      64, "minimum": 4, "requires_restart": true, "type": "integer"}, "max_parallel_workers":
      {"description": "Sets the maximum number of workers that the system can support
      for parallel queries", "maximum": 96, "minimum": 0, "requires_restart": false,
      "type": "integer"}, "max_parallel_workers_per_gather": {"description": "Sets
      the maximum number of workers that can be started by a single Gather or Gather
      Merge node", "maximum": 96, "minimum": 0, "requires_restart": false, "type":
      "integer"}, "max_pred_locks_per_transaction": {"description": "PostgreSQL maximum
      predicate locks per transaction", "maximum": 5120, "minimum": 64, "requires_restart":
      true, "type": "integer"}, "max_replication_slots": {"description": "PostgreSQL
      maximum replication slots", "maximum": 64, "minimum": 8, "requires_restart":
      true, "type": "integer"}, "max_slot_wal_keep_size": {"description": "PostgreSQL
      maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited).
      wal_keep_size minimum WAL size setting takes precedence over this.", "maximum":
      2147483647, "minimum": -1, "requires_restart": false, "type": "integer"}, "max_stack_depth":
      {"description": "Maximum depth of the stack in bytes", "maximum": 6291456, "minimum":
      2097152, "requires_restart": false, "type": "integer"}, "max_standby_archive_delay":
      {"description": "Max standby archive delay in milliseconds", "maximum": 43200000,
      "minimum": 1, "requires_restart": false, "type": "integer"}, "max_standby_streaming_delay":
      {"description": "Max standby streaming delay in milliseconds", "maximum": 43200000,
      "minimum": 1, "requires_restart": false, "type": "integer"}, "max_wal_senders":
      {"description": "PostgreSQL maximum WAL senders", "maximum": 64, "minimum":
      20, "requires_restart": true, "type": "integer"}, "max_worker_processes": {"description":
      "Sets the maximum number of background processes that the system can support",
      "maximum": 96, "minimum": 8, "requires_restart": true, "type": "integer"}, "password_encryption":
      {"default": "md5", "description": "Chooses the algorithm for encrypting passwords.",
      "enum": ["md5", "scram-sha-256"], "example": "scram-sha-256", "requires_restart":
      false, "type": "string"}, "pg_partman_bgw.interval": {"description": "Sets the
      time interval to run pg_partman''s scheduled tasks", "example": 3600, "maximum":
      604800, "minimum": 3600, "requires_restart": false, "type": "integer"}, "pg_partman_bgw.role":
      {"description": "Controls which role to use for pg_partman''s scheduled background
      tasks.", "example": "myrolename", "maxLength": 64, "pattern": "^[_A-Za-z0-9][-._A-Za-z0-9]{0,63}$",
      "requires_restart": false, "type": "string"}, "pg_stat_monitor.pgsm_enable_query_plan":
      {"description": "Enables or disables query plan monitoring", "example": false,
      "requires_restart": true, "type": "boolean"}, "pg_stat_monitor.pgsm_max_buckets":
      {"description": "Sets the maximum number of buckets ", "example": 10, "maximum":
      10, "minimum": 1, "requires_restart": true, "type": "integer"}, "pg_stat_statements.track":
      {"description": "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.", "enum": ["all",
      "top", "none"], "requires_restart": false, "type": "string"}, "temp_file_limit":
      {"description": "PostgreSQL temporary file limit in KiB, -1 for unlimited",
      "example": 5000000, "maximum": 2147483647, "minimum": -1, "requires_restart":
      false, "type": "integer"}, "timezone": {"description": "PostgreSQL service timezone",
      "example": "Europe/Helsinki", "maxLength": 64, "pattern": "^[\\w/]*$", "requires_restart":
      false, "type": "string"}, "track_activity_query_size": {"description": "Specifies
      the number of bytes reserved to track the currently executing command for each
      active session.", "example": 1024, "maximum": 10240, "minimum": 1024, "requires_restart":
      true, "type": "integer"}, "track_commit_timestamp": {"description": "Record
      commit time of transactions.", "enum": ["off", "on"], "example": "off", "requires_restart":
      true, "type": "string"}, "track_functions": {"description": "Enables tracking
      of function call counts and time used.", "enum": ["all", "pl", "none"], "requires_restart":
      false, "type": "string"}, "track_io_timing": {"description": "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.", "enum": ["off", "on"], "example": "off", "requires_restart":
      false, "type": "string"}, "wal_sender_timeout": {"description": "Terminate replication
      connections that are inactive for longer than this amount of time, in milliseconds.
      Setting this value to zero disables the timeout.", "example": 60000, "requires_restart":
      false, "type": "integer"}, "wal_writer_delay": {"description": "WAL flush interval
      in milliseconds. Note that setting this value to lower than the default 200ms
      may negatively impact performance", "example": 50, "maximum": 200, "minimum":
      10, "requires_restart": false, "type": "integer"}}, "pg_stat_monitor_enable":
      {"default": false, "description": "Enable the pg_stat_monitor extension. Enabling
      this extension will cause the cluster to be restarted.When this extension is
      enabled, pg_stat_statements results for utility commands are unreliable", "requires_restart":
      true, "type": "boolean"}, "pglookout": {"max_failover_replication_time_lag":
      {"default": 60, "description": "Number of seconds of master unavailability before
      triggering database failover to standby", "maximum": 999999, "minimum": 10,
      "requires_restart": false, "type": "integer"}}, "shared_buffers_percentage":
      {"description": "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.", "example": 41.5,
      "maximum": 60.0, "minimum": 20.0, "requires_restart": true, "type": "number"},
      "work_mem": {"description": "Sets the maximum amount of memory to be used by
      a query operation (such as a sort or hash table) before writing to temporary
      disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB).", "example":
      4, "maximum": 1024, "minimum": 1, "requires_restart": false, "type": "integer"}}'
    headers:
      Access-Control-Allow-Credentials:
      - "true"
      Access-Control-Allow-Headers:
      - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter
      Access-Control-Allow-Methods:
      - HEAD, GET, OPTIONS, POST, PUT, DELETE
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status
      Cache-Control:
      - private, max-age=0, s-maxage=0, no-cache, no-store
      - private, max-age=60, s-maxage=60
      Connection:
      - keep-alive
      Content-Length:
      - "11663"
      Content-Security-Policy:
      - default-src 'none'
      Content-Type:
      - application/json
      Server:
      - nginx/1.22.1
      Strict-Transport-Security:
      - max-age=31536000
      - max-age=31536000
      Vary:
      - Authorization, X-Filter
      - Authorization, X-Filter
      X-Accepted-Oauth-Scopes:
      - '*'
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      - DENY
      X-Oauth-Scopes:
      - '*'
      X-Ratelimit-Limit:
      - "400"
      X-Xss-Protection:
      - 1; mode=block
    status: 200 OK
    code: 200
    duration: ""