detach_tablespaces()
Detach all tablespaces from a hypertable. After issuing this command on a hypertable, it no longer has any tablespaces attached to it. New chunks are instead placed in the database’s default tablespace.
Required arguments
Name | Type | Description |
---|---|---|
hypertable | REGCLASS | Hypertable to detach a the tablespace from. |
Sample usage
Detach all tablespaces from the hypertable conditions
:
SELECT detach_tablespaces('conditions');
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .