grant select on table table name to username;grant select on SEQUENCE sequence name to username;grant connect on database database name to username;grant select on large object large object OID to username;GRANT USAGE ON SCHEMA schema name to username;
alter database database name owner to migration user;
pg_tencentdb_superuser
role user, during verification, you will receive an error message saying "Target instance permission check failed, unable to get Schema List." In this case, use the following statement to grant initialization user permissions to the migration user.grant pg_tencentdb_superuser to migration user;
RHEL/CentOS: rpm -q glibc
ldd --version | grep -i libc
Configuration Item | Description |
Source Instance Type | Choose according to your source database type. It cannot be modified after purchase. This example uses "PostgreSQL". |
Source Instance Region | Select the region of the source database. If the source database is a self-built one, select a region nearest to it. |
Target Instance Type | Choose according to your target database type. It cannot be modified after purchase. This example uses "PostgreSQL". |
Target Instance Region | Select the region of the target database. |
Specification | Select the specification of a migration link according to your business conditions. For the performance and billing details of different specifications, see Billing Overview. |
Setting Type | Configuration Item | Description |
Task Configuration | Task Name | Set a business-significant name for easy task identification. |
| Running Mode | Immediate execution: Start a task immediately after passing task verification. Scheduled execution: Set a task execution time, and the task will start when the time is reached. |
| Tag | Tags are used to manage resources by category from different dimensions. If the existing tags do not meet your requirements, go to the console to manage the tags. |
Source Database Settings | Source Database Type | The source database type selected at the time of purchase, which cannot be modified. |
| Region | The source database region selected at the time of purchase, which cannot be modified. |
| Access Type | Choose according to your scenario. This example uses "Database". For preparation work for different access types, refer to Overview of Preparations Related to Network. To ensure migration efficiency, cross-region migration is not supported for self-built instances on CVM. If cross-region migration is needed, choose the public network access method. Public Network: The source database can be accessed via a public IP address. When migrating via the public network, ensure that the source instance service is accessible under the public network environment and that the public network connection remains stable. Network fluctuations or failures may cause the migration to fail. If the migration fails, a new migration task will need to be initiated. Self-Build on CVM: The source database is deployed on a Tencent CVM. To ensure migration efficiency, cross-region migration is not supported for self-built instances on CVM. If cross-region migration is needed, choose the public network access method. Direct Connect: The source database can be connected to Tencent Virtual Private Cloud via Direct Connect. VPN Access: The source database can be connected to Tencent Virtual Private Cloud via VPN Connections. Database: The source database is a TencentDB instance. CCN: The source database can be connected to Tencent Virtual Private Cloud via Cloud Connect Network. |
| Cross-/Intra-Account | Intra-account: The source database instance and the target database instance belong to the same Tencent Cloud root account. Cross-account: The source database instance and the target database instance belong to different Tencent Cloud root accounts. The following is an example of migration within the same account. For cross-account migration guidance, refer to Cross-Account TencentDB Instance Migration. |
| Database Instance | Select the instance ID of the source PostgreSQL database. |
| Account | The account of the source PostgreSQL database, which must have the required permissions. |
| Password | The password of the source PostgreSQL database account. |
Target Database Settings | Target Database Type | The target database type selected at the time of purchase, which cannot be modified. |
| Region | The target database region selected at the time of purchase, which cannot be modified. |
| Access Type | Choose according to your scenario. This example uses "Database" by default. |
| Database Instance | Select the instance ID of the target database. |
| Account | The account of the target database, which must have the required permissions. |
| Password | The password of the target database account. |
Configuration Item | Description |
Migration Type | Choose according to your scenario. Structural migration: Migrate structured data such as databases and tables. Full migration: Migrate the entire database. The migrated data includes only the existing data of the source database when a task is initiated and does not include the incremental data written to the source database after a task is initiated. Full + Incremental migration: The migrated data includes the existing data of the source database when a task is initiated as well as the incremental data written to the source database after a task is initiated. If data is being written to the source database during migration, and you want to smoothly migrate the data in a non-stop manner, select this option. |
Migration Object | Entire instance: Migrate the entire instance, excluding system databases such as system objects in PostgreSQL. However, roles and user metadata definitions will be migrated. Specify object: Migrate specified objects. |
Specify object | Select the objects to be migrated in Source Database Object and move them to the Selected Object box. |
Was this page helpful?