hass-core/homeassistant/components/recorder
J. Nick Koston d1ee303e85
Drop duplicated indices from recorder database schema (#89613)
Drop duplicated indices from schema

https://docs.percona.com/percona-toolkit/pt-duplicate-key-checker.html

```
% pt-duplicate-key-checker --databases fresh

ALTER TABLE `fresh`.`events` DROP INDEX `ix_events_event_type_id`;

ALTER TABLE `fresh`.`states` DROP INDEX `ix_states_metadata_id`;

ALTER TABLE `fresh`.`statistics` DROP INDEX `ix_statistics_metadata_id`;

ALTER TABLE `fresh`.`statistics_short_term` DROP INDEX `ix_statistics_short_term_metadata_id`;

```
2023-03-13 09:24:57 +01:00
..
history Mark database sessions that do not write data as read_only (#89600) 2023-03-12 21:33:28 -04:00
models Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
system_health Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
table_managers Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
__init__.py Increase default recorder commit interval to 5 seconds (#86115) 2023-01-21 18:09:00 -10:00
backup.py
const.py Load pending state attributes and event data ids at startup (#88444) 2023-02-19 21:26:38 -05:00
core.py Improve reliability of context id migration (#89609) 2023-03-12 21:41:48 -04:00
db_schema.py Drop duplicated indices from recorder database schema (#89613) 2023-03-13 09:24:57 +01:00
executor.py Code styling tweaks to the recorder integration (#86030) 2023-01-16 19:51:11 +01:00
filters.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
manifest.json Bump sqlalchemy to 2.0.5post1 (#89253) 2023-03-06 20:20:37 -05:00
migration.py Drop duplicated indices from recorder database schema (#89613) 2023-03-13 09:24:57 +01:00
pool.py Upgrade SQLAlchemy to 2.0.2 (#86436) 2023-02-08 08:17:32 -06:00
purge.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
queries.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
repack.py
run_history.py Ensure recorder still shuts down if the final commit fails (#87799) 2023-02-09 15:12:40 -06:00
services.py
services.yaml
statistics.py Mark database sessions that do not write data as read_only (#89600) 2023-03-12 21:33:28 -04:00
strings.json Add a repair issue when using MariaDB is affected by MDEV-25020 (#87040) 2023-01-31 20:42:07 +01:00
tasks.py Improve reliability of context id migration (#89609) 2023-03-12 21:41:48 -04:00
util.py Mark database sessions that do not write data as read_only (#89600) 2023-03-12 21:33:28 -04:00
websocket_api.py The recorder/statistic(s)_during_period websocket API now require the statistic_id(s) field (#87937) 2023-02-12 14:51:10 -06:00