On Jul 29, 2013, at 7:34 PM, Manokaran K <[email protected]<mailto:[email protected]>> wrote:
It is better to store it as an attachment to take advantage of CouchDB's replication features. If you only store the path then you have to sync the files yourself. On the other hand, attachments are stored inside the database file, so during compaction they have to be copied into the new file. This isn't usually a big deal, but if you have a lot of big attachments, they can slow down compaction. (For example, storing your 100GB MP3 library as attachments is probably not a good idea.) —Jens
