Ben Johnson
Ben Johnson
Oh, sorry, I misread the code. I didn't realize you were already using `Cursor.Delete()`.
Unfortunately there's not a built-in way to compact a database. You can write a simple program to iterate over buckets from a source database and copy them over to a...
@cpalone It'd be nice to do a recursive copy of every bucket instead of simply using `Tx.WriteTo`. That would eliminate an excessive free pages. You can do a simple version...
@funny-falcon That's correct. Given a page ID there's no way to find it's parents without looking through all the branches. Although branch data tends to be relatively small. You could...
The goal is to add a `bolt shrink` command to the CLI tool but I haven't had the time so far. Feel free to open a pull request for it...
@vincent-petithory Ah, I'm sorry! I'll take a look and review it. I'm sorry I missed it.
@zippoxer Are you using a lot of buckets? Each bucket requires at least one full page regardless of how much data is inside. I agree that 5x the size of...
@zippoxer Do you have example code that reproduces the issue?
@djherbis We hit the same limit on the CI, drone.io. Some of the tests do long running randomized tests. You can run a subset of the tests by using the...
With #453 and #472 merged in, you can set `InitialMmapSize` to a high number (e.g. 1TB) and it'll only `mmap` once. Then you won't have an issue with transactions blocking...