Skip to content

feat(db-postgres): allow to store blocks in a JSON column #12750

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 3 commits into from
Jun 16, 2025

Conversation

r1tsuu
Copy link
Member

@r1tsuu r1tsuu commented Jun 10, 2025

Continuation of #6245.
This PR allows you to pass blocksAsJSON: true to SQL adapters and the adapter instead of aligning with the SQL preferred relation approach for blocks will just use a simple JSON column, which can improve performance with a large amount of blocks.

To try these changes you can install 3.43.0-internal.c5bbc84.

DanRibbens
DanRibbens previously approved these changes Jun 16, 2025
Copy link
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we have one merge conflict to resolve

@DanRibbens DanRibbens merged commit 215f49e into main Jun 16, 2025
74 of 75 checks passed
@DanRibbens DanRibbens deleted the feat/blocks-as-json branch June 16, 2025 20:03
Copy link
Contributor

🚀 This is included in version v3.43.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants