couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: blocking during view generation
Date Mon, 21 Mar 2011 18:05:41 GMT
On Mon, Mar 21, 2011 at 1:24 PM, Mark Hahn <> wrote:
> I have noticed that all view queries are blocked for some time when I just
> change one view.  This seems like it is going to be a serious problem when
> my db grows.  Is there someway to avoid this in production?  I've never seen
> mysql or any other db block for any reason.

Also of note is that the updates are grouped at the _design/doc level,
so if you want to update some subset of views individually you just
need to split them amongst a set of _design/docs. There's also a
scheme that lets you create a temporary _design/doc that can be moved
over top of the existing version to have quickly updated views, but
this approach requires you to have the disk capacity to have both
versions built on disk simultaneously.

View raw message