增加 Cloudant 中的文档大小

Increase document size in Cloudant

我在 Cloudant 中存储了大量 JSON 数据。我看到 docs

有 10mb 的请求限制和 1mb 的文档限制

我需要提高此限制但没有成功。我尝试通过 curl 调用 _session 端点并使用令牌通过

发送来检索 AuthSession
curl -X PUT "https://cloudanthost.cloudantnosqldb.appdomain.cloud/_node/_local/_config/couchdb/max_document_size" \
-d "4294967296" \
--cookie "AuthSession=NzNmMTAyNTUtNTFiMy00MmFlLTk1MDItMmFmYmY3NjI5MjFmLWJsdWVtaXg6NUNDQ0RCMDc6rVSibzKdb2l2x0LFSQHhA9YmGc0" \
-H "X-CouchDB-WWW-Authenticate: Cookie" \
-H "Content-Type:application/x-www-form-urlencoded"

这个returns

{
  "error":"forbidden",
  "reason":"server_admin access is required for this request"
}

有没有人成功提高了这些限制或被阻止了?

抱歉 - 这是一个硬性限制,出于充分的理由无法更改。要以最佳方式使用 Cloudant,请坚持使用小文档。需要大于限制的文档表明存在数据模型问题,或者 Cloudant 不适合您的用例。