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

Fully support FatTuple and adaptive version storage #131

Open
Tracked by #89
zz-jason opened this issue Sep 8, 2024 · 0 comments
Open
Tracked by #89

Fully support FatTuple and adaptive version storage #131

zz-jason opened this issue Sep 8, 2024 · 0 comments

Comments

@zz-jason
Copy link
Owner

zz-jason commented Sep 8, 2024

Enhancement

Currently, only ChainedTuple is supported, which stores old versions to separate B+ trees, one for removal, and one for update.

For heavily updated tuples, storing old versions in separated B+ trees causes extra overhead on retrieving versions in removal or update B+ trees when getting visible tuples for update/lookup transactions or MVCC GC.

FatTuple stores all versions on the same page, which trades off space for performance. Based on the workload, we can adaptively transform the version storage for a tuple between off-row (ChainedTuple) and in-row (FatTuple).

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

No branches or pull requests

1 participant