tencent cloud

TencentDB for PostgreSQL

Release Notes and Announcements
Release Notes
Product Announcements
Product Introduction
Overview
Features
Strengths
Scenarios
Information Security
Regions and AZs
Product Feature List
Large version lifecycle description
MSSQL Compatible Version
Billing
Billing Overview
Instance Type and Specification
Purchase Methods
Refund
Overdue Payments
Backup Space Billing
Database Audit Billing Overview
Getting Started
Creating TencentDB for PostgreSQL Instance
Connecting to TencentDB for PostgreSQL Instance
Managing TencentDB for PostgreSQL Instance
Importing Data
Migrating Data with DTS
Kernel Version Introduction
Kernel Version Overview
Kernel Version Release Notes
Viewing Kernel Version
Proprietary Kernel Features
Database Audit
Audit Service Description
Activating Audit Service
View Audit Logs
Modify audit services
Audit Performance Description
User Guide
Instance Management
Upgrading Instance
CPU Elastic Scaling
Read-Only Instance
Account Management
Database Management
Parameter Management
Log Management and Analysis
Backup and Restoration
Data Migration
Extension Management
Network Management
Access Management
Data Security
Tenant and Resource Isolation
Security Groups
Monitoring and Alarms
Tag
AI Practice
Using the Tencentdb_ai Plug-In to Call Large Models
Building Ai Applications with the Tencentdb Ai Plug-In
Combining Supabase to Quickly Build Backend Service Based on TencentDB for PostgreSQL
Use Cases
postgres_fdw Extension for Cross-database Access
Automatically Creating Partition in PostgreSQL
Searching in High Numbers of Tags Based on pg_roaringbitmap
Querying People Nearby with One SQL Statement
Configuring TencentDB for PostgreSQL as GitLab's External Data Source
Supporting Tiered Storage Based on cos_fdw Extension
Implement Read/Write Separation via pgpool
Implementing Slow SQL Analysis Using the Auto_explain Plugin
Using pglogical for Logical Replication
Using Debezium to Collect PostgreSQL Data
Set Up a Remote Disaster Recovery Environment for PostgreSQL Locally on CVM
Read-Only Instance and Read-Only Group Practical Tutorial
How to Use SCF for Scheduled Database Operations
Fix Table Bloat
Performance White Paper
Test Methods
Test Results
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Read-Only Instance APIs
Backup and Recovery APIs
Parameter Management APIs
Security Group APIs
Performance Optimization APIs
Account APIs
Specification APIs
Network APIs
Data Types
Error Codes
FAQs
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Parameter Configuration Conflict Check

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2025-04-30 18:02:04

Check Detail

1. Check the following parameter values of the source and target databases. If there is a difference in parameter values between the source and target databases, a verification warning will be prompted. The warning will not block the migration task, but it will have an impact on the business. Please assess and decide whether to modify by yourself.
2. TimeZone,lc_monetary,lc_numeric,array_nulls,server_encoding,DateStyle,extra_float_digits ,gin_fuzzy_search_limit,xmlbinary,constraint_exclusion.
The parameter is not set consistently. The specific impact is as follows.
TimeZone: Setting the time zone of an instance. If this parameter value is inconsistent, it may lead to data errors after migration.
lc_monetary: Setting the currency mode of an instance. If this parameter value is inconsistent, it may lead to incorrect currency numbers after migration.
lc_numeric: Setting the digital mode of an instance. If this parameter value is inconsistent, it may lead to data errors after migration.
array_nulls: Setting whether the array allows empty values. If this parameter value is inconsistent, it may lead to data inconsistency after migration, and some data may fail to migrate.
server_encoding: Setting the character set of an instance. If this parameter value is inconsistent, it may lead to garbled characters in data storage.
DateStyle: Setting the date display format. If this parameter value is inconsistent, it may fail to migrate data.
extra_float_digits: Setting the output precision of floating-point values. If this parameter value is inconsistent, it will affect data accuracy. In high-precision database usage scenarios, it can cause data inconsistency after migration.
gin_fuzzy_search_limit: Set the soft upper limit of the set size returned by the GIN index. If this parameter value is inconsistent, it can cause inconsistent data display results after migration.
xmlbinary: Setting the result issue of XML function transformation. If this parameter value is inconsistent, it may lead to inconsistent behavior when executing the corresponding function in the target database compared to the source database.
constraint_exclusion: Setting whether constraints take effect. If this parameter value is inconsistent, it may lead to data inconsistency after migration.
3. Check whether the character set settings of the source and target databases are inconsistent. If they are inconsistent, errors will be reported during the validation task. Change to the same setting.

Remediation Method

1. Log in to the source database using a superuser account.
2. Execute the following example statements to modify corresponding parameters:
Users can first select the parameter modification of the source database. If the corresponding parameter of the source database cannot be modified, then the corresponding parameter of the target database needs to be modified. For the modification of the target database, please seek online support.
The server_encoding parameter cannot be modified in the source database. If this parameter is abnormal, please check whether it has been created in the target database. If it has been created and is inconsistent with the source database, you need to apply for a new instance. If it has not been created, please refer to the following methods for modification (currently, the cloud database instance only supports two character sets: UTF8 and LATIN).
alter system set timezone='<parameter value>';
alter system set lc_monetary='<parameter value>';
alter system set lc_numeric='<parameter value>';

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan