Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/extensions/bundled/pg_stat_statements.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ By extending standard functionality into the parallel execution layer, `pg_stat_
- Unified visibility through specialized system views for both raw and aggregated data.
- Centralized management for resetting performance metrics across the entire cluster simultaneously.

::: info Version availability

`pg_stat_statements` is available starting with WarehousePG 7.4.0.
:::

## Loading the module

`pg_stat_statements` is shipped with WarehousePG 7.4 and later. You must load the extension as a shared library before you can use it within your databases.
Expand Down
5 changes: 5 additions & 0 deletions docs/whpg/7x/ref_guide/config_params/guc-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -4311,6 +4311,11 @@ The topology file's state is exposed through the read-only [whpg_dispatch_topolo
| ----------- | ------- | ----------------------- |
| string | | local, system, reload |

::: info Version availability

`whpg_dispatch_topology_file` and `whpg_dispatch_topology_state` are available starting with WarehousePG 7.6.0.
:::

<a id="whpg_dispatch_topology_state"></a>

## whpg_dispatch_topology_state
Expand Down
4 changes: 4 additions & 0 deletions docs/whpg/7x/ref_guide/sql_commands/ALTER_RESOURCE_GROUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ You can alter one limit type in a single `ALTER RESOURCE GROUP` call.

The new name for the resource group. The name must be unique among all resource groups. You can't rename the default resource groups `admin_group`, `default_group`, and `system_group`, and you can't use `none` as a new name.

::: info Version availability
Renaming a resource group with `SET NAME` is available starting with WarehousePG 7.5.0.
:::

<a id="notes"></a>

## Notes
Expand Down
4 changes: 4 additions & 0 deletions docs/whpg/7x/ref_guide/sql_commands/CREATE_TABLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,10 @@ Used to declare the WarehousePG distribution policy for the table. `DISTRIBUTED

The `DISTRIBUTED COORDINATOR ONLY` clause specifies that the data is located only on the coordinator node. This policy is primarily used for small lookup tables or system components that need early access to metadata during query planning.

::: info Version availability
`DISTRIBUTED COORDINATOR ONLY` is available starting with WarehousePG 7.4.0.
:::

The WarehousePG server configuration parameter [gp_create_table_random_default_distribution](../config_params/guc-list.md#gp_create_table_random_default_distribution) controls the default table distribution policy if the DISTRIBUTED BY clause is not specified when you create a table. WarehousePG follows these rules to create a table if a distribution policy is not specified.

If the value of the parameter is `off` (the default), WarehousePG chooses the table distribution key based on the command:
Expand Down
4 changes: 4 additions & 0 deletions docs/whpg/7x/ref_guide/sql_commands/CREATE_TABLE_AS.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ This command is functionally similar to [SELECT INTO](SELECT_INTO.md), but it is

`CREATE TABLE AS` supports coordinator-only distribution via the clause `DISTRIBUTED COORDINATOR ONLY`. Refer to [CREATE TABLE](CREATE_TABLE.md#section3) for restrictions on coordinator-only distribution.

::: info Version availability
Coordinator-only distribution on `CREATE TABLE AS` is available starting with WarehousePG 7.6.0. The `DISTRIBUTED COORDINATOR ONLY` clause itself has been available on `CREATE TABLE` since WarehousePG 7.4.0.
:::

<a id="section6"></a>

## Examples
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ The view `pg_stat_operations` shows details about the last operation performed o
| `subtype` | text |   | The type of object operated on or the subclass of operation performed. |
| `statime` | timestamptz |   | The timestamp of the operation. This is the same timestamp that is written to the WarehousePG server log files in case you need to look up more detailed information about the operation in the logs. |

::: info Version availability
Resource queue and resource group operations (`pg_resqueue`, `pg_resgroup`, and `pg_resgroupcapability` in `classname`) are tracked starting with WarehousePG 7.6.0.
:::

**Parent topic:** [System Catalogs Definitions](index.md)
Loading