Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
Software Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Top FAQs

Updated on 2025-01-09 GMT+08:00

Recently, we have collected FAQs about GaussDB(DWS) through Intelligent chatbot. You may find answers to your questions on this page.

Syntax Usage

Table 1 Syntax Usage

Ranking

FAQ

Page URL

1

  • How do I query the number of bits in a query string?
  • How do I truncate a substring?
  • How do I replace some strings in the returned result?
  • How do I return the first several characters of a string?
  • How do I filter out the header and tail of a string?
  • How do I get the number of bytes of a specified string?

Character Processing Functions and Operators

2

  • How do I create a partition table?
  • What are the supported table partition types?

CREATE TABLE PARTITION

3

  • How do I view all schemas?
  • How do I view all tables in a schema?

Schema

4

  • How do I add a table column?
  • How do I change a data type?
  • How do I add a NOT NULL constraint to a column?
  • How do I set the primary key?
  • How do I alter table attributes?

ALTER TABLE

5

  • How do I use date functions?
  • How do I use pg_sleep()?
  • How do I perform month subtraction?
  • How do I use functions to change date types?

Time and Date Processing Functions and Operators

6

  • How do I change distribution columns?
  • How do I change the distribution column to another column?
  • Why does the data in the distribution column cannot be updated, and the message "Distributed key column can't be updated in current version" is displayed?

How Do I Change Distribution Columns

7

  • How do I manage partitions?
  • How do I add or delete a partition?
  • How do I rename a partition?
  • How do I query data in a partition?

Creating and Managing Partitioned Tables

8

  • How do I query the number of rows in a partition?
  • How do I merge two partitions?

ALTER TABLE PARTITION

9

How do I call the stored procedure?

CALL

10

  • How do I create a table?
  • create table like

CREATE TABLE

11

  • What is the command for authorization?
  • How do I use the grant syntax?
  • How do I grant the rights of a user to other users?
  • How do I grant table permissions to a user?
  • How do I grant database permissions to a user?
  • What are the foreign table permissions?

GRANT

12

  • How do I use the REPLACE function?
  • How do I use to_timestamp?
  • How do I covert a timestamp to a specified format?
  • How do I use current_timestamp?
  • How do I use to_number?

Type Conversion Functions

Database Management

Table 2 Database management

Ranking

FAQ

Page URL

1

  • How do I view table definitions?
  • How do I view the DDL?
  • How do I view the structure of views?
  • How do I querying the size of a database or a table?

Querying the Table and Database Size

2

  • How do I clearing tablespaces?
  • How do I use the VACUUM FULL syntax?
  • How do I improve the query performance after a large number of adding, deleting, and modifying operations?

VACUUM

3

  • How do I check whether a user has permissions on the current table?
  • How do I check whether a user has a certain permission on a table?

How Do I View the Table Permissions of a GaussDB(DWS) User?

4

  • How do I query and terminate blocked statements?
  • How do I query active statements?
  • How do I terminate a session?
  • What should I do when lock waiting times out?

Analyzing SQL Statements That Are Being Executed

5

  • Is there a detailed description for SQL execution plans?
  • How do I view the execution plan?
  • What are the differences between Nested Loop, Hash Join, and Merge Join?

SQL Execution Plan

6

  • How do I Cancel THE read-only status?
  • What should I do when the database enters the read-only state?

A GaussDB(DWS) Cluster Becomes Read-Only and Is Locked and Data Cannot Be Written

7

  • How do I collect statistics?

ANALYZE | ANALYSE

8

  • How do I configure the optimizer?
  • How do I enable or disable nestloop?
  • How do I enable or disable mergejoin?
  • What are the parameters that affect the execution plan?

Optimizer Method Configuration

9

  • How do I changing the database time zone?
  • How do I change the time zone?

How to Change a Database's Default Time Zone When the Database Time Is Different from the System Time?

10

  • How do I query function definitions?
  • How do I use the access privilege inquiry functions?
  • How do I query view definitions?

System Information Functions

11

  • What are the technical specifications?
  • What are the supported partition table sizes?
  • What is the maximum data volume in a single table?
  • What is the maximum number of columns supported by a table?

Technical Specifications

12

  • What are the developer operations?
  • How do I specify whether to enable the optimizer's use of a distributed framework?

Developer Options

Cluster Management

Table 3 Cluster management

Ranking

FAQ

Page URL

1

  • What should I do when disk usage is too high?
  • What should I do if the disk is full?
  • What should I do if the cluster becomes read-only?
  • What should I do if a disk alarm is generated?
  • How do I set the disk threshold?
  • How do I enable disk alarm subscription?

A GaussDB(DWS) Cluster Becomes Read-Only and Is Locked and Data Cannot Be Written

2

  • How do I view basic cluster information?
  • How do I viewing the EIP of a cluster?
  • How do I viewing the database connection address?
  • What are the cluster flavors?
  • What is the basic disk information?

Viewing Cluster Details

3

How do I purchase a cluster?

Creating a Cluster

4

  • What should I do if the cluster is unbalanced?
  • How do I perform primary/standby cluster switchover?

Performing a Primary/Standby Switchback

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback