#Any issues in dev tools statistics

1 messages ยท Page 1 of 1 (latest)

ember kraken
#

Thoufght I'd thread instead.
OK I've "fixed" those issues" but it definitely looks like the recorder has gotten into a weird/bad state.

gaunt plume
#

not sure what that means

#

but if you dont mind deleting all your data you can always delete the database file

ember kraken
#

ah ok, I'm using PostgreSQL, so I probably need to shell in and delete the broken rows. Or you know. Just drop the DB. ๐Ÿ‘

gaunt plume
#

Ok, I recommend using the built in db because it is highly optimized to be used with HA

ember kraken
#

This definitely isn't a Pg error though. Which is good. Looks like some migrations didn't work for a particular set of entities. And they've got duplicate keys so I need to go remove them all

#

What about sqlite makes it highly optimized?

gaunt plume
#

no idea, im not a backend dev. But that's what the HA devs say all the time

ember kraken
#

Good to know.
It's probably because they spend a lot of time making sure it doesn't do things like wreck SD cards.

Which thankfully doesn't effect me given my, slightly over the top setup ๐Ÿ˜‚
I might just drop the recorder db and upgrade postgresql tomorrow.
I've removed about 20 rows and counting in the statistics table which were throwing unique constraint errors. And right now that's all down to one integration.

gaunt plume
#

yup, its developed with raspberry pi in mind since that's the majority of the users