YMatrix
Quick Start
Connecting
Benchmarks
Deployment
Data Usage
Manage Clusters
Upgrade
Global Maintenance
Expansion
Monitoring
Security
Best Practice
Technical Principles
Data Type
Storage Engine
Execution Engine
Streaming Engine(Domino)
MARS3 Index
Extension
Advanced Features
Advanced Query
Federal Query
Grafana
Backup and Restore
Disaster Recovery
Guide
Performance Tuning
Troubleshooting
Tools
Configuration Parameters
SQL Reference
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.