0

I am using Fauxton on Apache CouchDB, version 2.3.1.

Next to the # of Docs field for my _replicator db, there is an exclamation point. When I hover over it, it says: This database has just 4 docs and 5 deleted docs.

Here is a screenshot of what I'm seeing.

Screenshot of exclamation

The replicator DB does have 4 docs inside (_design/_replicator doc + 3 replication configs).

I can't find this warning mentioned in the CouchDB docs anywhere. What does it mean, and is it a bad thing?

4

1 回答 1

2

它是数据库信息的一部分(请参阅 doc_del_count)。基本上,当您删除文档时,数据库中会保留一个墓碑,以便复制协议可以正确同步文档。

你不应该担心这个。一旦压缩,墓碑只保留非常少的不影响性能的信息。

如果由于某些原因您需要删除_deleted文档,您可以清除它们或对_deleted文档进行过滤复制。

于 2020-02-25T04:25:35.147 回答