Menu

KeePass KDBX file size almost doubled

Help
X-Byte
2016-09-12
2016-09-15
  • X-Byte

    X-Byte - 2016-09-12

    After installing KeePass 2.34 and making a minor modification to a single entry and saving the database, the file size of the kdbx database increased from 3.7MB to 5.3MB
    I wouldn't mind for a local database, but as this is hosted in the cloud and all my mobile devices regularly download this file using mobile data, this is not really an improvement.
    I tried it with the previous (small) kdbx again, did some other modifications and ended up with the same 5.3MB file.
    Why is that?

     
  • Ethan Weegee

    Ethan Weegee - 2016-09-12

    Try doing the exact same thing on an older version of KeePass (Such as the one you were using) and see what file size it makes it. If that does not increase the file size, try doing the exact same thing on the new version of KeePass on the larger file and see if it increases dramatically again.
    Most likely the cause is that the new KeePass had to put extra information in the database, expanding it's size. But don't worry - 5 MB is not a lot.

     
  • Paul

    Paul - 2016-09-12

    Was the change to an entry containing an attachment? If so you will have a history item containing the attachment, so you now have 2 attachments. To minimize this issue change the database properties to keep history items to a minimum. File > Database Settings > Advanced.

    cheers, Paul

     

    Last edit: Paul 2016-09-12
  • X-Byte

    X-Byte - 2016-09-13

    I synchronized the current version (big file) with the old version (smaller file), saved the databse and ended up with the small size again. All entries which I modified in between seem to be up to date.
    I cannot determine what caused the file size explosion - for now it seems fine again.
    Howver, thank you all for the suggestions.

     

Log in to post a comment.

MongoDB Logo MongoDB