Does pouchdb leave deleted tombstones like couchdb does?

旧城冷巷雨未停 提交于 2019-12-24 03:34:16

问题


I have a hybrid app that generates a lot of tombstones on couchdb. About 100,000 a month on the server. Each user should be getting about 4 a day. Does Pouchdb maintain tombstones? Or do they get compacted or purged? Or is there a command to do that? Or do I have to drop the database and recreate periodically?

Thanks


回答1:


Pouchdb does keep a tombstone when deleting a document.

Purge is not available yet for PouchDB so the only way to completely deletes documents is by deleting the local database.



来源:https://stackoverflow.com/questions/48425194/does-pouchdb-leave-deleted-tombstones-like-couchdb-does

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!