# Flat 格式正式上线，重要 bug 修复｜Greptime 双周精选 - No. 70

Source: https://greptime.cn/blogs/2025-11-20-greptimedb-biweekly-report

## 内容概述

作为一个成长中的开源项目，**GreptimeDB** 的进展离不开来自全球的社区贡献者们，感谢各位！

最近的更新内容如下：

- 正式引入 Flat 格式，适合高基数场景
- 修复 Metasrv 使用 RDS 作为后端存在的状态异常 bug
- 修复 compaction 某些情况下未触发 bug

我们**推荐用户升级到 `1.0.0-beta.1` 版本**来获得这些功能改进和 bug 修复！

## 社区贡献者名单

在过去的两周里，GreptimeDB 共合并了 **58 个 PR**，其中有 **2 位独立贡献者**，累计 **2 个 PR** 被成功合并，还有很多待合并的 PR 。

祝贺以下各位在过去 2 周内成为我们最突出的贡献者：

> 注：按照 GitHub 用户名首字母顺序排列
> - @**[SNC123](https://github.com/SNC123)** *[db#7034](https://github.com/GreptimeTeam/greptimedb/pull/7034)*
> - @**[Standing-Man](https://github.com/Standing-Man)** *[db#7146](https://github.com/GreptimeTeam/greptimedb/pull/7146)*

👏 衷心感谢我们所有的成员和贡献者！是你们的付出让我们的项目得以成功，也是你们让 GreptimeDB 成为一个更优质的产品。让我们一起努力，建立一个更棒的社区！

## PR 亮点

### [db#7206 支持开启 Flat Format（测试版）](https://github.com/GreptimeTeam/greptimedb/pull/7206)

在过去两个月中持续开发的一个重要新特性 Flat 格式已经可以使用了，通过 ALTER TABLE 或建表时指定表选项 `'sst_format' = 'flat'` 即可使用。该功能也在最新的 `v1.0.0-beta.1` 中提供。**需要注意目前这个操作是不可逆的，即不允许从 Flat Format 修改回原来的格式。**

### [db#7199 修复使用 PostgreSQL 或 MySQL 作为 Metasrv backend 时可能导致状态错误的问题](https://github.com/GreptimeTeam/greptimedb/pull/7199)

在使用 RDS 作为元数据存储的后端实现时，可能会出现集群状态错误的异常。我们强烈建议依赖 RDS 的部署实例升级到 `v1.0.0-beta.1` 或更新的版本。

### [db#7213](https://github.com/GreptimeTeam/greptimedb/pull/7213) [db#7243 提升 COPY DATABASE 和分区读取时操作的并行度](https://github.com/GreptimeTeam/greptimedb/pull/7243)

这些改动让查询或导出数据时可以同时处理很多表或者分区，大大加快了导出操作的速度。

### [db#7224](https://github.com/GreptimeTeam/greptimedb/pull/7224) [db#7239 修复 compaction 有时不生效的问题](https://github.com/GreptimeTeam/greptimedb/pull/7239)

我们推荐使用老版本的用户升级到 `v1.0.0-beta.1` 以规避该问题。

## Good First Issue

### [Issue#6334 完善 KILL 对 INSERT INTO SELECT 查询的支持](https://github.com/GreptimeTeam/greptimedb/issues/6334)

完善 `KILL` 对 `INSERT INTO SELECT` 查询的支持。

关键字：查询引擎

难度：中等

### [Issue#6621 支持反向代理部署](https://github.com/GreptimeTeam/greptimedb/issues/6621)

允许用户将 GreptimeDB 与其他服务一起运行在反向代理之后，这是一种常见的部署方式。

关键字：Server，反向代理

难度：中等
