Compress MD file

szetheli+infinitekind's Avatar


04 Jul, 2010 07:14 PM

I'd like to make a suggestion to compress the MD files. With just a part of the data imported from the OFX files I've kept, the MD file is already close to 1 MB, and I suspect will exceed the 14 MB of my current MS Money file when it reaches parity of data. When I manually create a zip file of the MD file, it takes it down to 60 KB, so there is obviously a lot of repetitive data. This would reduce the amount of disk I/O needed to read/write the MD file at the cost of a little more CPU.

This should be a fairly straight forward addition to the MDV8 reader/writer using a GZIPInputStream/GZIPOutputStream, and testing the leading bytes of the stream to see if its been zipped. It could also be made optional similar to how encryption is managed as well.

  1. 1 Posted by Ben Spencer on 05 Jul, 2010 05:59 PM

    Ben Spencer's Avatar

    One of the aspects of the file format that moneydance uses that I really like is that it is human readable in a text editor, just as an XML file or and HTML file is. This is definitely an advantage from a support point of view and it makes the format relatively easy to import into other software, if our competitors choose to implement an import from Moneydance feature. Are you finding that loading and saving the file is taking an inordinately long time? I have spoken with users that have 40mb+ data files that open and save smoothly.

    Ben Spencer

  2. 2 Posted by szetheli+infini... on 06 Jul, 2010 12:00 AM

    szetheli+infinitekind's Avatar

    No problems. It was just a suggestion when I saw how quickly the file was growing and how good the compression ratio was. As a developer I can certainly see the advantages of being able to open the MD file and edit it directly.

  3. Ben Spencer closed this discussion on 06 Jul, 2010 05:29 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac