The recorder backlog queue reached the maximum size of

There are many posts about this over the years and so far zero solid fixes.
Im working my way through one such fix and encountering many issues.
Some of my graphs also show the wrong time from time to time so there may be some connection to the GST issue mentioned by other posters.

Im trying to open the database in DB browser to see which entity is flooding the database and causing this issue, the problem is the database was replaced on reset and the old one has a ‘.db.corrupt.2323…’ file format that is too long for windows to rename or move or even compress.
It’s right there but I cant access the damn thing via samba.
I’ve tried pulling the SD card and accessing directly but the config folder isn’t directly accessible.
Oh Joy!

The issue stems from:
“The recorder backlog queue reached the maximum size of 330039 events; usually, the system is CPU bound, I/O bound, or the database is corrupt due to a disk problem; The recorder will stop recording events to avoid running out of memory.”

latest version of hassio on a RPi4.