GaussDB(for MySQL)
GaussDB(for MySQL)
Enterprise Edition
All results for "
" in this service
Enterprise Edition
All results for "
" in this service
What's New
Function Overview
Service Overview
What Is GaussDB(for MySQL)?
Product Architecture
Basic Concepts
Product Benefits
Instance Description
Instance Specifications
Instance Statuses
DB Engines and Versions
Constraints
Billing
Related Services
Differences Between GaussDB(for MySQL) and RDS for MySQL
Change History
Getting Started
Operation Guide
Step 1: Buy a DB Instance
Buying a Pay-per-Use DB Instance
Buying a Yearly/Monthly DB Instance
Step 2: Connect to the DB Instance
Overview
Connecting to a DB Instance Using DAS (Recommended)
Connecting to a DB Instance over a Private Network
Process
Connecting to a DB Instance from a Linux ECS
Connecting to a DB Instance from a Windows ECS
Configuring Security Group Rules
Connecting to a DB Instance over a Public Network
Process
Binding an EIP
Connecting to a DB Instance from a Linux ECS
Connecting to a DB Instance from a Windows ECS
Configuring Security Group Rules
Connecting to a DB Instance Using JDBC
Change History
User Guide
Usage Rules
Design Rules
Database Table Usage
Index Usage
Database Permissions
Development Rules
SQL Usage
Billing Management
Renewing a DB Instance
Changing the Billing Mode from Yearly/Monthly to Pay-per-Use
Changing the Billing Mode from Pay-per-Use to Yearly/Monthly
Unsubscribing a Yearly/Monthly Instance
Data Migration
Migrating Data to GaussDB(for MySQL) Using mysqldump
Instance Lifecycle Management
Changing a DB Instance Name
Changing a DB Instance Description
Deleting a DB Instance
Rebooting a DB Instance
Changing a Node Name
Exporting Instance Information
Rebuilding a Deleted Instance from Recycle Bin
Instance Modifications
Changing vCPUs and Memory of a DB Instance
Changing a Maintenance Window
Selecting Instance Displayed Items
Upgrading a Minor Version
Read Replicas
Introducing Read Replicas
Creating a Read Replica
Promoting a Read Replica to the Primary Node
Database Management
Creating a Database
Deleting a Database
Account Management (Non-Administrator)
Creating a Database Account
Resetting a Password for a Database Account
Changing Permissions for Database Accounts
Deleting a Database Account
Data Security
Resetting the Administrator Password
Changing a Security Group
Configuring SSL
Data Backups
Backup Principles
Backup Types
Configuring a Same-Region Backup Policy
Creating a Manual Backup
Exporting Backup Information
Deleting a Manual Backup
Data Restorations
Restoring a DB Instance
Restoring Instance Data to a Specific Point in Time
Restoring Data to a DB Instance
Connection Management
Binding and Unbinding an EIP
Changing a Database Port
Configuring and Changing a Private IP Address
Parameter Template Management
Creating a Parameter Template
Modifying a Parameter Template
Exporting Parameters
Comparing Parameter Templates
Viewing Parameter Change History
Replicating a Parameter Template
Resetting a Parameter Template
Applying a Parameter Template
Viewing Application Records of a Parameter Template
Editing a Parameter Template Description
Deleting a Parameter Template
Metrics and Alarms
Introducing GaussDB(for MySQL) Metrics
Viewing Monitoring Metrics
Viewing Instance Monitoring Metrics
Configuring Alarm Rules
Creating Alarm Rules for a DB Instance
Configuring Monitoring by Seconds
Interconnection with CTS
Key Operations Supported by CTS
Viewing Tracing Events
Log Management
Viewing Error Logs
Viewing Slow Query Logs
Task Center
Viewing a Task
Deleting a Task Record
Managing Tags
Managing Quotas
Change History
Best Practices
From ECS-hosted MySQL to GaussDB(for MySQL)
Overview
Resource Planning
Operation Guide
Procedure
ECS-hosted MySQL Server
Creating a VPC and Security Group
Creating an ECS (MySQL Server)
Installing a MySQL Database (Community Edition)
Creating an ECS and Installing the MySQL Client on It
Cloud Migration
Creating a GaussDB(for MySQL) Instance
Creating a DRS Migration Task
Checking the Migration Results
From Other Cloud MySQL to GaussDB(for MySQL)
Overview
Resource Planning
Operation Process
Creating a VPC and Security Group
Creating a GaussDB(for MySQL) Instance
Configuring a MySQL Instance on Other Clouds
Creating a DRS Migration Task
Checking Migration Results
Performance White Paper
Test Method
Performance Data
Read/Write Mode
Read-only Mode
Write-only Mode
Security White Paper
Security White Paper
SDK Reference
SDK Overview
API Reference
Before You Start
Overview
API Calling
Endpoints
Constraints
Concepts
API Overview
Calling APIs
Making an API Request
Authentication
Response
APIs (Recommended)
DB Engine Version Queries
Querying Version Information About a DB Engine
Database Specification Queries
Querying Database Specifications
Instance Management
Creating a DB Instance
Querying DB Instances
Rebooting a DB Instance
Deleting a DB Instance
Querying Details of a DB Instance
Querying Details of DB Instances in Batches
Creating a Read Replica
Deleting a Read Replica
Scaling up Storage of a Yearly/Monthly DB Instance
Changing a DB Instance Name
Resetting a Database Password
Changing DB Instance Specifications
Querying Dedicated Resource Pools
Querying Dedicated Resources
Configuring the Monitoring By Seconds Function
Querying the Configuration of Monitoring by Seconds
Enabling or Disabling SSL
Binding an EIP
Unbinding an EIP
Promoting a Read Replica to Primary
Changing a Maintenance Window
Modifying a Security Group
Changing a Private IP Address
Changing a Database Port
Changing a DB Instance Description
Backup Management
Modifying an Automated Backup Policy
Creating a Manual Backup
Querying Backups
Querying an Automated Backup Policy
Deleting a Manual Backup
Restoring Data to the Original Instance or an Existing Instance
Querying the Restoration Time Range
Parameter Template Management
Querying Parameter Templates
Creating a Parameter Template
Deleting a Parameter Template
Obtaining Details About a Parameter Template
Modifying Parameters in a Parameter Template
Applying a Parameter Template
Quota Management
Querying the Instance Quotas of a Tenant
Querying the Resource Quotas of a Specified Enterprise Project
Configuring Resource Quotas for a Specified Enterprise Project
Modifying the Resource Quotas of a Specified Enterprise Project
Log Management
Querying Database Error Logs
Querying Database Slow Logs
Enabling or Disabling SQL Explorer
Querying Whether SQL Explorer Is Enabled
Tag Management
Querying Resource Tags
Querying Project Tags
Adding or Deleting Tags in Batches
Database User Management
Creating a Database Account
Querying Database Users
Deleting a Database User
Modifying Remarks of a Database User
Changing Password of a Database User
Authorizing Permissions to a Database User
Deleting Permissions of a Database User
Database Management
Querying Available Database Character Sets
Creating a Database
Modifying Database Remarks
Querying Databases
Deleting a Database
SQL Statement Concurrency Control
Enabling or Disabling SQL Statement Concurrency Control
Querying Whether SQL Statement Concurrency Control Is Enabled
Configuring Concurrency Control Rules of SQL Statements
Querying Concurrency Control Rules of SQL Statements
Deleting Concurrency Control Rules of SQL Statements
Task Center
Obtaining Information About a Task with a Specified ID
Obtaining Instant Tasks
Obtaining Scheduled Tasks
Canceling a Scheduled Task
Deleting a Task Record
APIs (Unavailable Soon)
DB Engine Version Queries
Querying Version Information About a DB Engine
Database Specification Queries
Querying Database Specifications
Instance Management
Creating a DB Instance
Querying DB Instances
Deleting a DB Instance
Querying Details of a DB Instance
Creating a Read Replica
Deleting a Read Replica
Scaling up Storage of a Yearly/Monthly DB Instance
Changing a DB Instance Name
Resetting a Database Password
Modifying DB Instance Specifications
Backup Management
Modifying the Backup Policy
Creating a Manual Backup
Querying Backups
Querying an Automated Backup Policy
Parameter Template Management
Querying Parameter Templates
Quota Management
Querying the Instance Quotas of a Tenant
Querying Resource Quotas
Configuring Resource Quotas
Modifying Resource Quotas
Log Management
Querying Database Error Logs
Querying Database Slow Logs
Task Information Queries
Obtaining Information About a Task
Permissions Policies and Supported Actions
Permissions Policies and Supported Actions
GaussDB(for MySQL) Actions
Appendix
Abnormal Request Results
Status Codes
Error Codes
Obtaining a Project ID
GaussDB(for MySQL) Monitoring Metrics
Change History
FAQs
Product Consulting
What Should I Pay Attention to When Using GaussDB(for MySQL)?
What Can I Do About Slow Response of Websites When They Use GaussDB(for MySQL)?
Does GaussDB(for MySQL) Support Automatic Failover?
Does GaussDB(for MySQL) Support Decoupling of Compute and Storage?
Database Connections
Can an External Server Access the GaussDB(for MySQL) Database?
What Do I Do If the Number of GaussDB(for MySQL) Database Connections Reaches the Upper Limit?
What Is the Maximum Number of Connections to a GaussDB(for MySQL) Instance?
What Should I Do If an ECS Cannot Connect to a GaussDB(for MySQL) Instance?
How Can I Connect to a MySQL Database Through JDBC?
How Can I Create and Connect to an ECS?
What Should I Do If a Database Client Problem Causes a Connection Failure?
Why Cannot I Ping My EIP After It Is Bound to a DB Instance?
What Can I Do If the Connection Test Failed?
Can I Access a GaussDB(for MySQL) Instance over an Intranet Connection Across Regions?
Are There Any Potential Risks If There Are Too Many Connections to a GaussDB(for MySQL) Instance?
What Should I Do If an ECS and a GaussDB(for MySQL) instance Deployed in Different VPCs Cannot Communicate with Each Other?
How Do I View All IP Addresses Connected to a Database?
Client Installation
How Can I Install the MySQL Client?
Database Migration
What Types of DB Engines Does GaussDB(for MySQL) Support for Importing Data?
Database Permissions
Does GaussDB(for MySQL) Provide the Root Account or Super Permission?
Database Performance
What Should I Do If the CPU Usage of My Instance Is High?
How Do I Handle Slow SQL Statements Caused by Inappropriate Composite Index Settings?
How Do I Handle a Large Number of Temporary Tables Being Generated for Long Transactions and High Memory Usage?
What Should I Do If Locks on Long Transactions Block the Execution of Subsequent Transactions?
Database Usage
Why Are the Results Inconsistent After the MATCH AGAINST Statement Is Executed, Respectively, on Primary Nods and Read Replicas?
How Do I Add Columns Using INSTANT?
How Do I Use LOAD DATA to Import Local Data?
Backups
How Long Does GaussDB(for MySQL) Store Backup Data?
How Do I Clear GaussDB(for MySQL) Backup Space?
How Can I Back Up a GaussDB(for MySQL) Database to an ECS?
How Do I View My Backup Storage Usage?
Why Has My Automated Backup Failed?
How Is GaussDB(for MySQL) Backup Data Billed?
Database Parameter Modification
How Can I Change the Time Zone?
How Do I Configure a Password Expiration Policy for GaussDB(for MySQL) Instances?
How Do I Ensure that the Database Character Set of a GaussDB(for MySQL) Instance Is Correct?
How Do I Use the utf8mb4 Character Set to Store Emojis in a GaussDB(for MySQL) Instance?
How Do I Set Case Sensitivity for GaussDB(for MySQL) Table Names?
Can I Use SQL Commands to Modify Global Parameters?
Network Security
What Security Assurance Measures Does GaussDB(for MySQL) Have?
How Can I Prevent Untrusted Source IP Addresses from Accessing GaussDB(for MySQL)?
How Do I Configure a Security Group to Enable Access to a GaussDB(for MySQL) Instance?
How Can I Import the Root Certificate to a Windows or Linux Server?
How Do I Manage and Ensure GaussDB(for MySQL) Security?
Log Management
How Do I View All SQL Logs Executed by GaussDB(for MySQL)?
How Do I View Slow Query Logs of GaussDB(for MySQL)?
How Do I Enable and View Binlog of My GaussDB(for MySQL) Instance?
How Do I Change the Binlog Retention Period?
Version Upgrade
How Can I Check a GaussDB(for MySQL) Instance Version?
Change History
Troubleshooting
Backup and Restoration Issues
Insufficient Permissions During Data Export Using mysqldump
How Do I use mysqlbinlog to Obtain Binlog Files?
Canal Fails to Parse Binlogs
Precautions for Exporting Large Tables Through mysqldump
Commands for Exporting Data Through mysqldump
System Inaccessible After Field Addition to a Database Table
SQL Statements Such as SET @@SESSION.SQL_LOG_BIN Displayed After You Run mysqldump
Insufficient Permissions Reported for Canal
Connection Issues
Login Failed After ssl_type of root Is Changed to ANY
Failed to Connect to a DB Instance Using SSL
Description of Each IP Address
SSL Connection Failed Due to Inconsistent TLS Versions
Error Message "connection established slowly"
"Access denied" Displayed During Database Connection
Failed to Connect to a Database Using mariadb-connector in SSL Mode
Failed to Connect to a Database as User root
Client Automatically Disconnected from a DB Instance
Disconnection Occurs Every 45 Days Due to the istio-citadel Certificate Mechanism
SQL Issues
Invalid TIMESTAMP Default Value during Table Creation
Failed to Change the VARCHAR Length Due to the Index Length Limit
Slow SQL Queries After a Large Amount of Data Is Deleted from a Large Table
Error 1366 Reported When Data Containing Emojis Is Updated
Slow Stored Procedure Execution Due to Inconsistent Collations
ERROR [1412] Reported for a DB Instance
Failed to Delete a Table with a Foreign Key
Incorrect GROUP_CONCAT Results
Error Message "Too many keys specified" Displayed When a Secondary Index Is Created
DISTINCT and GROUP BY Optimization
Equivalent Comparison Failures with Floating-Point Numbers
Tablespace Bloat
ERROR 1396 Reported When a User Is Created
Error Message Reported When alter table xxx discard/import tablespace Is Executed
Native Error 1461 Reported by a DB Instance
"Row size too large" Reported When a Table Failed to Be Created
Parameter-related Issues
Global Parameters Fail to Change on the Client
Connection Exit Due to Improper Timeout Parameter Settings
long_query_time Changes Fail to Take Effect
Timeout Parameters
Performance Issues
Slow SQL Execution Due to Hot and Cold Data Problems
Full Storage Caused by Complex Queries
Slow Response Due to Deadlocks
CPU Usage Increase
CPU Resource Exhaustion Caused by Too Many Concurrent Slow Queries
Basic Issues
How Do I View Used Storage of My GaussDB(for MySQL) Instance?
Renaming Databases and Tables
Character Set and Collation Settings
Auto-Increment Field Value Jump
Starting Value and Increment of AUTO_INCREMENT
Changing the AUTO_INCREMENT Value of a Table
Failed to Insert Data Because Values for the Auto-increment Primary Key Field Reach the Upper Limit
Auto-increment Field Values
AUTO_INCREMENT Not Displayed in the Table Structure
Impact of Creating an Empty Username
No Scanned Rows Recorded in Slow Query Logs
Change History
Videos