Skip to content

Commit

Permalink
Merge pull request #5617 from EnterpriseDB/release/2024-05-15c
Browse files Browse the repository at this point in the history
Release:2024-05-15c
  • Loading branch information
gvasquezvargas authored May 15, 2024
2 parents 94414af + b7d69a0 commit 386d68f
Show file tree
Hide file tree
Showing 20 changed files with 60 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ The EDB Wait States documentation describes the latest version of EDB Wait State

| Version | Release Date |
| -------------------------------- | ------------ |
| [1.3](wait_states_1.3_rel_notes) | 15 May 2024 |
| [1.2](wait_states_1.2_rel_notes) | 15 Feb 2024 |
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Release notes for Wait States version 1.3
navTitle: "Version 1.3"
---
Release date: 15 May 2024

This release of Wait States includes:

| Type | Description |
|-------------|---------------------------------------------------------|
| Enhancement | Added new function `edb_wait_states_directory_size()`. |
30 changes: 30 additions & 0 deletions advocacy_docs/pg_extensions/wait_states/using.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,36 @@ wait_event | PgSleep
.
```

## `edb_wait_states_directory_size`

This function gives the size of the `$PGDATA/edb_wait_states` directory.

```sql
edb_wait_states_directory_size(
IN start_ts timestampz default '-inifinity'::timestampz,
IN end_ts timestampz default 'infinity'::timestampz
);
```

The function returns the total size of all the files in the `edb_wait_states` directory in bytes. Optionally specify the `start_ts` and `end_ts` timestamps to get the file size of all the files in the specified interval.

!!!note
This function calculates and gives the size of all the files with prefix `ews_*` only. It ignores any other file added to the `edb_wait_states` directory manually.
!!!

### Example

This example shows the sample output from the `edb_wait_states_directory_size()` function:

```sql
edb=# select edb_wait_states_directory_size();
__OUTPUT__
edb_wait_states_directory_size
------------------------------
1712256
(1 row)
```

## `edb_wait_states_queries`

This function gives information about the queries sampled by the BGW. For example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Before you begin the installation process:
sudo zypper -n install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Before you begin the installation process:
sudo zypper -n install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before you begin the installation process:
sudo yum -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before you begin the installation process:
sudo apt-get -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before you begin the installation process:
sudo apt-get -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Before you begin the installation process:
sudo yum -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Before you begin the installation process:
sudo dnf -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Before you begin the installation process:
sudo zypper -n install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Before you begin the installation process:
sudo zypper -n install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before you begin the installation process:
sudo apt-get -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Before you begin the installation process:
sudo apt-get -y install edb-efm<4x>
```

Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is `edb-efm48`.
Where `<4x>` is the version of Failover Manager that you're installing. For example, if you're installing version 4.9, the package name is `edb-efm49`.

The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.

Expand Down
2 changes: 2 additions & 0 deletions product_docs/docs/pem/9/pem_rel_notes/index.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Release notes"
navigation:
- 960_rel_notes
- 951_rel_notes
- 950_rel_notes
- 941_rel_notes
Expand All @@ -19,6 +20,7 @@ The Postgres Enterprise Manager (PEM) documentation describes the latest version

| Version | Release Date | Upstream Merges | Accessibility Conformance |
| ------------------------- | ------------ | --------------------------------------------------------------------------| --------------------------------------------------------------------------------------------------- |
| [9.6.0](960_rel_notes) | 15 May 2024 | NA | [Conformance Report](https://www.enterprisedb.com/accessibility) |
| [9.5.1](951_rel_notes) | 04 Mar 2024 | NA | [Conformance Report](https://www.enterprisedb.com/accessibility) |
| [9.5.0](950_rel_notes) | 15 Feb 2024 | NA | [Conformance Report](https://www.enterprisedb.com/accessibility) |
| [9.4.1](941_rel_notes) | 28 Nov 2023 | NA | [Conformance Report](https://www.enterprisedb.com/accessibility) |
Expand Down

2 comments on commit 386d68f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸŽ‰ Published on https://edb-docs.netlify.app as production
πŸš€ Deployed on https://6644ce4b37a0431a31db545f--edb-docs.netlify.app

Please sign in to comment.