[Date Prev][Date Next] [Chronological] [Thread] [Top]

LMDB file size, again

following up to my previous question regarding file size, I would like to ask about the recommended approach:
1. set a low file size initially, watch for MDB_MAP_FULL return codes and increase the file/map size stepwise as needed
2. choose a large file size and reduce the size by doing a mdb_copy when the application shuts down
or maybe a combination of the two? How does SQLightning handle this (2. doesn't sound practical)?