Skip to content
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

Bagger producer #86

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Bagger producer #86

wants to merge 19 commits into from

Conversation

zilder
Copy link
Contributor

@zilder zilder commented Jun 4, 2020

A special producer for bagger and compressed storage. Because of the implementation of pg_cryogen it works at its best when large batches of data are inserted. Current postgres producer on the other hand inserts tuples into a master table which then routes those tuples to partitions.

Bagger producer maintains internal buffers for each partition involved and flushes them as large batches when reaches size or delay threshold. This approach also makes master table and trigger obsolete. I haven't benchmarked it yet, but i expect that it might give a massive performance boost.

Bagger producer is based on exports producer and naturally inherits its features. Particularly it allows to split a large json into several smaller ones or extract some fields into separate columns.

@zilder zilder requested a review from 65278 June 4, 2020 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant