How can I tune hamsterdb for performance?
When opening (or creating) a Database, the following flags will tune hamsterdb for maximum performance: • HAM_DISABLE_FREELIST_FLUSH Do not immediately write back modified freelist pages. Using this flag leads to small performance improvements, but may prove to be risky in case of a system crash or program crash. • HAM_IN_MEMORY_DB Creates an In-Memory Database. No file will be created, and the Database contents are lost after the Database is closed.