Couchbase Questions: Couchbase Server

Have a Question? Get it answered by our community

drumatic's picture
Asked 8 months 3 days ago
Latest activity 8 months 2 days ago

About Cluster Schema

Hi,

We're developing an application that needs fallback support. But i couldn't find any clue about that.
For example:
I've created a document with id 11456 and another one with 11678.
I have 2 servers right now, balanced.

Couchbase put first one in node#1 and...

drumatic's picture
Asked 8 months 4 days ago
Latest activity 4 months 6 days ago

Which part of data on which node ?

I've set up a cluster.
It's working, right now no problems.
Just curious about when CouchBase performs auto-sharding;
which part of my bucket goes to which node ?
Does replicas hold all data ?

For example : I have 3 nodes, rebalanced successfully. And 2 replicas....

couchpotato's picture
Asked 8 months 5 days ago
Latest activity 8 months 1 day ago

COUNT(DISTINCT keys) using map/reduce?

Is there some way to do the equivalent of a COUNT(DISTINCT keys) using map/reduce?

Basically a Couchbase version of this couchdb one:
http://stackoverflow.com/questions...

Ron Velzeboer's picture
Asked 8 months 5 days ago
Latest activity 8 months 2 days ago

apt-get update fails on 'main/binary-amd64/Packages'

I am trying to install the couchbase client using a chef cookbook (https://github.com/urbandecoder/couchbase) on Vagrant using the following box "...

jprudent's picture
Asked 8 months 5 days ago
Latest activity 8 months 2 days ago

What is the meaning of curr_items, curr_items_tot and vb_replica_curr_items ?

Hi, I've a 2 nodes cluster with 3 buckets that I'm trying to monitor.

Using /pools/default/buckets I can see for one of the buckets :

nodes": [

{
"interestingStats": {
"curr_items": 37668,
"curr_items_tot":...

lenx.wei's picture
Asked 8 months 5 days ago
Latest activity 8 months 2 days ago

about "full_set" option in query of development view

Hi,

I want to know which documents the set contains with "full_set=false" in a query of development views.
Does it contain all local documents in the queried node, or only a random subset?

If we have an interface to query all local documents in a given node, we can...

simonthorogood's picture
Asked 8 months 6 days ago
Latest activity 7 months 2 weeks ago

Automatic Updates to Map-reduce Views

Hi we are currently testing an application using Map-reduce views and what we are finding is that documents are taking a long time to appear in view results (or even not appearing at all) when we use stale=true in the view query.

Reading this page:

...

viove's picture
Asked 8 months 1 week ago
Latest activity 8 months 6 days ago

about couchbase ep-engine on memory management and eventually persistant

I have just read some ep-engine code, any one know and could help to answer couple of questions?:

1.looks there is no garbage collection, since all allocation and deallocation are new/delete items, how could we handle memory fragmentation.

2.ep means eventually engine, but the name...

Carlos's picture
Asked 8 months 1 week ago
Latest activity 8 months 1 week ago

map reduce on top of bucket's subset

Hi,
Let's assume that we have a bucket with 100 docs and I want to apply my view on top of a specific well known in advance subset of the bucket. For example let's say that I know the ids of the docs in advance.

What is the best way in order to tackle this?

Thank you in...

abov's picture
Asked 8 months 1 week ago
Latest activity 8 months 1 week ago

MapReduce: grouping and filtering.

I have the following task: got all users from `site` and where timestamp from `X` to `Y` and has events "Proposal start", "Proposal end" also group them by the timestamp.

So I wrote the following map function:

...

Pages