The default documents size allowed is just 2.5KB what is the reason for that? I found answer how to increase it, are normally documents are less than 2.5KB?
You can use the couch_dbdump command (in /opt/couchbase/bin ) to dump the couchstore files on disk - that will show you the "real" size and compressed size for each document.
Couchbase is a feature rich NoSQL document database that is most certainly production ready. With the ability to use a flexible JSON data model and advanced querying and tooling, Couchbase becomes a perfect database for almost any scenario.
Couchbase is a distributed document database with a powerful search engine and in-built operational and analytical capabilities. It brings the power of NoSQL to the edge and provides fast, efficient bidirectional synchronization of data between the edge and the cloud.
2.5 KB size limit is only for web console based CRUD operations and not for rest based CRUD operations
To increase the size limit open the document
/opt/couchbase/lib/ns_server/erlang/lib/ns_server/priv/public/js/documents.js
search for docBytesLimit
in the document, its value will be 2500
, change it to the value you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With