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

feat: switch to file io and shrink tables #83

Merged
merged 1 commit into from
Mar 28, 2020
Merged

feat: switch to file io and shrink tables #83

merged 1 commit into from
Mar 28, 2020

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Mar 28, 2020

It's actually 4x faster when reading, on my system. But that may just be because I use BTRFS + SSDs? I'm really not sure.

It's actually _faster_ (4x) when reading, on my system. But that may just be
because I use BTRFS + SSDs? I'm really not sure.
@Stebalien Stebalien changed the title feat: switch to file io by default feat: switch to file io and shrink tables Mar 28, 2020
@Stebalien
Copy link
Member Author

@willscott I further reduced memory by reducing the table size. From what I can tell, this just changes how much data is buffered in memory before flushing. It does not appear to hurt performance (at least on my machine) and significantly reduces memory usage.

@Stebalien Stebalien merged commit b608e4f into master Mar 28, 2020
@Stebalien Stebalien deleted the feat/fileio branch March 28, 2020 03:05
@hsanjuan
Copy link
Contributor

hsanjuan commented Apr 1, 2020

DefaultOptions.Options.ValueLogLoadingMode = options.FileIO

It's actually 4x faster when reading, on my system

This is counter-intuitive, I wonder how much it depends on read patterns.

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.

3 participants