You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: advocacy_docs/pg_extensions/wait_states/installing.mdx
+42-12Lines changed: 42 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ title: Installing EDB Wait States
3
3
navTitle: Installing
4
4
---
5
5
6
-
## On Linux
6
+
## On all Linux systems except Debian and Ubuntu
7
7
8
-
To install EDB Wait States on a Linux system:
8
+
To install EDB Wait States on any Linux operating system except Debian or Ubuntu:
9
9
10
10
1. Enter the following command:
11
11
@@ -22,25 +22,57 @@ To install EDB Wait States on a Linux system:
22
22
| dnf | RHEL 8/9 and derivatives |
23
23
| yum | RHEL 7 and derivatives, CentOS 7 |
24
24
| zypper | SLES |
25
-
| apt-get | Debian and derivatives |
26
25
27
26
-`<install-command>` is the command required for the type of Postgres distribution you're using. In these commands `<version>` is the version of the Postgres distribution.
28
27
29
-
| Type of Postgres distribution | Install command |
1. Restart the database server. After a successful restart, the background worker begins collecting data.
48
+
49
+
1. To review the data, create the following extension:
50
+
51
+
```sql
52
+
CREATE EXTENSION edb_wait_states;
53
+
```
54
+
55
+
## On Debian and Ubuntu
42
56
43
-
Or, to install EDB Wait States for EDB Postgres Advanced Server 16 on a Debian 11 platform:
57
+
To install EDB Wait States on Debian or Ubuntu:
58
+
59
+
1. Enter the following command:
60
+
61
+
```shell
62
+
sudo apt-get -y install <install-command>
63
+
```
64
+
65
+
Where:
66
+
67
+
`<install-command>` is the command required for the type of Postgres distribution you're using. In these commands `<version>` is the version of the Postgres distribution.
68
+
69
+
| Type of Postgres distribution | Install command |
@@ -61,8 +93,6 @@ To install EDB Wait States on a Linux system:
61
93
CREATE EXTENSION edb_wait_states;
62
94
```
63
95
64
-
1. To terminate the EDB Wait States worker, remove `$libdir/edb_wait_states` from the `shared_preload_libraries` parameter, and restart the database server.
0 commit comments