openhab-addons/bundles/org.openhab.persistence.mapdb
Wouter Born 8a7a411ccc
Use Spotless sortpom plug-in (#18318)
Similar to openhab/openhab-core#4618

Signed-off-by: Wouter Born <github@maindrain.net>
2025-02-23 20:23:16 +01:00
..
src Fix mapdb after core change (#18285) 2025-02-18 22:16:04 +01:00
NOTICE
README.md [mapdb] Fix "a" typo and use "-" for bullets in docs (#13966) 2022-12-16 11:22:48 +01:00
pom.xml Use Spotless sortpom plug-in (#18318) 2025-02-23 20:23:16 +01:00

README.md

MapDB Persistence

The MapDB persistence service is based on a simple key-value store that only saves the last value. MapDB is useful for restoring items that have the restoreOnStartup strategy because other persistence options have some drawbacks if only the last value is needed on restarts.

Some disadvantages of other persistence services compared to MapDB are that they:

  • grow in time
  • require complex installs (influxdb, jdbc, jpa)
  • rrd4j cannot store all item types (only numeric types)

It is only possible to query the last value and not other historic values because the MapDB persistence service can only store one value per item.