Skip to content

Conversation

@matthewpeterkort
Copy link
Collaborator

@matthewpeterkort matthewpeterkort commented Sep 5, 2025

Adds Sectioning and Partitioning to jsontable in order to support storing Rows together on disk by shared id prefixes to promote scalability of benchtop storage past single GB per table sizes.

Operations before that would be forced to search the entire table can be more granular, only being needed on certain sections / partitions.

running on cbds development for ~ a month now.

This PR is getting more into deep database design -- Performance improvements are not easy to get anymore, reliability and resilience is what his DB driver needs more of. It's kindof unclear if some of the changes in this PR are better than the previous versions --

Compression saves about 2/3 of the space, but stuff like mmap made sense initially, but looking back I think it just adds a-lot of RAM and GC pressure for not a-lot of speed boost.

@matthewpeterkort matthewpeterkort changed the title [WIP] Implement Partitioning / Sectioning in Benchtop Tables Implement Partitioning / Sectioning in Benchtop Tables Dec 2, 2025
@matthewpeterkort matthewpeterkort merged commit f91b02e into main Dec 2, 2025
1 check passed
@matthewpeterkort matthewpeterkort deleted the upgrade/section_table branch December 2, 2025 23:09
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