Whats the recommended cache size?
The cache size should be large enough to hold at least the index tree in the cache. Currently, there’s no way to get the size of the index tree. A command line tool will soon be provided to extract information and statistics about a Database file, and this file will also print the index tree size. However, the default cache size (256kb, declared in src/config.h), is usually enough.