暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Export/Import V2 支持及动态过滤功能|Greptime 双周精选第 79 期

GreptimeDB 2026-03-27
68

内容概述

开发周期:2026-03-09 - 2026-03-22

近期主要更新:

  • 新的 export import v2
     功能支持集群间数据迁移
  • dyn filter
     优化提升动态过滤条件的查询性能
  • 统一 Metric 表的 flush 和 compaction 机制,提升存储效率

建议旧版本用户升级到最新版本。

贡献者

过去两周,15 位贡献者合并了 43 个 PR,其中 3 位独立贡献者贡献了 3 个 PR。 欢迎新贡献者 @maximk777[1]

本期活跃独立贡献者:

PR 亮点

db#7785[6] feat: export import v2 pr1

新增了 export-v2
 和 import-v2
 命令基础框架,支持快照清单和 schema 元数据处理,可以在基于 URI 的存储后端上导出/导入 DDL。

db#7754[7] test(fuzz): add metric table repartition fuzz target

给 Metric Engine 表重分区加了端到端模糊测试,覆盖负载下分区重组时可能出现的数据损坏或查询失败。

db#7545[8] feat: use dyn filter

将排序算子的运行时 filter 下推到 region 扫描器,跳过不必要的数据读取。非索引时间戳列上的 ORDER BY ... LIMIT
 查询性能提升约 700 倍(28 秒降至 0.2 秒)。

db#7799[9] refactor: unify flush and compaction to always use FlatSource

内部重构统一了 flush 和 compaction 的 Arrow RecordBatch
 处理流程,去掉了重复的代码路径,避免 SST 文件生成行为不一致的问题。

db#7797[10] fix: rm useless analyzer

移除了 flow 查询流水线中多余的查询分析器,之前这些分析器会导致 bug。

Good First Issue

Issue#7755[11] Feature request: Support EKS Pod Identity ECS container credentials endpoint for S3 object storage

需要升级 GreptimeDB 的 OpenDAL 依赖,让 S3 认证支持 EKS Pod Identity 和 ECS 容器凭证端点。

  • 关键词:Storage, Dependencies
  • 难度:Easy

Issue#7544[12] Allow ALTER TABLE to modify the skip_wal option dynamically

需要支持通过 ALTER TABLE SET
 语句动态修改表的 skip_wal
 选项,让用户能在运行时开关预写日志功能。

  • 关键词:SQL parser, Storage, WAL
  • 难度:Medium

关于 Greptime

Greptime 格睿科技专注于打造新一代可观测性数据库,服务开发者与企业用户,覆盖从边缘设备到云端企业级部署的多样化需求。

欢迎加入开源社区参与贡献与交流!推荐从带有 good first issue
 标签的任务入手,一起共建可观测未来。添加微信小助手: greptime 参与技术交流!

  • ⭐ Star us on GitHub:https://github.com/GreptimeTeam/greptimedb
  • 📚 官网:https://greptime.cn/
  • 📖 文档:https://docs.greptime.cn/
  • 🌍 Twitter:https://twitter.com/Greptime
  • 💬 Slack:https://greptime.com/slack
  • 💼 LinkedIn:https://www.linkedin.com/company/greptime/
Reference
[1] 

@maximk777: https://github.com/maximk777

[2] 

@YZL0v3ZZ: https://github.com/YZL0v3ZZ

[3] 

db#7752https://github.com/GreptimeTeam/greptimedb/pull/7752

[4] 

@maximk777: https://github.com/maximk777

[5] 

db#7503https://github.com/GreptimeTeam/greptimedb/pull/7503

[6] 

db#7785https://github.com/GreptimeTeam/greptimedb/pull/7785

[7] 

db#7754https://github.com/GreptimeTeam/greptimedb/pull/7754

[8] 

db#7545https://github.com/GreptimeTeam/greptimedb/pull/7545

[9] 

db#7799https://github.com/GreptimeTeam/greptimedb/pull/7799

[10] 

db#7797https://github.com/GreptimeTeam/greptimedb/pull/7797

[11] 

Issue#7755https://github.com/GreptimeTeam/greptimedb/issues/7755

[12] 

Issue#7544https://github.com/GreptimeTeam/greptimedb/issues/7544


文章转载自GreptimeDB,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论