跳到内容
📣 Timescale 亮相 AWS 纽约峰会 🤝 预约会议!
TimescaleDB - 适用于 PostgreSQL 的时序数据库 文档
  • Timescale.com
  • 免费试用
开始使用
体验 Timescale 核心功能
开始使用 Timescale 编写代码
创建 Timescale 服务
关于 Timescale 产品
Timescale 实时分析架构
定价计划和账户管理
更新日志
使用 Timescale
超表
Hypercore
连续聚合
教程
集成
API 参考
超表和数据块
CREATE TABLE
create_hypertable (旧版 API)
create_hypertable (更旧版 API)
show_chunks
drop_chunks
reorder_chunk
split_chunk
merge_chunks
move_chunk
add_reorder_policy
remove_reorder_policy
attach_tablespace
detach_tablespace
detach_tablespaces
show_tablespaces
set_chunk_time_interval
set_integer_now_func
add_dimension
add_dimension (旧版接口)
enable_chunk_skipping
disable_chunk_skipping
create_index (每个数据块的事务)
hypertable_size
hypertable_approximate_size
hypertable_detailed_size
hypertable_approximate_detailed_size
hypertable_index_size
chunks_detailed_size
Hypercore
连续聚合
数据保留
任务和自动化
超函数
信息视图
配置
管理功能
API 参考标签概览
压缩(旧版 API,已被 Hypercore 取代)
分布式超表(v2.14.x 已停止支持)
将数据迁移并同步到 Timescale Cloud
AI 和向量:Timescale 上的 pgai
其他部署选项
查找文档页面
TimescaleDB API 参考超表和数据块

detach_tablespaces()

Timescale Cloud:性能、扩展、企业级

自托管产品

MST

从超表分离所有表空间。对超表执行此命令后,它将不再附加任何表空间。新的数据块将改为放置在数据库的默认表空间中。

必需参数

名称类型描述
超表REGCLASS要分离表空间的超表。

示例用法

从超表 conditions 分离所有表空间

SELECT detach_tablespaces('conditions');

关键词

表空间超表分离

此页面有问题?报告问题 或 在 GitHub 上编辑此页面" width="16" height="16" class="inline m-0 ml-1">。

上一页detach_tablespace下一页show_tablespaces

相关内容

detach_tablespace()
从超表分离表空间
move_chunk()
将数据块及其索引移动到不同的表空间
show_tablespaces()
显示附加到超表的表空间
attach_tablespace()
将表空间附加到超表
超表和数据块
用于处理超表和数据块的 Timescale Cloud API 参考。包括所有与管理超表、数据块、维度、表空间和索引相关的 SQL 函数和视图
show_chunks()
显示属于超表的数据块