Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I'm starting a clean up process that will take care of some of the bloat in the positions table. I'll share the query that AI helped with It was recommended to do a VACUUM ANALYZE and a REINDEX TABLE after all was done with. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I noticed a while back my drive detail queries were very slow. I peeked into the db and saw my positions table was over 19million rows!


I've been logging since Oct 2022 and then added another Tesla in 2024. I went deeper and got queries on the number of positions rows per month and noticed something jumped in Jan 2025
Can someone give ideas on why this happened at that point?
I also have a screenshots of a random day and it shows a drive with multiple positions per second of a drive.
I had thought that the drive would only allow a data point every 2.5 seconds or longer by default.
I am running Teslamate 3.0.0 and my Tesla Account does not have any other 3rd Party Access granted
Beta Was this translation helpful? Give feedback.
All reactions