Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Couchbase document size is just 2.5KB?

Tags:

couchbase

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?

like image 418
Prakash Thapa Avatar asked Jan 08 '14 11:01

Prakash Thapa


People also ask

How do I find the size of a document in couchbase?

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.

Is couchbase document based?

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.

What is document in couchbase?

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.


1 Answers

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.

like image 164
Praba Karan Avatar answered Sep 21 '22 23:09

Praba Karan