I am now trying to write an application, I use berkerly db java edition.
now I want two database to save different thing, since the memory is limited,one database's data should all be in memory, the other database can do disk I/O. should I use two environment and create the two database separately or I create the two database in the same environment, which one is more effective and can save more memory.
Chould anyone tell me how to configure the two database(like the cache size) using some sampling code... Thanks a lot!