Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2a762ab
Adding support for pg and pge to Wait States
dwicinas Dec 13, 2023
0606158
Fixed 4.3.3 required API versions
djw-m Dec 14, 2023
8180d31
UI changes for pause/resume
dwicinas Dec 18, 2023
a788093
Added morketing-like verbiage from the PRFAQ
dwicinas Dec 18, 2023
c42ee24
input from Neelkumar and a correction
dwicinas Dec 19, 2023
1e630a6
Updates based on input from from neel5481
dwicinas Dec 19, 2023
933702b
Edits based on Amrita's comments
dwicinas Dec 19, 2023
3e156e2
Described Windows support and modified uninstalling
dwicinas Dec 20, 2023
5e78d4b
Update 04_efm_client_connect_failover.mdx
Dec 22, 2023
504f0cc
BigAnimal - Key dates update
nidhibhammar Jan 2, 2024
cd000c4
Changes to address differences for Debian and some inaccuracies in ea…
dwicinas Jan 3, 2024
808abec
Rewritten to break out Debian/Ubuntu
dwicinas Jan 3, 2024
436bebe
Changing command to use underscores, per Martin and Tushar
dwicinas Jan 8, 2024
b304a2e
Update index.mdx
DonaldKai Jan 12, 2024
f6e13db
Revised package name, per Martin's suggestions
dwicinas Jan 16, 2024
44747e2
Edits to EPAS PR5038
ebgitelman Jan 16, 2024
d64a1ad
Edits to Lasso PR 5138
ebgitelman Jan 16, 2024
37043c8
Edits to release notes for Lasso
ebgitelman Jan 16, 2024
a4bb68a
Merge pull request #5160 from EnterpriseDB/docs/edits_to_epas_pr5038
nidhibhammar Jan 17, 2024
c117915
Merge pull request #5161 from EnterpriseDB/docs/edits_to_lasso_pr5136
nidhibhammar Jan 17, 2024
5b2d50c
Merge pull request #5095 from EnterpriseDB/docs/biganimal/pause-resum…
nidhibhammar Jan 17, 2024
5aacdf2
Merge pull request #5088 from EnterpriseDB/docs/wait-states/add-pg-an…
nidhibhammar Jan 17, 2024
c475ac8
Edits and regen for PGE docs extension
djw-m Jan 9, 2024
c81134d
Component started, some Debian fixes
djw-m Jan 10, 2024
6851796
Fix ubuntu 22 (bogus contrib)
djw-m Jan 11, 2024
d482a56
Snagging and fixes
djw-m Jan 11, 2024
66113ae
Add administration to PGE 15
djw-m Jan 16, 2024
53a2ba4
Merge pull request #5135 from EnterpriseDB/docs/pge/pge-install-expan…
djw-m Jan 17, 2024
015b6f9
Limitations with mixed PGD text.
djw-m Jan 15, 2024
51065c8
Update product_docs/docs/pgd/5/limitations.mdx
djw-m Jan 17, 2024
a10a526
Update product_docs/docs/pgd/5/limitations.mdx
djw-m Jan 17, 2024
61e12d3
Merge pull request #5150 from EnterpriseDB/BDR-4485-Docs-clarify-supp…
djw-m Jan 17, 2024
1e59ea4
Update index.mdx - add administration
djw-m Jan 17, 2024
5fd0e9d
Merge pull request #5165 from EnterpriseDB/doc/pge/fix/navigation15af…
djw-m Jan 17, 2024
2c284e3
Created PGE15 components page, removed asterisks from both pages
djw-m Jan 17, 2024
5160b0b
Merge pull request #5166 from EnterpriseDB/docs/pge/fix/missing15comp…
djw-m Jan 17, 2024
045d1e5
Merge pull request #5146 from DonaldKai/patch-3
djw-m Jan 17, 2024
bd9878e
Update managing_replicas.mdx
amrita-suresh Jan 10, 2024
b427238
Merge pull request #5139 from EnterpriseDB/amrita-suresh-patch-farawa…
nidhibhammar Jan 17, 2024
59df4dc
Merge pull request #5123 from EnterpriseDB/content/docs/biganimal/dat…
nidhibhammar Jan 17, 2024
753acf9
Exclude fathom plugin entirely if no siteID set
josh-heyer Jan 17, 2024
9d4ffaa
Remove Go's lib/pq
josh-heyer Jan 17, 2024
959191e
Merge pull request #5110 from vadius45/patch-2
josh-heyer Jan 17, 2024
e82fa30
Feature PGE and Lasso doc updates
josh-heyer Jan 18, 2024
73a5d70
Initial fixes for #5035: replace use of recovery.conf outside of PGD 3.7
josh-heyer Jan 2, 2024
f0d8ed7
Added clarifying notes to locking criteria.
djw-m Jan 15, 2024
898022f
Update pgd_4.3.3_rel_notes.mdx
djw-m Jan 18, 2024
391b019
Merge branch 'develop' into doc/pgd/fix/fixversionsforbdr4upraderelea…
djw-m Jan 18, 2024
65060d1
Merge pull request #5089 from EnterpriseDB/doc/pgd/fix/fixversionsfor…
djw-m Jan 18, 2024
8a5f074
Corrected DML lock clarification
djw-m Jan 18, 2024
939baaf
Reordered nodes-management-interfaces
djw-m Jan 18, 2024
988a435
Merge pull request #5149 from EnterpriseDB/BDR-4195-Docs-clarify-node…
djw-m Jan 18, 2024
6b364c4
Merge pull request #5168 from EnterpriseDB/BDR-4490-Docs-Reorder-refe…
djw-m Jan 18, 2024
3d882f4
Merge pull request #5125 from EnterpriseDB/josh-heyer/issue5035
josh-heyer Jan 18, 2024
820b037
Merge pull request #5167 from EnterpriseDB/homepage/whats-new-jan-update
josh-heyer Jan 18, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ EnterpriseDB offers three TAMs in the Advanced Storage Pack.

## Bluefin

Bluefin is designed to provide data compaction and delta compression, which makes it particularly useful for storing time-series data, common in IoT and monitoring use cases.
Bluefin is designed to provide data compaction and delta compression, which makes it particularly useful for storing time-series data, common in IoT and monitoring use cases. Delta compression is a way of storing data in the form of differences (deltas) between datasets between consecutive tuples. This reduces the amount of data that needs to be stored or transmitted, especially when there are small or constant changes between data tuples.

In its design, UPDATE and DELETE operations aren't permitted. This design allows for a much smaller tuple header. It also allows for tuples to be stored as compressed deltas of other tuples and eagerly freezing of pages as soon as the page is full. The result is that Bluefin tables accept only INSERTs, but they are able to reach a much higher density of tuples per page. This ability leads to faster reads on such append-only tables.

Expand Down
4 changes: 3 additions & 1 deletion advocacy_docs/pg_extensions/wait_states/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ title: EDB Wait States
indexCards: none
directoryDefaults:
product: EDB Wait States

navigation:
- installing
- using
---

EDB Wait States is a tool for analyzing performance and tuning by allowing the collection and querying of wait event data. Wait events, introduced in PostgreSQL 9.6, are recorded alongside other session activity and provide a snapshot of whether a session is waiting for I/O, CPU, IPC, locks, or timeouts. Snapshots of this information are gathered by the EDB Wait States background worker (BGW) at regular intervals.
Expand Down
91 changes: 81 additions & 10 deletions advocacy_docs/pg_extensions/wait_states/installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,41 @@ title: Installing EDB Wait States
navTitle: Installing
---

## On Linux
## On all Linux systems except Debian and Ubuntu

To install EDB Wait States on a Linux system:
To install EDB Wait States on any Linux operating system except Debian or Ubuntu:

1. Install EDB Wait States with the `edb-asxx-server-edb_wait_states` RPM package, where `xx` is the EDB Postgres Advanced Server version number.
1. Enter the following command:

