Quick onboard
Deployment
Data Modeling
Connection
Migration
Query
Operations and Maintenance
Common Maintenance
Partition
Backup and Restore
Expansion
Monitoring
Performance Tuning
Troubleshooting
Reference Guide
Tool guide
Data Type
Storage Engine
Executor
Stream
DR (Disaster Recovery)
Configuration
Index
Extension
SQL Reference
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.