Skip to content

Commit

Permalink
Add note about impact on SD cards (home-assistant#11881)
Browse files Browse the repository at this point in the history
* add note about impact on SD cards

because people need to be informed

* ✏️ Tweak wording

Co-authored-by: Franck Nijhof <[email protected]>
  • Loading branch information
akasma74 and frenck authored Feb 20, 2020
1 parent 6d93518 commit 4f4053e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/_integrations/recorder.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ ha_quality_scale: internal

The `recorder` integration is responsible for storing details in a database, which then are handled by the [`history` integration](/integrations/history/).

<div class='note'>

This integration constantly saves data. If you use the default configuration, the data will be saved on the media Home Assistant is installed on. In case of Raspberry Pi with an SD card, it might affect your system's reaction time and life expectancy of the storage medium (the SD card). It is therefore recommended to store the data elsewhere (e.g., another system) or limit the amount of stored data (e.g., by excluding devices).

</div>

Home Assistant uses [SQLAlchemy](https://www.sqlalchemy.org/), which is an Object Relational Mapper (ORM). This means that you can use **any** SQL backend for the recorder that is supported by SQLAlchemy, like [MySQL](https://www.mysql.com/), [MariaDB](https://mariadb.org/), [PostgreSQL](https://www.postgresql.org/), or [MS SQL Server](https://www.microsoft.com/en-us/sql-server/).

The default database engine is [SQLite](https://www.sqlite.org/) which doesn't require any configuration. The database is stored in your Home Assistant configuration directory (`.homeassistant` or '/config/' in Hass.io) and called `home-assistant_v2.db`.
Expand Down

0 comments on commit 4f4053e

Please sign in to comment.