From 4f4053ecf72a4aac6ecd68124dd9c806acb1595b Mon Sep 17 00:00:00 2001 From: akasma74 Date: Thu, 20 Feb 2020 12:32:13 +0000 Subject: [PATCH] Add note about impact on SD cards (#11881) * add note about impact on SD cards because people need to be informed * :pencil2: Tweak wording Co-authored-by: Franck Nijhof --- source/_integrations/recorder.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_integrations/recorder.markdown b/source/_integrations/recorder.markdown index d51267a6898a..5c643213c550 100644 --- a/source/_integrations/recorder.markdown +++ b/source/_integrations/recorder.markdown @@ -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/). +
+ +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). + +
+ 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`.