Skip to content

Use jsonb to store oplog and ps_data #111

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Use jsonb to store oplog and ps_data #111

wants to merge 1 commit into from

Conversation

simolus3
Copy link
Contributor

This is an experiment to use JSONB instead of text in ps_oplog, converting lines as they are downloaded. The binary data is then forwarded to ps_data_ and ps_untyped tables unchanged (relying on the fact that they're non-strict, so we can push binary data into the TEXT column).

I have not done any benchmarks on this, but the idea is that this could potentially speed up queries. We also need to check the impact of the conversion on sync performance though.

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