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-00531 -- GAUSS-00540

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

GAUSS-00531: "tablespace location must be an absolute path"

SQLSTATE: 42P17

Description: When the CREATE TABLESPACE tablespace_name ...LOCATION syntax is used to specify a tablespace directory, the location information strings indicate an incorrect path.

Solution: Specify an absolute path using the location information string.

GAUSS-00532: "tablespace location '%s' is too long"

SQLSTATE: 42P17

Description: When the CREATE TABLESPACE tablespace_name...LOCATION syntax is used to specify the length of a tablespace directory, the length value of the tablespace directory is greater than 1024.

Solution: Change the length value of the tablespace directory to a value less than or equal to 1024.

GAUSS-00533: "unacceptable tablespace name '%s'"

SQLSTATE: 42939

Description: When the CREATE TABLESPACE tablespace_name syntax is used to create a tablespace, the tablespace name is invalid.

Solution: Ensure that the tablespace name is unique in the database cluster and does not start with pg which is used to name system tablespaces.

GAUSS-00534: "tablespace '%s' already exists"

SQLSTATE: 42710

Description: The current tablespace name has been used, and the tablespace failed to be created.

Solution: Run the \db command to check uniqueness of the tablespace name. If the name used for the tablespace exists, rename the tablespace.

GAUSS-00535: "tablespaces are not supported on this platform"

SQLSTATE: 0A000

Description: Tablespaces are not supported.

Solution: Do not use tablespaces.

GAUSS-00536: "Tablespace '%s' does not exist."

SQLSTATE: 42704

Description: The tablespace deleted using DROP TABLESPACE does not exist.

Solution: Run the \db command to check whether the tablespace name exists. Only tablespaces that exist in the database can be deleted.

GAUSS-00537: "tablespace '%s' is used by partitioned table '%s'"

SQLSTATE: 0A000

Description: Attempting to delete the tablespace used by a partitioned table is invalid.

Solution: Check whether the tablespace to be deleted has been used by a partitioned table. Do not delete the tablespace that has been used by a partitioned table.

GAUSS-00538: "tablespace '%s' is not empty"

SQLSTATE: 55000

Description: The tablespace to be deleted is not empty.

Solution: Delete a tablespace only when it is empty.

GAUSS-00539: "directory '%s' does not exist"

SQLSTATE: 58P01

Description: When creating a tablespace, the tablespace directory $PGDATA/pg_tblspc/ does not exist.

Solution: Check whether the tablespace directory $PGDATA/pg_tblspc/ exists before creating a tablespace. If the directory does not exist, restart the cluster or a single node.

GAUSS-00540: "could not set permissions on directory '%s': %m"

SQLSTATE: XX000

Description: When creating a tablespace, read, write, and execute permissions failed to be set for the tablespace directory $PGDATA/pg_tblspc/.

Solution: Perform the following operations to resolve problems: 1. Check whether the current user is a database administrator or the database owner. 2. Check whether the file system is read-only. If yes, add the write and execute permissions for the file system. 3. Check whether the directory exists. If yes, do not create the tablespace.

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