```shell
sudo <package-manager> -y install <install-package-name>
```

Where:

- `<package-manager>`is the package manager used with your operating system:

| Package manager | Operating system |
| --------------- | -------------------------------- |
| dnf | RHEL 8/9 and derivatives |
| yum | RHEL 7 and derivatives, CentOS 7 |
| zypper | SLES |

- `<install-package-name>` is the name of the Postgres distribution you're using. In the package names `<version>` is the version of the Postgres distribution.

| Type of Postgres distribution | Install command |
| ----------------------------- | ------------------------------------------- |
| PostgreSQL | postgresql`<version>`-edb_wait_states |
| EDB Postgres Advanced Server | edb-as`<version>`-server-edb_wait_states |
| EDB Postgres Extended Server | edb-postgresextended`<version>`-wait-states |


For example, to install EDB Wait States for EDB Postgres Advanced Server 16 on a RHEL 9 platform:

```shell
sudo dnf -y install edb-as16-server-edb_wait_states
```

1. To launch the worker, register it in the `postgresql.conf` file using the `shared_preload_libraries` parameter. For example:

```ini
Expand All @@ -23,13 +52,51 @@ To install EDB Wait States on a Linux system:
CREATE EXTENSION edb_wait_states;
```

1. To terminate the EDB Wait States worker, remove `$libdir/edb_wait_states` from the `shared_preload_libraries` parameter, and restart the database server.
## On Debian and Ubuntu

## On Windows
To install EDB Wait States on Debian or Ubuntu:

1. Enter the following command:

```shell
sudo apt-get -y install <install-package-name>
```

Where:

`<install-package-name>` is the name of the Postgres distribution you're using. In the package names `<version>` is the version of the Postgres distribution.

| Type of Postgres distribution | Install command |
| ----------------------------- | -------------------------------------------- |
| PostgreSQL | postgresql`<version>`-edb-wait-states |
| EDB Postgres Advanced Server | edb-as`<version>`-server-edb-wait-states |
| EDB Postgres Extended Server | edb-postgresextended-wait-states-`<version>` |

For example, to install EDB Wait States for EDB Postgres Advanced Server 16 on a Debian 11 platform:

```shell
sudo apt-get -y install edb-as16-server-edb-wait-states
```


1. To launch the worker, register it in the `postgresql.conf` file using the `shared_preload_libraries` parameter. For example:

```ini
shared_preload_libraries = '$libdir/edb_wait_states'
```

1. Restart the database server. After a successful restart, the background worker begins collecting data.

To install EDB Wait States on a Windows system:
1. To review the data, create the following extension:

1. To install the EDB Wait States module with the `EDB Modules` installer, invoke the StackBuilder Plus utility. Follow the onscreen instructions to finish installing the `EDB Modules`.
```sql
CREATE EXTENSION edb_wait_states;
```


## On Windows

An EDB Postgres Advanced Server installation includes support for EDB Wait States. After installing EDB Postgres Advanced Server, some additional steps are necessary to activate EDB Wait States.

1. To register the worker, modify the `postgresql.conf` file to include the EDB Wait States library in the `shared_preload_libraries` configuration parameter. The parameter value must include:

Expand All @@ -40,9 +107,11 @@ To install EDB Wait States on a Windows system:
The EDB Wait States installation places the `edb_wait_states.dll` library file in the following path:

```text
C:\Program Files\edb\as14\lib\
C:\Program Files\edb\as<xx>\lib\
```

where `<xx>` is the EDB Postgres Advanced Server version, such as `as16`.

1. Restart the database server to make the changes take effect. After a successful restart, the background worker starts and begins collecting the data.

1. To view the data, create the following extension:
Expand All @@ -62,5 +131,7 @@ C:\Program Files\edb\as14\share\extension
To uninstall EDB Wait States:

