2022.5: Database optimizations

This commit is contained in:
Franck Nijhof 2022-05-03 18:47:58 +02:00
parent 8236154ef1
commit 2d23ce8b72
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -492,13 +492,6 @@ be summed up.
## Database optimizations ## 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 last release focused on reducing the size of the database and optimizing
the writing of data to the database. 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. from the database, reducing API response times by 15-35% on average.
Finally, we have reduced the memory used during database migrations to smooth 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 [History Stats]: /integrations/history_stats