I am using a Berkeley DB to store information for a web crawler I am building. However none of my database information is being saved between sessions!
When I start the application, count() on every DB returns 0. At the end of the session, before exiting, I print the count() for each DB and it has changed appropriately however it is "reset" when I run the program again... why is this happening?
Also, I am choosing not to use Transactions as I am a single user and I will not be running the program in multi-threaded environments.
The answer was to use transactions and call transaction.commit() after put requests. Still not sure how to make it save with transactions disabled.