core/homeassistant/components/sql
J. Nick Koston 8096be768d
Isolate the sql integration with a separate query cache (#90438)
* Isolate the sql integration with a seperate query cache

If there were a lot of sql integrations they could affect
the performance of the recorder/logbook/history since they
were sharing the same LRU and since the sql sensor updates
frequently it would evict the recorder queries from the
LRU.

* generate in stmt

* avoid double gen

* Revert "avoid double gen"

This reverts commit 6a5aa65268.
2023-03-28 23:54:03 -04:00
..
__init__.py Default to recorder db for SQL integration (#85436) 2023-03-13 17:41:32 -10:00
config_flow.py Default to recorder db for SQL integration (#85436) 2023-03-13 17:41:32 -10:00
const.py
manifest.json Bump sqlalchemy to 2.0.7 (#90256) 2023-03-25 07:05:35 -10:00
sensor.py Isolate the sql integration with a separate query cache (#90438) 2023-03-28 23:54:03 -04:00
strings.json
util.py Default to recorder db for SQL integration (#85436) 2023-03-13 17:41:32 -10:00