I\'m looking for a dbm-like library that I can use in place of Berkeley DB, which I\'m currently using. My main reason for switching is the licensing fees for BDB are pretty hig
If you are on Windows then you can use the builtin esent database engine. http://blogs.msdn.com/windowssdk/archive/2008/10/23/esent-extensible-storage-engine-api-in-the-windows-sdk.aspx
You could try JDBM. It is a free (Apache 2) key-value store with disk persistence. Simple API and high performance
You could look at Tokyo Cabinet. Its the successor to qdbm/gdbm, and if you decide to scale has a nice network front-end available.
Edit:
Another variant is Kyoto Cabinet; developed by the same person, but supposedly easier to use.
Postgres or HSQLDB and possible even H2 database
db4o is pretty cheap and fast but it can only be used with java or .net