All Products
Search
Document Center

ApsaraDB for OceanBase:PostgreSQL data source

Last Updated:Jun 03, 2024

This topic describes how to create a privileged account under an ApsaraDB RDS for PostgreSQL instance.

Background information

An ApsaraDB RDS for PostgreSQL instance supports privileged accounts and common accounts. When you use the data transmission service to migrate or synchronize data from an ApsaraDB RDS for PostgreSQL instance, you must use a privileged account.

You can use the account created in this topic when setting Username during the creation of a PostgreSQL data source.

image.png

Create a privileged account under an ApsaraDB RDS for PostgreSQL instance

  1. Go to the Accounts page.

    1. Log on to the ApsaraDB RDS console.

    2. In the upper-left corner of the Instances page, select the region where the target instance is located. Then, click the ID of the instance.

    3. On the instance details page, click Accounts in the left-side navigation pane.

  2. On the Accounts page, click Create Account.

    image.png

  3. In the Create Account dialog box, set the parameters.

    image.png

    Parameter

    Description

    Database Account

    The account must be no more than 63 characters in length and can contain letters, digits, and underscores (_). It must start and end with a letter or digit and cannot start with pg. Reserved keywords are not allowed in the account.

    Account Type

    Select Privileged Account.

    Note

    A privileged account has the following privileges on all databases: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, REFERENCES, and TRIGGER.

    New Password

    The password must be 8 to 32 characters in length and contain three of the four character types: uppercase letters, lowercase letters, digits, and special characters that are !@#$%^&*()_+-=.

    Confirm Password

    Enter the password again.

    Description

    Enter the description of the account. It must be 2 to 256 characters in length.

  4. Click OK.

References

Create a PostgreSQL data source

Migrate data from an ApsaraDB RDS for PostgreSQL instance to an Oracle tenant of OceanBase Database

Synchronize data from an ApsaraDB RDS for PostgreSQL instance to an Oracle tenant of OceanBase Database