YMatrix
Quick Start
Standard Cluster Deployment
Data Modeling
Connecting to The database
Data Migration
Data Query
Maintenance and Monitoring
Performance Tuning
Troubleshooting
Reference Guide
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.