Skip to content

Commit c27ec8f

Browse files
leborchukreshke
andauthored
Add Yezzey submodule to gpcontrib (#1752)
Yezzey is an open-source extension for Apache Cloudberry and Greenplum 6 that transparently offloads Append-Only (AO/AOCO) table data to S3-compatible object storage. Inspired by Snowflake and AnyBlob, it extends the storage manager (smgr) so reads and writes go to S3 instead of local disk, keeping the user interface unchanged. A companion YProxy service acts as an I/O scheduler, managing connection pooling and request prioritization to prevent S3 throttling. Data is PGP-encrypted during upload. Benchmarks show only 10–43% query slowdown versus local storage, far outperforming PXF, making it ideal for cost-effective cold-data tiering. The main feature of Yezzey - you don't need to change tables or code; just launch yezzey_define_offload_policy and move the data to S3. In this way, you can unload your cluster using the available disk space. Currently, it is widely used on Greenplum 6 instances, and the goal is to provide users with the same interface in Cloudberry, so they can seamlessly migrate to Cloudberry. We placed Yezzey as a submodule, as we believe one day we will replace all outdated solutions like AO/AOCO/Yezzey with PAX. However, that has not happened yet and we still need Yezzey. Co-authored-by: reshke <reshkekirill@gmail.com>
1 parent b310a13 commit c27ec8f

11 files changed

Lines changed: 1121 additions & 13 deletions

File tree

.github/workflows/yezzey-ci.yaml

Lines changed: 443 additions & 0 deletions
Large diffs are not rendered by default.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@
1515
path = dependency/yyjson
1616
url = https://github.com/ibireme/yyjson.git
1717

18+
[submodule "gpcontrib/yezzey"]
19+
path = gpcontrib/yezzey
20+
url = https://github.com/open-gpdb/yezzey.git

LICENSE

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@ Apache Cloudberry includes codes from
338338

339339
see licenses/LICENSE-citusdata.txt
340340

341+
----------------------------
342+
PostgreSQL License
343+
344+
gpcontrib/yezzey/*
345+
see licenses/LICENSE-yezzey.txt
346+
341347
----------------------------
342348
Apache License - Version 2.0
343349

0 commit comments

Comments
 (0)