1. Use the `DROP EXTENSION` command to drop the `edb_wait_states` extension.
1. Modify the `postgresql.conf` file, removing `$libdir/edb_wait_states.dll` from the `shared_preload_libraries` parameter.
1. To apply your changes, restart the database server.
1. Modify the `postgresql.conf` file, removing `$libdir/edb_wait_states` (for Linux) or `$libdir/edb_wait_states.dll` (for Windows) from the `shared_preload_libraries` parameter.
1. To apply your changes, restart the database server.


4 changes: 2 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ module.exports = {
id: process.env.GTM_ID,
},
},
{
process.env.FATHOM_SITE_ID && {
resolve: "@raae/gatsby-plugin-fathom",
options: {
site: process.env.FATHOM_SITE_ID,
Expand Down Expand Up @@ -406,5 +406,5 @@ module.exports = {
skipIndexing: process.env.INDEX_ON_BUILD !== "true",
},
},
],
].filter((p) => !!p),
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "platformBase/" + platformBaseTemplate + '.njk' %}
{% set packageName = packageName or 'edb-postgresextended<xx>-server edb-postgresextended<xx>-contrib' %}
{% set packageName = packageName | replace('<xx>', product.version) %}
{% import "platformBase/_deploymentConstants.njk" as deploy %}
{% block frontmatter %}
{#
Expand All @@ -12,6 +13,94 @@ redirects:
{% endblock frontmatter %}
{% block installCommand %}
{{super()}}
Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version {{ product.version }}, the package name would be {{packageName | replace('<xx>', product.version)}}.
{% endblock installCommand %}
{% block postinstall %}

{% endblock installCommand %}
## Initial configuration
{% block debian_ubuntu %}
Getting started with your cluster involves logging in, ensuring the installation and initial configuration was successful, connecting to your cluster, and creating the user password.

First, you need to initialize and start the database cluster. The `edb-pge-{{ product.version | replace(".", "") }}-setup` script creates a cluster.

```shell
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/edb/pge{{ product.version }}/bin/edb-pge-{{ product.version | replace(".", "") }}-setup initdb

sudo systemctl start edb-pge-{{ product.version }}
```
{% endblock debian_ubuntu %}

To work in your cluster, log in as the postgres user. Connect to the database server using the psql command-line client. Alternatively, you can use a client of your choice with the appropriate connection string.

```shell
sudo -iu postgres

psql postgres
```

The server runs with the `peer` or `ident` permission by default. You can change the authentication method by modifying the `pg_hba.conf` file.

{# this is kinda awful, but gotta deal with the reorg somehow... --jh #}
Before changing the authentication method, assign a password to the database superuser, postgres. For more information on changing the authentication, see [Modifying the pg_hba.conf file](../../administration/01_setting_configuration_parameters/#modifying-the-pg_hbaconf-file).

```sql
ALTER ROLE postgres with PASSWORD 'password';
```

## Experiment

Now you're ready to create and connect to a database, create a table, insert data in a table, and view the data from the table.

First, use psql to create a database named `hr` to hold human resource information.

```sql
# running in psql
CREATE DATABASE hr;
__OUTPUT__
CREATE DATABASE
```

Connect to the `hr` database inside psql:

```
\c hr
__OUTPUT__
You are now connected to database "hr" as user "postgres".
```

Create columns to hold department numbers, unique department names, and locations:

```
CREATE TABLE public.dept (deptno numeric(2) NOT NULL CONSTRAINT dept_pk
PRIMARY KEY, dname varchar(14) CONSTRAINT dept_dname_uq UNIQUE, loc
varchar(13));
__OUTPUT__
CREATE TABLE
```

Insert values into the `dept` table:

```
INSERT INTO dept VALUES (10,'ACCOUNTING','NEW YORK');
__OUTPUT__
INSERT 0 1
```

```
INSERT into dept VALUES (20,'RESEARCH','DALLAS');
__OUTPUT__
INSERT 0 1
```

View the table data by selecting the values from the table:

```
SELECT * FROM dept;
__OUTPUT__
deptno | dname | loc
--------+------------+----------
10 | ACCOUNTING | NEW YORK
20 | RESEARCH | DALLAS
(2 rows)
```

{% endblock postinstall %}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
```shell
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
```

Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.

{% endblock installCommand %}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@
```shell
sudo {{ packageManager }} {{ packageManagerNoninteractive }} install {{ packageName }}
```

Where `<xx>` is the version of EDB Postgres Extended Server you are installing. For example, if you are installing version 15, the package name would be `edb-postgresextended-15`.

{% endblock installCommand %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% block debian_ubuntu %}This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.
{% block debian_ubuntu %}
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.

```shell{% endblock debian_ubuntu %}
First, you need to initialize and start the database cluster. The `edb-pge-{{ product.version | replace(".", "") }}-setup` script creates a cluster.

```shell
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/{{ product.version }}/bin/edb-pge-{{ product.version | replace(".", "") }}-setup initdb

sudo systemctl start edb-pge-{{ product.version }}
```

{% endblock debian_ubuntu %}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "products/edb-postgres-extended-server/ubuntu.njk" %}
{% set platformBaseTemplate = "ubuntu-22.04" %}
{% set packageName %}edb-postgresextended-<xx> edb-postgresextended-<xx>-contrib{% endset %}
{% set packageName %}edb-postgresextended-<xx>{% endset %}

Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
{% extends "products/edb-postgres-extended-server/base.njk" %}
{% block debian_ubuntu %}
This section steps you through getting started with your cluster including logging in, ensuring the installation was successful, connecting to your cluster, and creating the user password.

First, you need to initialize and start the database cluster. The `edb-pge-{{ product.version | replace(".", "") }}-setup` script creates a cluster.

```shell
sudo PGSETUP_INITDB_OPTIONS="-E UTF-8" /usr/lib/edb-pge/{{ product.version }}/bin/edb-pge-{{ product.version | replace(".", "") }}-setup initdb

sudo systemctl start edb-pge-{{ product.version }}
```

{% endblock debian_ubuntu %}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ navigation:
- 02_connecting_to_your_cloud
- activating_regions
- creating_a_cluster
- managing_cluster
---

Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: "Managing a cluster"
description: Describes options for managing clusters
---

## Pausing and resuming clusters

Pausing a cluster allows you to save on compute costs without losing data or cluster configuration settings. There is no additional cost for paused clusters, although you must still pay for any disk and object storage that the paused cluster requires.

Pausing a cluster drops all existing connections, blocks future actions such as editing the cluster, and stops monitoring. While paused, you can't make or maintain connections, or read, write, or edit cluster settings. Automatic backups are paused. However, backups taken while the cluster was running remain until their retention period expires.

!!! Note
If you have defined the backup retention period for a cluster to be less that the duration of the pause, it is possible that write-ahead logs (WALs) may be deleted from the backup object store and resumption could fail.

While paused, clusters are not upgraded or patched, but upgrades are applied when the cluster resumes. Pausing a high availability or Postgres Distributed cluster shuts down all cluster nodes.

After seven days, single node and high availability clusters automatically resume. Resuming a cluster applies any pending maintenance upgrades. Monitoring begins again.

### Pausing a cluster

1. Go to the [Clusters](https://portal.biganimal.com/clusters) page in the [BigAnimal portal](https://portal.biganimal.com).
2. To pause the cluster, do one of the following:
- In the row for the cluster, at right, select the ellipsis icon and then select **Pause Cluster**.
- Select the cluster you want to pause. From **Quick Actions** on the cluster details page, select **Pause Cluster**.
3. Confirm that you want to pause the cluster. When the process finishes, the cluster status will show as Paused.

### Resuming a cluster

1. Go to the [Clusters](https://portal.biganimal.com/clusters) page in the [BigAnimal portal](https://portal.biganimal.com).
2. To resume the cluster, do one of the following:
- In the row for the cluster, at right, select the ellipsis icon and then select **Resume Cluster**.
- Select the cluster you want to resume. From **Quick Actions** on the cluster details page, select **Resume Cluster**.
3. Confirm that you want to resume the cluster. The process may take a few minutes. When it finishes, the cluster status will show as Healthy.
Loading