What is MapDB in java

Published on Author bloggerfive

MapDB is fast and easy to use embedded Java database engine

Problem

Storing large objects such as maps , lists or queues in memory ( e.g.: rules engines ) can result in bloating up the memory.

Solution

MapDB provides a simple and easy way to serialize data structures to disk (Off-Heap-Memory (Disk based storage)) and avoid memory problems. Even though there are various options available for this purpose  BerkeleyDB,  LevelDB Port, HSQLDB ;
what stands out in MapDB is its simplicity and ease of integration.

MapDB works on Android just fine, is Java 6 compatible and does not use any undocumented stuff.

Advantages

  •     Low disk-space usage
  •     Flexible
  •     Finest alternative to SQL like

Further Reading
http://www.mapdb.org/

Comments

comments