CouchDB 3.0 是否限制每个文档 8MB,包括文档的附件?

Does the CouchDB 3.0 8MB limit per document, include the attachments to the document?

我正在计划一个新项目,使用 CouchDB 3.0 作为数据库。每份文件将有一个或多个附件。我想尽可能地坚持 CouchDB 的默认设置。我担心的是 8MB 的文档大小包括该文档的附件。

在 3.0.x 分支的升级说明中说明如下:

The default maximum document size has been reduced to 8MB. This means that databases with larger documents will not be able to replicate into CouchDB 3.0 correctly without modification. This change has been made in preparation for anticipated hard upper limits on document size imposed by CouchDB 4.0. For 3.x, the max document size setting can be relaxed via the [couchdb] max_document_size config setting.

有人可以确认与文档大小限制相关的附件大小限制。

max_document_size 配置参数仅适用于文档,不适用于 附件。

这在 3.0 文档中关于配置参数 max_document_size

Limit maximum document body size. Size is calculated based on the serialized Erlang representation of the JSON document body, because that reflects more accurately the amount of storage consumed on disk. In particular, this limit does not include attachments.

强调