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, an error message indicating that the target instance permission check fails and the schema list cannot be obtained will appear during checks. You can use the following statement to grant the permissions of the initialization user to the migration user.grant pg_tencentdb_superuser to migration user;
rpm -q glibc
ldd --version | grep -i libc
Operating System: Ubuntu 24.04.2 LTS / x86_64
Runtime Version: GNU bash, version 5.2.21(1)-release (x86_64-pc-linux-gnu)
Configuration Item | Description |
Source Instance Type | Select the instance type based on your source database type. This setting cannot be changed after purchase. In this example, select PostgreSQL. |
Source Instance Region | Select the region where the source database is located. If the source database is self-built, select the region closest to it. |
Target Instance Type | Select the instance type based on your target database type. This setting cannot be changed after purchase. In this example, select PostgreSQL. |
Target Instance Region | Select the region where the target database is located. |
Specification | Select the specifications for the migration link based on your business needs. For performance and billing details of different specifications, see Billing Overview. |

Setting Type | Configuration Item | Description |
Task Configuration | Task Name | Specify a business-relevant name to facilitate task identification. |
| Running Mode | Immediate execution: The task will be started immediately once the task check passes. Scheduled execution: Configure when the task is executed. It will automatically start at the specified time. |
Source Database Settings | Source Database Type | Source database type selected during purchase. It cannot be modified. |
| Region | Source database region selected during purchase. It cannot be modified. |
| Access Type | Select the access type according to your scenario. For this example, set it to Cloud Database. For preparations related to different access types, see Preparation Overview. To ensure migration efficiency, cross-region migration is not supported for CVM self-built instances. If cross-region migration is required, select the public network access method. Public Network: The source database is accessible through a public IP address. During public network migration, ensure that the service of the source instance is accessible in the public network environment and maintain the stability of the public network connection. Network fluctuations or failures may cause the migration to fail. If a failure occurs, you need to re-initiate the migration task. Self-Build on CVM: The source database is deployed on a Tencent Cloud CVM instance. To ensure migration efficiency, cross-region migration is not supported for CVM self-built instances. If cross-region migration is required, select the public network access method. Direct Connect: The source database can connect to Tencent Cloud Virtual Private Cloud (VPC) through Direct Connect. VPN Access: The source database can connect to Tencent Cloud VPC through VPN Access. Database: The source database is a TencentDB instance. CCN: The source database can connect to Tencent Cloud VPC through CCN. |
| Cross-/Intra-Account | Intra-account: The Tencent Cloud root account for both the source and target database instances is the same. Cross-account: The Tencent Cloud root accounts for the source and target database instances are different. In this example, migration within the same account is performed. For guidance on cross-account migration operations, see Migration Between Cross-Account Cloud Database Instances. |
| Database Instance | Select the ID of the source PostgreSQL database instance. |
| Account | Select the database account for the source PostgreSQL database. The account permissions should meet the requirements. |
| Password | Specify the password for the source PostgreSQL database account. |
| Connection Method | Secure Sockets Layer (SSL) connection refers to the use of SSL to establish a secure connection between DTS and the database, encrypting the transfer link. Selecting the SSL connection may increase the database connection response time. Generally, the private network link of Tencent Cloud is relatively secure, and the SSL connection is not required to be enabled. However, for scenarios where transfer methods such as public networks and DC are adopted, and data security requirements are high, the SSL connection is required to be enabled. Before the SSL connection is selected, SSL encryption is required to be enabled for the database first. |
Target Database Settings | Target Database Type | Target database type selected during purchase. It cannot be modified. |
| Region | Target database region selected during purchase. It cannot be modified. |
| Access Type | Select the access type based on your scenario. For this example, set it to Database. |
| Database Instance | Select the ID of the target database. |
| Account | Target database account. The account permissions should meet the requirements. |
| Password | The password for the account of the target database. |

Configuration Item | Description |
Migration Type | Select the migration type based on your scenario. Structural migration: Structured data, such as databases and tables, will be migrated. Full migration: The entire database will be migrated. The migration includes only the data that exists in the source database when the task starts and excludes any new data written after the migration begins. Full + incremental migration: Both existing data in the source database at the start of the task and any new data written during the migration process are migrated. You can select this option if data is continuously written to the source database during migration, and a non-stop, hitless migration is required. |
Migration Object | Entire instance: The entire instance is migrated, including roles and user metadata definitions. System objects in postgres are excluded. Specify object: Migrate specified objects. Select the objects to be migrated from the source database objects and move them to the box of selected objects. |
Advanced Options | Limit Transfer Speed: Disabled by default. When enabled, it controls the data synchronization transfer speed. Concurrent Threads During Full Export: The full export phase consists of two steps: chunk calculation and chunk export. To reduce the total time of the full export phase, you can appropriately increase the number of threads. Note: Increasing the number of threads will increase the load on the source database. Source database full export requests per second (RPS): 0 Counts/s indicates no limit, and 50 million Counts/s is the maximum input limit. The actual export speed depends on various factors such as the source or target database load and network conditions. Concurrent Threads During Full Import: Increasing this number can improve the full write speed to the target database. Target database full import RPS: Increasing this import RPS can improve the full write speed to the target database. 0 Counts/s indicates no limit; 50 million Counts/s is the maximum input limit. The actual import speed depends on various factors such as source or target database load and network conditions. Full Export Traffic Limit of Source Database: Increasing the number can improve the speed of incremental imports. |


Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback