YMatrix
Quick Start
Simulate Time Series Scenarios
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Writing
Data Migration
Data Query
Scene Application Examples
Federal Query
Maintenance and Monitoring
Global Maintenance
Partition Maintenance
Backup and Restore
Cluster Expansion
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool Guide
Data Type
Storage Engine
Execution Engine
Configuration Parameters
SQL Reference
FAQ
Change the definition of the tablespace.
ALTER TABLESPACE name RENAME TO new_name
ALTER TABLESPACE name OWNER TO new_owner
ALTER TABLESPACE name SET ( tablespace_option = value [, ... ] )
ALTER TABLESPACE name RESET ( tablespace_option [, ... ] )
ALTER TABLESPACE Changes the definition of the tablespace.
You must have a tablespace to use ALTER TABLESPACE. To change the owner, you must also be a direct or indirect member of the newly owned role. (Note that superusers will automatically have these privileges.)
name
new_name
new_owner
tablespace_parameter
Rename the tablespace index_space to fast_raid:
ALTER TABLESPACE index_space RENAME TO fast_raid;
Change the owner of the tablespace index_space:
ALTER TABLESPACE index_space OWNER TO mary;
There is no ALTER TABLESPACE statement in the SQL standard.