Help Center> Relational Database Service> Getting Started> Getting Started with RDS for PostgreSQL Common Practices
Updated on 2023-07-31 GMT+08:00

Getting Started with RDS for PostgreSQL Common Practices

After purchasing and connecting to a DB instance, you can view common practices to better use RDS for PostgreSQL.

Table 1 Common practices

Practice

Description

Suggestions on using RDS for PostgreSQL

Instance Usage Suggestions

This practice provides suggestions on using RDS for PostgreSQL in terms of database connection, read replicas, reliability and availability, logical replication, database age, stability, routine O&M, and security.

Database Usage Suggestions

This practice provides suggestions on database naming, table design, index design, SQL design, and security.

Data migration

Migrating Data to RDS for PostgreSQL Using psql

This practice describes how to use pg_dump to copy data from the source to an RDS for PostgreSQL DB instance.

Migrating Data to RDS for PostgreSQL Using the Export and Import Functions of DAS

This practice describes how to use Data Admin Service (DAS) to export data from the source and then import the data to an RDS for PostgreSQL DB instance.

From RDS for PostgreSQL to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from the source to an RDS for PostgreSQL DB instance.

From Self-Managed PostgreSQL to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from a self-managed PostgreSQL database to an RDS for PostgreSQL DB instance.

For PostgreSQL on Other Clouds to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from PostgreSQL databases on other clouds to RDS for PostgreSQL.

From Oracle to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from a self-managed Oracle database to an RDS for PostgreSQL DB instance.

From RDS for MySQL to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from an RDS for MySQL DB instance to an RDS for PostgreSQL DB instance.

From Self-Managed MySQL to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from a self-managed MySQL database to an RDS for PostgreSQL DB instance.

For MySQL on Other Clouds to RDS for PostgreSQL

This practice describes how to use DRS to synchronize data from MySQL databases on other clouds to RDS for PostgreSQL.

Data backup

Intra-region automated backup

This practice describes how RDS for PostgreSQL automatically creates backups for a DB instance during a backup window and saves the backups based on the configured retention period.

Intra-region manual backup

This practice describes how to create manual backups for a DB instance. These backups can be used to restore data for improved reliability.

Data restoration

Restoring from Full Backups to RDS for PostgreSQL Instances

This practice describes how to use an automated or manual backup to restore a DB instance to how it was when the backup was created. The restoration is at the instance level.

Restoring a DB Instance to a Point in Time

This practice describes how to use an automated backup to restore instance data to a specified point in time.