On 29 March 2011 21:42, Jukka Zitting <[email protected]> wrote: > > Ryan Smith asked: >> Does Jackrabbit save a whole new separate copy of the file with the >> new changes in the DataStore, or are only the differences saved? > > Jackrabbit doesn't store deltas of changes, so a new copy is created if even > a single byte of a file has changed. The data store avoids creating new > copies during checkin only when the binary property is unmodified.
If you need compact, versioned storage of large binary files, you can roll your own versioning setup, and use a binary delta library. There's one alternative at http://sourceforge.net/projects/javaxdelta/ (disclaimer: I've been involved in creating this library). -- -Tor
