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

前端 未结 2 440
失恋的感觉
失恋的感觉 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.

提交回复
热议问题