metadata.db-journal is a rollback journal for sqlite. If something goes wrong mid-change (e.g. power interuption - FAT32 filesystems were known for corrupting after them) it can restore and prevents things from breaking. It deletes itself when done.
Could be a number of things causing slowness. Overly complex composite columns needing to be calculated, a database that hasn't been vacuumed in a while, the drive being stored on a slow (or failing) hard drive.
Last edited by ownedbycats; 12-22-2020 at 07:24 PM.
|