Impose custom size limit on documents of Ephemeral buckets



As per documentation, max size of a document is 20 MB for Ephermeral buckets.

Can this be altered say 10MB ? Is there any configuration which allows the client to impose restriction of the size of document ? Or server configuration for that matter?

Thanks in advance.


Hi @ravikrn.13,

You could certainly place some client-side checks before an Insert/Update/Upsert operation is executed, but even then it could be worked around with subdocument operations or UPDATE statements by any developer who was determined enough to get around the limit.

I don’t believe there is a way to configure this on the server side (without compiling your own version of Couchbase).