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

Very slow on Windows. What's the reason? Only 5MB write speed per second #52

Open
54huige opened this issue Nov 23, 2022 · 1 comment
Open

Comments

@54huige
Copy link

54huige commented Nov 23, 2022

Very slow on Windows. What's the reason? Only 5MB write speed per second

@akrylysov
Copy link
Owner

akrylysov commented Nov 25, 2022

It might be due to the differences in mmap management between Windows and Unix. Can you try using the fs.OS file system instead of the default fs.OSMMap? You can set the FS when you open the database - pogreb.Open(path, &pogreb.Options{FileSystem: fs.OS}).

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

2 participants