I made some extensive cleanup of my Google Drive and removed hundreds of thousands of files. However, my database file inside the .config/Insync
directory didn’t change a bit in size. It was still around 1GB(!).
I poked around in it and noticed that there was a flag removed
in the table gd_base_files
which was set for the files I had deleted. I then proceeded to remove all entries from other tables that referenced these files’ ids and the entries itself. After vacuuming the database, it now is only 75MB and Insync still works just fine.
But how is this supposed to work without human intervention? Will the database stay at 1GB and only grow further? Will the records of those long deleted files still be in that database? Why?