Update persistence.md (#1737) (#1738)

Make clear that openHAB ships with RRD4J installed and running by default.
Make clear that the default persistence service is used by charts and rules.

Co-authored-by: digitlength <62958838+digitlength@users.noreply.github.com>
pull/1740/head
github-actions[bot] 2022-01-15 10:14:45 +01:00 committed by GitHub
parent b595f64edb
commit e99e05f45b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,8 @@ title: Persistence
openHAB can store data over time; this is known as persistence.
The data may be retrieved at a later time, for example to restore your system after startup, or to prepare graphs for display on a UI.
openHAB ships with the [rrd4j persistence service](addons/persistence/rrd4j/) installed by default, which persists every Item on every state change and at least once a minute. Additionally, it restores the last stored value at system startup. To change this behaviour see [Persistence Configuration](#persistence-configuration).
openHAB persists Item states in a database, and most popular databases are supported.
You may have more than one persistence add-on loaded, and each of these may be configured independently.
@ -17,8 +19,7 @@ Please refer to the [available persistence service add-on](/addons/#persistence)
## Default Persistence Service
It is important to select a default persistence service.
You should do this even if you have only one persistence add-on installed.
You should configure a default persistence service even if you have only one persistence add-on installed. The default persistence service is used to provide data for the UI charting features and rules (you may choose to use another persistence service in either of these, configured on a case-by-case basis).
To select a default persistence service, in UI, select `Settings->Persistence`.
Select your default service from the drop-down list.