Ah ok. That's good to know. Ya, it would be helpful to be able to store 
files greater than 20 MB. I have no idea what size files my customers 
attach to their records. I know some use it to link to video files, 
although most link just to PDF, Word, and Excel files.

On Friday, June 5, 2015 at 4:09:39 PM UTC-6, Jens Alfke wrote:
>
>
> On Jun 5, 2015, at 2:55 PM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote:
>
> I know that attachments get stored in a folder along side the database 
> file (at least on iOS in CouchbaseLite), but I'm wondering what happens on 
> the server? 
>
>
> Sync Gateway does not store attachments as files. They’re stored in the 
> same Couchbase Server bucket (=database) as the documents. This isn’t an 
> ideal solution either, as it limits their size to  20MB, but there are no 
> scalability issues.
>
> Eventually we plan to have Sync Gateway use an external filesystem for 
> attachments, but it’ll be a distributed filesystem (possibly CBFS 
> <https://github.com/couchbaselabs/cbfs>) that can scale to the capacity 
> we need.
>
> —Jens
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/8aff09e4-a78b-4aba-8f98-f577cb0740c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to