couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <>
Subject Re: Optimizing view building
Date Fri, 05 Jun 2009 22:05:46 GMT
On Fri, Jun 5, 2009 at 16:23, Nadav Samet <> wrote:

> Hi,
> I have a 600k documents in one database and building a view (with a trivial
> map function) takes about 40 minutes on a single core server. I was
> wondering if there's a way to tell how the time is divided between running
> the javascript map function and actually building the view.

The javascript runs in a separate process so you could watch the CPU time
for beam vs the couchjs process.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message