Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

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
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
On this page

Show all

GAUSS-00521 -- GAUSS-00530

Updated on 2023-12-22 GMT+08:00

GAUSS-00521: "cannot change the tablespace of the currently open database"

SQLSTATE: 55006

Description: When a database is being accessed by other users, its tablespace cannot be modified using the ALTER DATABASE SET TABLESPACE syntax.

Solution: Ensure that other users are not accessing the database when modifying the database tablespace. If the database has been accessed by other users, log out of the database and attempt to modify the tablespace of the database again.

GAUSS-00522: "some relations of database '%s' are already in tablespace '%s'"

SQLSTATE: 55000

Description: If relationship objects, such as tables, indexes, and views, exist in the tablespace directory of a database, its tablespace cannot be modified using the ALTER DATABASE SET TABLESPACE syntax.

Solution: Ensure that no relationship objects, such as tables, indexes, and views, exist in a database when modifying the database tablespace. If such relationship objects exist, delete them and then attempt to modify the tablespace again.

GAUSS-00523: "could not remove directory '%s': %m"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00524: "permission denied to change owner of database"

SQLSTATE: 42501

Description: The current user does not have the permission to modify the database owner using the ALTER DATABASE name OWNER TO newowner syntax.

Solution: Ensure that the current user is a database owner or an administrator user when this user attempts to modify the database owner using the ALTER DATABASE name OWNER TO newowner syntax.

GAUSS-00525: "dbase_redo: unknown op code %u"

SQLSTATE: XX000

Description: Internal system error.

Solution: Contact technical support.

GAUSS-00526: "could not create directory '%s': %m"

SQLSTATE: XX000

Description: When a database tablespace is being created, the following exceptions may occur in the directory of this tablespace: 1. The current user is not an administrator user and does not have the permission to access this directory. 2. The file system is read-only. 3. This directory already exists. 4. No sufficient disk space is available for creating a directory. 5. Hardware faults result in I/O errors. 6. An internal error occurs in the GaussDB(DWS) database. "

Solution: Use the following methods to resolve directory exceptions when the database tablespace is being created: 1. Ensure that the current user is an administrator user or has the database creation permission. 2. Change the file system permissions to read and write permissions if the file system is read-only. 3. Do not create a tablespace if the tablespace directory exists.

GAUSS-00527: "could not stat directory '%s': %m"

SQLSTATE: XX000

Description: The directory of a database tablespace to be created does not exist or the directory name is incorrect.

Solution: Ensure that the directory of a database tablespace to be created is valid.

GAUSS-00528: "'%s' exists but is not a directory"

SQLSTATE: 42809

Description: The directory of a database tablespace to be created is invalid.

Solution: Ensure that the directory of a database tablespace to be created is valid.

GAUSS-00529: "Permission denied to create tablespace '%s'."

SQLSTATE: 42501

Description: The current user does not have the permission to create a tablespace in the database.

Solution: Create a tablespace in the database as a system administrator.

GAUSS-00530: "tablespace location cannot contain single quotes"

SQLSTATE: 42602

Description: When the CREATE TABLESPACE tablespace_name ...LOCATION syntax is used to specify a tablespace directory, the location information strings are marked with single quotation marks ('').

Solution: Ensure that the location information strings are marked with double quotation marks ("") when the CREATE TABLESPACE tablespace_name ...LOCATION syntax is used to specify a tablespace directory.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback