jin
jin

Reputation: 265

couchbase can't store because too big

We are using python to store documents into couchbase.

we get this error message coming from couchbase.

_TooBigError_0x4 (generated, catch TooBigError): <Key=u'1426714751', RC=0x4[The object requested is too big to store in the server], Operational Error, Results=1, C Source=(src\multiresult.c,309)>

how can i change the maximum size?

i'm using couchbase python SDK version 2.0

Upvotes: 4

Views: 709

Answers (1)

David Ostrovsky
David Ostrovsky

Reputation: 2481

The maximum document size in Couchbase is 20MB for Couchbase buckets and 1MB for Memcached buckets. There's no way to change that, so if you're hitting this limit, you will need to change your data modelling to split up your documents into smaller objects.

Upvotes: 6

Related Questions