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.
file hash cache, delete only older hashes?
- DigitalVolcano
- Site Admin
- Posts: 1866
- Joined: Thu Jun 09, 2011 10:04 am
Re: file hash cache, delete only older hashes?
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...
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?
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!
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!