【问题标题】:couchbase can't store because too bigcouchbase 不能存储,因为太大了
【发布时间】:2015-04-23 10:14:08
【问题描述】:

我们正在使用 python 将文档存储到 couchbase 中。

我们从 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)>

如何更改最大尺寸?

我正在使用 couchbase python SDK 2.0 版

【问题讨论】:

  • @Carsten Couchbase 2.2.0 document size editing limit 正在谈论 UI 限制。这是 SDK 和服务器之间数据路径的限制。
  • @Paddy 对不起,我的错。我撤回了我的密切投票。感谢您清除它。

标签: python couchbase


【解决方案1】:

Couchbase 中的最大文档大小为 20MB(对于 Couchbase 存储桶)和 1MB(对于 Memcached 存储桶)。没有办法改变它,所以如果你达到了这个限制,你需要改变你的数据建模来将你的文档分成更小的对象。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-03-14
    • 1970-01-01
    • 1970-01-01
    • 2023-03-24
    • 1970-01-01
    • 2020-05-10
    • 2010-12-22
    相关资源
    最近更新 更多