This discussion is archived
0 Replies Latest reply: May 8, 2012 7:26 PM by 935209 RSS

Configure berkerly db more than one database

935209 Newbie
Currently Being Moderated
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!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points