couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Cottlehuber <>
Subject Re: view creation followed by compaction?
Date Mon, 10 Sep 2012 14:01:07 GMT
On 10 September 2012 14:51, Tim Tisdall <> wrote:
> Is there a way to request a view creation/update and then have it
> compact immediately afterwards?

No, these are separate things - view creation/update is triggered by
querying the outdated or non-existent view, and can be done by a
non-authenticated user.

Compaction requires you to have admin privileges and has a separate API.

So if you need this, you'll need to organise the one-two yourself.
Bear in mind that both view creation and compaction consume both cpu &
io (duh!) and may take a while to complete. Careful testing advised!


View raw message