From caf89589c851515ad6457d75081c4b18f2313b8c Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:20:46 -0500 Subject: [PATCH 1/4] add configuring section --- .../pg_extensions/wait_states/configuring.mdx | 15 +++++++++++++++ advocacy_docs/pg_extensions/wait_states/index.mdx | 1 + 2 files changed, 16 insertions(+) create mode 100644 advocacy_docs/pg_extensions/wait_states/configuring.mdx diff --git a/advocacy_docs/pg_extensions/wait_states/configuring.mdx b/advocacy_docs/pg_extensions/wait_states/configuring.mdx new file mode 100644 index 00000000000..99718497fc7 --- /dev/null +++ b/advocacy_docs/pg_extensions/wait_states/configuring.mdx @@ -0,0 +1,15 @@ +--- +title: Configuring EDB Wait States +navTitle: Configuring +--- + +## Parameters + +The following custom GUCs control the EDB Wait States extension behavior. If you modify these parameters, reload Postgres to apply the changes. + +| Parameter(s) | Description | Default | | +|---------------------------------|-------------|---------| +| `edb_wait_states.sampling_interval`| The interval between two EDB wait states sampling cycles.| 1 second | +| `edb_wait_states.retention_period`| Deletes EDB wait states log files after retention period. | 604800 seconds (7 days)| | +| `edb_wait_states.enable_collection`| Enable or disable EDB wait states data collection. | True | | +| `edb_wait_states.directory` | Stores the EDB wait states logs in this directory. The path must be a full, absolute path, not a relative path. | $PGDATA/edb_wait_states | diff --git a/advocacy_docs/pg_extensions/wait_states/index.mdx b/advocacy_docs/pg_extensions/wait_states/index.mdx index 21e78717259..acbcfcf8f1d 100644 --- a/advocacy_docs/pg_extensions/wait_states/index.mdx +++ b/advocacy_docs/pg_extensions/wait_states/index.mdx @@ -6,6 +6,7 @@ directoryDefaults: navigation: - rel_notes - installing + - configuring - using --- From a19eae5c248bb3004a5fbaa74fbc2632551b96c9 Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:28:45 -0500 Subject: [PATCH 2/4] minor edits --- .../pg_extensions/wait_states/configuring.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/advocacy_docs/pg_extensions/wait_states/configuring.mdx b/advocacy_docs/pg_extensions/wait_states/configuring.mdx index 99718497fc7..22cef949caf 100644 --- a/advocacy_docs/pg_extensions/wait_states/configuring.mdx +++ b/advocacy_docs/pg_extensions/wait_states/configuring.mdx @@ -5,11 +5,11 @@ navTitle: Configuring ## Parameters -The following custom GUCs control the EDB Wait States extension behavior. If you modify these parameters, reload Postgres to apply the changes. +The following parameters control the EDB Wait States extension behavior. If you modify these parameters, reload Postgres to apply the changes. -| Parameter(s) | Description | Default | | +| Parameter | Description | Default | | |---------------------------------|-------------|---------| -| `edb_wait_states.sampling_interval`| The interval between two EDB wait states sampling cycles.| 1 second | -| `edb_wait_states.retention_period`| Deletes EDB wait states log files after retention period. | 604800 seconds (7 days)| | -| `edb_wait_states.enable_collection`| Enable or disable EDB wait states data collection. | True | | -| `edb_wait_states.directory` | Stores the EDB wait states logs in this directory. The path must be a full, absolute path, not a relative path. | $PGDATA/edb_wait_states | +| `edb_wait_states.sampling_interval`| The interval between two EDB Wait States sampling cycles.| 1 second | +| `edb_wait_states.retention_period`| Deletes EDB Wait States log files after a defined retention period. | 604800 seconds (7 days)| | +| `edb_wait_states.enable_collection`| Enable or disable EDB Wait States data collection. | True | | +| `edb_wait_states.directory` | Stores the EDB Wait States logs in this directory. The path must be a full, absolute path. It can't be a relative path. | $PGDATA/edb_wait_states | From 8aa5a9bcdbfd8f52ae4bd1beff9715c9f2e3f07c Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:44:00 -0500 Subject: [PATCH 3/4] add column --- .../pg_extensions/wait_states/configuring.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/advocacy_docs/pg_extensions/wait_states/configuring.mdx b/advocacy_docs/pg_extensions/wait_states/configuring.mdx index 22cef949caf..d9b6f058599 100644 --- a/advocacy_docs/pg_extensions/wait_states/configuring.mdx +++ b/advocacy_docs/pg_extensions/wait_states/configuring.mdx @@ -5,11 +5,11 @@ navTitle: Configuring ## Parameters -The following parameters control the EDB Wait States extension behavior. If you modify these parameters, reload Postgres to apply the changes. +The following parameters in `postgresql.conf` control the EDB Wait States extension behavior. If you modify these parameters, reload or restart Postgres to apply the changes. -| Parameter | Description | Default | | -|---------------------------------|-------------|---------| -| `edb_wait_states.sampling_interval`| The interval between two EDB Wait States sampling cycles.| 1 second | -| `edb_wait_states.retention_period`| Deletes EDB Wait States log files after a defined retention period. | 604800 seconds (7 days)| | -| `edb_wait_states.enable_collection`| Enable or disable EDB Wait States data collection. | True | | -| `edb_wait_states.directory` | Stores the EDB Wait States logs in this directory. The path must be a full, absolute path. It can't be a relative path. | $PGDATA/edb_wait_states | +| Parameter | Description | Default | Reload or Restart | | +|---------------------------------|-------------|---------|----------------------| +| `edb_wait_states.sampling_interval`| The interval between two EDB Wait States sampling cycles.| 1 second | Reload| +| `edb_wait_states.retention_period`| Deletes EDB Wait States log files after a defined retention period. | 604800 seconds (7 days)| Reload| | +| `edb_wait_states.enable_collection`| Enable or disable EDB Wait States data collection. | True | Reload| | +| `edb_wait_states.directory` | Stores the EDB Wait States logs in this directory. The path must be a full, absolute path. It can't be a relative path. | $PGDATA/edb_wait_states |Restart| From 7af48949f0b2b675782e813baf7c226da3c55f10 Mon Sep 17 00:00:00 2001 From: piano35-edb <160748516+piano35-edb@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:50:32 -0500 Subject: [PATCH 4/4] typo --- advocacy_docs/pg_extensions/wait_states/configuring.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advocacy_docs/pg_extensions/wait_states/configuring.mdx b/advocacy_docs/pg_extensions/wait_states/configuring.mdx index d9b6f058599..fbd5b58031c 100644 --- a/advocacy_docs/pg_extensions/wait_states/configuring.mdx +++ b/advocacy_docs/pg_extensions/wait_states/configuring.mdx @@ -11,5 +11,5 @@ The following parameters in `postgresql.conf` control the EDB Wait States extens |---------------------------------|-------------|---------|----------------------| | `edb_wait_states.sampling_interval`| The interval between two EDB Wait States sampling cycles.| 1 second | Reload| | `edb_wait_states.retention_period`| Deletes EDB Wait States log files after a defined retention period. | 604800 seconds (7 days)| Reload| | -| `edb_wait_states.enable_collection`| Enable or disable EDB Wait States data collection. | True | Reload| | +| `edb_wait_states.enable_collection`| Enable or disable EDB Wait States data collection. | true | Reload| | | `edb_wait_states.directory` | Stores the EDB Wait States logs in this directory. The path must be a full, absolute path. It can't be a relative path. | $PGDATA/edb_wait_states |Restart|