-
Notifications
You must be signed in to change notification settings - Fork 36
docs: add cbdb vs gp in zh and en #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
82946bf
docs: add cbdb vs gp
TomShawn 5eb5b36
Update current.json
TomShawn 63be675
Update cbdb-vs-gp-features.md
TomShawn cd47712
Update cbdb-vs-gp-features.md
TomShawn 8ff231f
Update cbdb-vs-gp-features.md
TomShawn 106a1a2
Update docs/cbdb-vs-gp-features.md
TomShawn d0d2137
Apply suggestions from code review
TomShawn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| --- | ||
| title: Comparision with Greenplum Features | ||
| --- | ||
|
|
||
| # Comparision with Greenplum Features | ||
|
|
||
| Cloudberry Database is 100% compatible with Greenplum, and provides all the Greenplum features you need. | ||
|
|
||
| In addition, Cloudberry Database possesses some features that Greenplum currently lacks or does not support. More details are listed below. | ||
|
|
||
| ## General features | ||
|
|
||
| :::info | ||
|
|
||
| - In the following tables, ✅ means support, and ❌ means no support. | ||
| - The feature comparison in the following tables is based on Greenplum 7 Beta.3. | ||
|
|
||
| ::: | ||
|
|
||
| | Feature names | Cloudberry Database | Greenplum | | ||
| | ---------------------------------------- | ------------------- | ----------- | | ||
| | `EXPLAIN` (WAL) support | ✅ | ❌ | | ||
| | Multiranges | ✅ | ❌ | | ||
| | B-tree bottom-up index deletion | ✅ | ❌ | | ||
| | Covering indexes for GiST (`INCLUDE`) | ✅ | ✅(Upcoming) | | ||
| | The `range_agg` range type aggregation function | ✅ | ❌ | | ||
| | `CREATE ACCESS METHOD` | ✅ | ✅(Upcoming) | | ||
| | LZ4 compression for `TOAST` tables | ✅ | ❌ | | ||
| | JSONB subscripting | ✅ | ❌ | | ||
| | Configure the maximum WAL retention for replication slots | ✅ | ❌ | | ||
| | Verify backup integrity (`pg_verifybackup`) | ✅ | ❌ | | ||
| | Client can require SCRAM channel binding | ✅ | ❌ | | ||
| | Vacuum "emergency mode" | ✅ | ❌ | | ||
| | Certificate authentication with `postgres_fdw` | ✅ | ❌ | | ||
| | `UPSERT` | ✅ | ✅(Upcoming) | | ||
| | COPY FROM Where | ✅ | ❌ | | ||
| | VACUUM / ANALYZE Skip Lock Table | ✅ | ❌ | | ||
| | HASH partitioned table | ✅ | ❌ | | ||
| | CTE(SEARCH and CYCLE) | ✅ | ❌ | | ||
| | Procedure OUT parameters | ✅ | ❌ | | ||
| | `CHECK` constraints for foreign tables | ✅ | ❌ | | ||
| | Timeout parameter for `pg_terminate_backend` | ✅ | ❌ | | ||
| | Auto failover for Master | ✅ | ❌ | | ||
| | Kubernetes deployment support | ✅ | ❌ | | ||
|
|
||
| ## Performance-related features | ||
|
|
||
| | Feature names | Cloudberry Database | Greenplum | | ||
| | ------------------------------------------- | ------------------- | --------- | | ||
| | `REINDEX CONCURRENTLY` | ✅ | ❌ | | ||
| | Aggregation pushdown | ✅ | ❌ | | ||
| | `CREATE STATISTICS` - `OR` and `IN/ANY` statistics | ✅ | ❌ | | ||
| | Incremental sort | ✅ | ❌ | | ||
| | Incremental sort for window functions | ✅ | ❌ | | ||
| | Query pipelining | ✅ | ❌ | | ||
| | BRIN Index(multi-minmax, bloom) | ✅ | ❌ | | ||
| | Query parallelism | ✅ | ❌ | | ||
| | Abbrevated keys for sorting | ✅ | ❌ | | ||
| | Hash Index WAL support | ✅ | ❌ | | ||
| | `postgres_fdw` aggregation pushdown | ✅ | ❌ | | ||
| | No need to rewrite the whole table when adding a column | ✅ | ❌ | | ||
| | Runtime Filter for Join | ✅ | ❌ | | ||
| | Index Scan for the AppendOnly table | ✅ | ❌ | | ||
|
|
||
| ## Security-related features | ||
|
|
||
| | Feature names | Cloudberry Database | Greenplum | | ||
| | --------------------------- | ------------------- | --------- | | ||
| | Transparent Data Encryption (TDE) | ✅ | ❌ | | ||
| | Trusted extensions | ✅ | ❌ | | ||
| | SCRAM-SHA-256 | ✅ | ❌ | | ||
| | Encrypted TCP/IP connection when GSSAPI | ✅ | ❌ | | ||
| | Row-level security policy | ✅ | ❌ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
i18n/zh/docusaurus-plugin-content-docs/current/cbdb-vs-gp-features.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| --- | ||
| title: 与 Greenplum 的特性对比 | ||
| --- | ||
|
|
||
| # 与 Greenplum 的特性对比 | ||
|
|
||
| Cloudberry Database 100% 兼容 Greenplum,能提供所有你需要的 Greenplum 特性。 | ||
|
|
||
| 除此之外,Cloudberry Database 还拥有一些 Greenplum 当前不具备或不支持的特性,详见下文。 | ||
|
|
||
| ## 一般特性对比 | ||
|
|
||
| :::info 说明 | ||
|
|
||
| - 在以下表格中,✅ 代表支持,❌ 代表不支持。 | ||
| - 以下表格中的对比,基于 Greenplum 7.0 Beta.3 版本。 | ||
|
|
||
| ::: | ||
|
|
||
| | 功能名 | Cloudberry Database | Greenplum | | ||
| | ---------------------------------------- | ------------------- | ----------- | | ||
| | 在 `EXPLAIN` 的结果中查看 WAL 的使用信息 | ✅ | ❌ | | ||
| | 多范围 (multiranges) | ✅ | ❌ | | ||
| | B 树自底向上索引删除 | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | GiST的覆盖索引 (`INCLUDE`) | ✅ | ✅(待发布) | | ||
| | `range_agg` 范围类型聚合函数 | ✅ | ❌ | | ||
| | `CREATE ACCESS METHOD` | ✅ | ✅(待发布) | | ||
| | `TOAST` 表上的 LZ4 压缩支持 | ✅ | ❌ | | ||
| | JSONB 下标 | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | 配置复制插槽的最大 WAL 保留 | ✅ | ❌ | | ||
| | 验证备份的完整性 (`pg_verifybackup`) | ✅ | ❌ | | ||
| | 客户端可以要求 SCRAM 通道绑定 | ✅ | ❌ | | ||
| | Vacuum "紧急模式" | ✅ | ❌ | | ||
| | 使用 `postgres_fdw` 的证书认证 | ✅ | ❌ | | ||
| | `UPSERT` | ✅ | ✅(待发布) | | ||
| | COPY FROM Where | ✅ | ❌ | | ||
| | VACUUM / ANALYZE 跳过锁定表 | ✅ | ❌ | | ||
| | HASH 分区表 | ✅ | ❌ | | ||
| | CTE(搜索和循环) | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | 过程 OUT 参数 | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | 外键表的 `CHECK` 约束 | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | `pg_terminate_backend` 的超时参数 | ✅ | ❌ | | ||
| | Master 自动故障转移 | ✅ | ❌ | | ||
| | 支持在 Kubernetes 上部署 | ✅ | ❌ | | ||
|
|
||
| ## 性能特性对比 | ||
|
|
||
| | 功能名 | Cloudberry Database | Greenplum | | ||
| | ------------------------------------------- | ------------------- | --------- | | ||
| | 并发重建索引 `REINDEX CONCURRENTLY` | ✅ | ❌ | | ||
| | 聚合运算下推 | ✅ | ❌ | | ||
| | `CREATE STATISTICS` - `OR` 和 `IN/ANY` 统计 | ✅ | ❌ | | ||
| | 增量排序 | ✅ | ❌ | | ||
| | 窗口函数的增量排序 | ✅ | ❌ | | ||
| | 查询流水线 | ✅ | ❌ | | ||
| | BRIN 索引(多最小最大值,bloom) | ✅ | ❌ | | ||
| | 查询并行 | ✅ | ❌ | | ||
| | 排序的缩略键 | ✅ | ❌ | | ||
TomShawn marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | 哈希索引的 WAL 支持 | ✅ | ❌ | | ||
| | `postgres_fdw` 聚合下推 | ✅ | ❌ | | ||
| | 添加列时无需重写整个表 | ✅ | ❌ | | ||
| | 表连接运算支持运行时过滤器 (Runtime Filter) | ✅ | ❌ | | ||
| | AppendOnly 表支持索引扫描 | ✅ | ❌ | | ||
|
|
||
| ## 安全特性对比 | ||
|
|
||
| | 功能名 | Cloudberry Database | Greenplum | | ||
| | --------------------------- | ------------------- | --------- | | ||
| | 透明数据加密 (TDE) | ✅ | ❌ | | ||
| | 可信扩展 | ✅ | ❌ | | ||
| | SCRAM-SHA-256 | ✅ | ❌ | | ||
| | GSSAPI 时的加密 TCP/IP 连接 | ✅ | ❌ | | ||
| | 行级别安全策略 | ✅ | ❌ | | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.