Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.71k stars 276 forks source link

Too much "fat" .kdbx even after things are deleted #1559

Closed serrq closed 1 year ago

serrq commented 1 year ago

Six months ago I saved a heavy database (a zip file backup by SimpleX Chat) as attachment in KeePassDX. It was like 80 mb.

After I delete it, the KeePassDX .kbdx file has lost little weight, so I have a fat .kbdx with no heavy attachments within. My .kdbx is now about 120mb.

How to slim down it? Does it exists a vacuum function in order to remove the unused database spaces and compress it?

J-Jamet commented 1 year ago

Settings - Database settings - Remove unlinked data

serrq commented 1 year ago

Settings - Database settings - Remove unlinked data

You are a genius! From 130mb to 59mb with this action. I have to control only all is ok inside.