Skip to content

Commit 78e10c2

Browse files
fix(rdb): review hugo
1 parent 6baa137 commit 78e10c2

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pages/managed-databases-for-postgresql-and-mysql/how-to/upgrade-version.mdx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ The version upgrade is only available for:
3434

3535
## How to remove incompatible data types
3636

37-
Before upgrading to a newer major PostgreSQL version, you must remove any data types incompatible with `pg_upgrade`.
37+
Before upgrading to a newer major PostgreSQL version, you must remove any data types incompatible with the `pg_upgrade` tool.
3838

3939
The `reg*` data type, for example, cannot be persisted by `pg_upgrade`.
4040

41-
Run the following command in your Database Instance to remove all instances of the `reg*` data type:
41+
Run the following command in your Database Instance to identify all instances of the `reg*` data type:
4242

4343
```sql
4444
SELECT count(*) FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalog.pg_attribute a
@@ -54,6 +54,8 @@ SELECT count(*) FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalo
5454
AND n.nspname NOT IN ('pg_catalog', 'information_schema'); 
5555
```
5656

57+
We recommend you remove the identified instances before continuing.
58+
5759
## How to upgrade the engine version
5860

5961
1. Click **PostgreSQL and MySQL** under **Managed Databases** on the side menu. A list of your Database Instances displays.
@@ -67,19 +69,19 @@ SELECT count(*) FROM pg_catalog.pg_class c, pg_catalog.pg_namespace n, pg_catalo
6769
<Message type="important">
6870
When you upgrade to a new version:
6971
- There is no synchronization between the source and target Database Instances. To avoid data loss, we recommend you stop any write operations running on your applications during the upgrade. If you let them run during the process, the data will be stored only in the source Database Instance.
70-
- Your Database Instances in [High Availability (HA)](/managed-databases-for-postgresql-and-mysql/concepts/#high-availability) mode will migrate to a standalone Instance. To maintain your HA mode, you must manually [enable HA](/managed-databases-for-postgresql-and-mysql/how-to/enable-high-availability) after the upgrade is complete.
72+
- Your Database Instances in [High Availability (HA)](/managed-databases-for-postgresql-and-mysql/concepts/#high-availability) mode will migrate to a standalone Instance. To maintain your HA mode, you must manually [enable HA](/managed-databases-for-postgresql-and-mysql/how-to/enable-high-availability) after the upgrade is complete. The same applies when upgrading [Read Replicas](/managed-databases-for-postgresql-and-mysql/how-to/create-read-replica).
7173
- Database Instance [advanced settings](/managed-databases-for-postgresql-and-mysql/how-to/configure-advanced-settings) are synced as long as they are still available on the new database engine version.
7274
</Message>
7375

7476
<Message type="tip">
75-
Follow the [migrating endpoints via the CLI](/managed-databases-for-postgresql-and-mysql/api-cli/migrating-endpoints/) procedure to quickly migrate your endpoints. Before doing so, we recommend running a dry-run of the Database Instance upgrade to validate the process.<br /><br />
76-
You can use the same CLI command to revert the endpoint migration anytime. <br /><br />
77-
Keep in mind that reverting the endpoint will not affect the data stored on the databases. This means that if some entries were added to the upgraded database, they will not be added back to the old version when you change the endpoints.
77+
Before performing an engine upgrade migration, we recommend testing the process in a "dry-run". This allows you to estimate the migration time and verify its success without affecting your source instance. To do so:
78+
- Run the migration without checking the "migration endpoint" flag. This will simulate the migration process. If the test is successful, you can then proceed with the actual migration. Follow the [migrating endpoints via the CLI](/managed-databases-for-postgresql-and-mysql/api-cli/migrating-endpoints/) procedure to migrate your endpoints after the upgrade. You can use the same CLI command to revert the endpoint migration anytime.
79+
- Keep in mind that reverting the endpoint will not affect the data stored on the databases. This means that if some entries were added to the upgraded database, they will not be added back to the old version when you change the endpoints.
7880
</Message>
7981
4. Click **Upgrade version**. A new Database Instance is created.
8082

8183
<Message type="important">
82-
- In PostgreSQL major upgrades, the `pgaudit` and `pg_stat_statements` [engine extensions](/managed-databases-for-postgresql-and-mysql/reference-content/postgresql-extensions) will be removed. You must reinstall these extensions once the upgrade is complete.
83-
- If you are upgrading to PG16, we recommend you [reset your user passwords](/managed-databases-for-postgresql-and-mysql/how-to/add-users) from the console or using `psql`, [PostrgreSQL's CLI](https://docs.postgresql.fr/13/app-psql.html). You must create a new password that follows the **SCRAM-SHA-256** format. The previous versions' password format is no longer supported in PG16.
84+
- In PostgreSQL major upgrades, the `pgaudit` and `pg_stat_statements` [engine extensions](/managed-databases-for-postgresql-and-mysql/reference-content/postgresql-extensions) will be removed. You must reinstall these extensions on each database they are installed once the upgrade is complete.
85+
- If you are upgrading to PG16, we recommend you [reset your user passwords](/managed-databases-for-postgresql-and-mysql/how-to/add-users) from the console or using `psql`, [PostrgreSQL's CLI](https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-META-COMMAND-PASSWORD). PG16 uses the **SCRAM-SHA-256** format to store passwords. The previous versions' password format is no longer supported in PG16. You can re-save your passwords after the upgrade and they will be stored in the correct format automatically.
8486
</Message>
8587

0 commit comments

Comments
 (0)