-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Separate attrs into another table (reduces database size) #68224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
bd97dcc
Separate attrs into another table
bdraco aafcea4
tweak
bdraco 3d5395c
tweak
bdraco 9ed711f
fix queries
bdraco 9ae17de
adjust
bdraco 38e92ab
tweak
bdraco 386455f
tweak
bdraco 0e1c41b
fix purge
bdraco 2220099
Update homeassistant/components/recorder/purge.py
bdraco 36b5235
fix purge
bdraco e9f141d
Merge branch 'state_attr_table_poc' of github.com:bdraco/home-assista…
bdraco f766fa7
fixes
bdraco 3b96923
wip
bdraco 684a7a8
group_by is faster
bdraco a1e869d
Update homeassistant/components/recorder/purge.py
bdraco 5f85dba
Update homeassistant/components/recorder/purge.py
bdraco 3f07757
Update homeassistant/components/recorder/purge.py
bdraco 05d865f
naming
bdraco 6b9ed3d
naming
bdraco 8862804
naming
bdraco 6d29401
Update homeassistant/components/recorder/purge.py
bdraco 5e10ac2
test fixes
bdraco 22e10a0
test fixes
bdraco 80e9c65
Merge branch 'state_attr_table_poc' of github.com:bdraco/home-assista…
bdraco d23968b
fix
bdraco 8df930a
Update homeassistant/components/recorder/history.py
bdraco 1064e65
Update homeassistant/components/recorder/history.py
bdraco 2b53921
Update homeassistant/components/recorder/history.py
bdraco ceacc24
Update homeassistant/components/recorder/history.py
bdraco 91d85f9
Update homeassistant/components/recorder/history.py
bdraco cdd2731
Update homeassistant/components/recorder/history.py
bdraco 709cabe
Update homeassistant/components/recorder/util.py
bdraco 6d7c648
purge tests
bdraco b218137
fix purge entities
bdraco 52c7120
fixes
bdraco 6d98163
fixes
bdraco 9e905d2
fixes
bdraco d7751e5
comments
bdraco 3410cb6
handle broken json
bdraco 198319e
tweak messages
bdraco 8f6f360
refactor
bdraco d22c4ef
tweaks
bdraco 4ee5d10
small cleanups
bdraco f03ea54
fix mysql
bdraco 6c9b696
fix refactoring error
bdraco 3d2f431
fix plant tests
bdraco b1a0c67
fix
bdraco 37e533e
Merge branch 'dev' into state_attr_table_poc
bdraco 1bc48c2
Update homeassistant/components/statistics/sensor.py
bdraco 33c18ec
coverage
bdraco 97a4a1d
more cover
bdraco 8401212
revert empty context change
bdraco d8bf27b
ensure length is 20
bdraco a2ad0ac
Update homeassistant/components/logbook/__init__.py
bdraco dd5f0a9
Update homeassistant/components/plant/__init__.py
bdraco aae19cb
Update homeassistant/components/recorder/models.py
bdraco fa2a7ef
delete ENABLE_LOAD_HISTORY
bdraco d7c5e58
Add comment about _state_attributes_ids LRU size
bdraco c4f31a8
add coverage for missing line in logbook
bdraco 762c015
add coverage to make sure states without attributes_id are purged cor…
bdraco 79e3cc6
Update homeassistant/components/statistics/sensor.py
bdraco 54b3160
Merge branch 'dev' into state_attr_table_poc
bdraco File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.