Skip to content

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.

2 participants