Page 1 of 1
file hash cache, delete only older hashes?
Posted: Sat Jul 20, 2024 11:30 am
by StefanDE
My file hash cache DuplicateCleaner5_Pro_Cache-MD5.data is getting too big - very fast. More than 1.5 GB at the moment!
But I don't want to clear the cache completely every time.
Is there a way to delete only data, which are older than e.g. a month?
Keeping only the latest few weeks of data, that is.
Re: file hash cache, delete only older hashes?
Posted: Sun Jul 21, 2024 11:44 am
by DigitalVolcano
There isn't any way to do this within the program. Also, it doesn't store the date the hash was created.
The cache files are SQLite databases. If you are happy with getting technical you can load them into a program such as
https://sqlitebrowser.org/
Entering an SQL command such as VACUUM may reduce the file size. You could also delete older (by ID) file records.
It's on the work-list for version 6 to make the cache files smaller by not storing the entire path for each file...
Re: file hash cache, delete only older hashes?
Posted: Wed Jul 24, 2024 8:49 pm
by StefanDE
Thanks, but it is not about the file size.
It's about the time it takes to add more hashes, the bigger the file gets.
Even on an i9 13th gen. machine with 96 GB of RAM it takes several minutes when e.g. 1,000 new duplicate hashes need to be added.
Deleting older (by ID) file records is something I should consider.
Thanks!