couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Sharding question for clustered CouchDB 2.0
Date Mon, 25 Jul 2016 14:58:59 GMT

> On 25 Jul 2016, at 16:35, Peyton Vaughn <pvaughn@6fusion.com> wrote:
> 
> I'm afraid I must echo Teo's question: how do I run compaction at the shard
> level?
> 
> Fauxton lists all of my shards as:
> 
> shards/00000000-1fffffff/_global_changes.1469456629 This database failed to
> load.
> 
> So interaction there doesn't seem to be an option.
> I attempted to use curl, as outlined in the documentation:
> 
> curl -XPOST  http://localhost:15984/????/_compact
> 
> But I cannot figure out the correct database name to provide. All of my
> attempts result in a "not_found" or a "illegal_database_name" error
> returned.

The answer is the same, quoth @rnewson:

> You'll need to do so on port 5986, the node-local interface. 

That is [1-3]5986 in your dev cluster case.

Best
Jan
-- 

> 
> peyton
> 
> 
> 
> On Sat, Jul 23, 2016 at 2:32 PM, Robert Newson <rnewson@apache.org> wrote:
> 
>> You'll need to do so on port 5986, the node-local interface.
>> 
>> Sent from my iPhone
>> 
>>> On 23 Jul 2016, at 07:15, Constantin Teodorescu <brailateo@gmail.com>
>> wrote:
>>> 
>>>> On Sat, Jul 23, 2016 at 12:47 AM, Robert Newson <rnewson@apache.org>
>> wrote:
>>>> 
>>>> Are you updating one doc over and over? That's my inference. Also you'll
>>>> need to run compaction on all shards then look at the distribution
>>>> afterward.
>>> 
>>> How do I run compaction on all shards?
>>> On Fauxton UI I didn't found anywhere any button for database or view
>>> compaction! :-(
>>> 
>>> Teo
>> 
>> 

-- 
Professional Support for Apache CouchDB:
https://neighbourhood.ie/couchdb-support/


Mime
View raw message