微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

cstore_fdw PostgreSQL 柱状存储扩展

程序名称:cstore_fdw

授权协议: Apache

操作系统: Linux

开发语言: C/C++

cstore_fdw 介绍

cstore_fdw 实现了 PostgreSQL 数据库的柱状存储,用于对批量加载的数据进行分析的场景。

该扩展使用了 Optimized Row Columnar (ORC) 格式的数据存储布局。ORC 提升 Facebook 开发的 RCFile
格式,带来如下好处:

  • 压缩: Reduces in-memory and on-disk data size by 2-4x. Can be extended to support different codecs.

  • 列预测: Only reads column data relevant to the query. Improves performance for I/O bound queries.

  • 跳过索引: Stores min/max statistics for row groups, and uses them to skip over unrelated rows.

此外,我们使用了 PostgreS 外部数据封装 API 和类型呈现,带来:

  • Support for 40+ Postgres data types. The user can also create new types and use them.

  • Statistics collection. Postgresql’s query optimizer uses these stats to evaluate different query plans and pick the best one.

  • Simple setup. Create foreign table and copy data. Run sql.

cstore_fdw 官网

https://github.com/citusdata/cstore_fdw

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