跳到内容
📣 Timescale 亮相 AWS 纽约峰会 🤝 立即预约会议!
TimescaleDB - Timeseries database for PostgreSQL 文档
  • Timescale.com
  • 免费试用
开始使用
试用 Timescale 的主要功能
开始使用 Timescale 编码
创建 Timescale 服务
关于 Timescale 产品
Timescale 实时分析架构
定价计划和账户管理
更新日志
使用 Timescale
超表(Hypertables)
Hypercore
连续聚合(Continuous aggregates)
教程
集成
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
连续聚合(Continuous aggregates)
数据保留
作业和自动化
超级函数(Hyperfunctions)
信息视图
配置
管理函数
API 参考标签概述
压缩(旧版 API,已被 Hypercore 取代)
分布式超表(v2.14.x 已停止支持)
迁移和同步数据到 Timescale Cloud
AI 和向量:Timescale 上的 pgai
其他部署选项
查找文档页面
TimescaleDB API 参考超表和分块

split_chunk()

社区社区功能在 Timescale 社区版中可用。点击了解更多。

Timescale Cloud:性能、规模、企业级

自托管产品

MST

在特定时间点拆分一个大的分块。

所需参数

名称类型描述
chunkREGCLASS要拆分的分块名称。
split_atTIMESTAMPTZ拆分分块的时间戳。

返回

此函数返回 void。

示例用法

在特定时间拆分一个分块

CALL split_chunk('chunk_1', split_at => '2025-03-01 00:00');

关键词

分块超表拆分

在此页面上发现问题?报告问题 或 编辑此页面 在 GitHub 上。

上一页reorder_chunk下一页merge_chunks

相关内容

超表和分块
Timescale Cloud API 参考,用于处理超表和分块。包括所有与管理超表、分块、维度、表空间和索引相关的 SQL 函数和视图。
move_chunk()
将分块及其索引移动到不同的表空间
show_chunks()
显示超表所属的分块
CREATE INDEX(按分块事务)
为每个分块使用单独的事务创建超表索引
add_dimension()
向超表添加空间分区维度
reorder_chunk()
重新排序分块中的行