Dear Esteemed Monks,
I am looking for a way to create a BerkeleyDB cache file more quickly.
For example, I have a ~70MB cache with ~500_000 keys. On a machine with quick disk access it will build in about a minute but on a slow disk it can take quite a while.
I'm building the cache from a a Storable file FYI. I just want to turn the stored data structure into a BDB cache file as quickly as possible.
Is there possibly a way to build the entire cache in memory to avoid intermediate disk writes, then write the whole thing out to disk just once when it's done? Or any other solution would be fine.
Thanks in advance!
In reply to Build a BDB cache quicklier by bennymack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |