Home-assistant_v2.db adds tables 'states_temp_1234567890'

Hi
I have a problem with my home-assistant_v2.db database, which grows…
Currently around 26GB, and my home-assistant_v2.db-wal mostly around 13GB.

I have noticed that my home-assistant_v2.db table-list increases with tables called ‘states_temp_1234567890’ (timestamp I guess).
Have tried to delete these, but thety slowly comes again.

Suspect there is something corrupt in the DB, but don’t know how to fix/repair.

Running on VM in proxmox.

Any suggestions?