View Single Post
Old 07-11-2013, 10:26 PM   #42
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DoctorOhh View Post
Rumor has it that at some point before Calibre 0.4, when it was still known as libprs500 (pre 2008) the database of books was completely obfuscated and was changed to the open directory format we know today based on user input.
Originally, there was no directory structure, both the metadata and the files themselves were stored in the db. This was changed for the following reasons:

1) Performance of incremental backups with large libraries
2) The ability to have read-only access to your ebook files via the file system, if needed.
3) Robustness - database corruption now only leads to loss of metadata and even that can be recovered via the OPF files.
4) Large file limitations. Depending on file system and OS a single file can sometimes be restricted to a few GB in size.
kovidgoyal is online now   Reply With Quote