couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdr53x <>
Subject Re: How to speedup view generation?
Date Thu, 04 Nov 2010 17:14:03 GMT
On 11/04/2010 05:24 PM, Anand Chitipothu wrote:
> Yes, it is due is IO.
It would be interesting to check if it's the system IO that stucks or is 
it something in the way the IOs are performed by couch.

> I decided to generate the view by feeding the data directly to the map
> function and it took about an hour to generate the view for entire 14M
> docs. I sorted it, ran reduce and saved the results in another couchdb
> database. That was quite faster. I could finish the whole process in
> less than 10 hours.
  What do you mean by "feeding the data to the map function" ?



View raw message