YMatrix
Quick Start
Cluster Deployment
Data Model
Data Writing
Data Query
SQL Reference
Maintenance and Monitoring
Tool Guide
Troubleshooting
FAQ
Delete the tablespace.
DROP TABLESPACE [IF EXISTS] tablespacename
DROP TABLESPACE Deletes tablespace from the system.
Tablespaces can only be deleted by their owner or superuser. All database objects in the tablespace must be empty before deleting the tablespace. Even if no objects in the current database are using the tablespace, objects in other databases may still reside in the tablespace.
IF EXISTS
tablespacename
Delete tablespace mystuff:
DROP TABLESPACE mystuff;
DROP TABLESPACE is a YMatrix database extension.