CouchDB delay building index (CouchDB 1.5.0 on Windows Server 2008 R2)

前端 未结 2 439
失恋的感觉
失恋的感觉 2021-01-19 20:31

I understand that CouchDB hashes the source of each design documents against the name of the index file. Whenever I change the source code, the index needs to be rebuild. Co

相关标签:
2条回答
  • 2021-01-19 21:13

    It is possible to set os_process_limit to an extra-low value (1 sec, for sample). This way you can detect which doc takes long to be indexed and optimize your map function for performance.

    0 讨论(0)
  • 2021-01-19 21:21

    It is a known issue, but just in case: if you have gigabytes of docs, you can forget about reduce functions. Only build-in ones will work fast enough.

    0 讨论(0)
提交回复
热议问题