mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
2022.5: Database optimizations
This commit is contained in:
parent
8236154ef1
commit
2d23ce8b72
@ -492,13 +492,6 @@ be summed up.
|
||||
|
||||
## Database optimizations
|
||||
|
||||
{% details "TODO" %}
|
||||
|
||||
- Add automatic monthly repacking to section?
|
||||
- Auto repack the database on the second sunday of the month ([@bdraco] - [#69314]) ([recorder docs]) (breaking-change) (noteworthy)
|
||||
|
||||
{% enddetails %}
|
||||
|
||||
The last release focused on reducing the size of the database and optimizing
|
||||
the writing of data to the database.
|
||||
|
||||
@ -520,7 +513,8 @@ We have made additional improvements to the history APIs to speed up retrieving
|
||||
from the database, reducing API response times by 15-35% on average.
|
||||
|
||||
Finally, we have reduced the memory used during database migrations to smooth
|
||||
future migrations.
|
||||
future migrations and are now automatically repacking your database once a
|
||||
month to keep things tidy.
|
||||
|
||||
[History Stats]: /integrations/history_stats
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user