Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
viove's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks 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 4 months 3 weeks ago
Latest activity 4 months 3 weeks 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...

sivasena's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 2 weeks ago

regarding document updates notification

Hi All,

We have a requirement to track all document updates of a particular bucket. But because of the rate at which the documents are updating and the number of documents in the bucket we have to avoid the usage of views for this.

We can make use of JAVA TAP API for this but the...

MikeOliverAZ's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

is there any way to speed up a view query

I have a view...

function (doc, meta) {
  emit(doc.eventKey, null);
}

and a java method to access it...

...
glway's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Querying views

Hello everyone,
I have setup couchbase, created a bucket and created a view:
_design/dev_by_id/_view/dev_by_id
The view is not empty and has 3 records. However:

>>> from couchbase import Couchbase
>>> cb = Couchbase.connect(username="", password="...

michals's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Writing to a different bucket than default does not work

Hi.
I am using couchbase-client-1.0.2 and couchbase 2.1.1
When i try to connect and write to a bucket other then the one called "default"
it still writes to "default".
Here is the code i use to connect:

...
Sanjay1313's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

libcouchbase crash when I restart couchbase-server during inserts

Hi
I installed and configured 2 couchbase(community edition) nodes in a cluster.
I Connected to the cluster with the client and started inserting elements.
I Couchbase client is running in the same machine where 1st couchbase-server node running.
When i restart the 1st...

rajvaida's picture
Asked 4 months 3 weeks ago

JAVA Tap Stream listener

Hi

I am trying to implement a listener to get Couchbase Document IDs using TAP. On selection of a specific ID, I'd like to see full state of the entity and capture all changes of the document. Eventually I'll push them into a bucket.

MikeOliverAZ's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks ago

Is it worth it, serialized pojo or straight json?

I am trying to squeeze out the last little bit of performance from a backend pipeline application. I am storing rules in Couchbase. These rules are simple POJOs with mostly name value pairs serialized with GSON to store in couchbase.

I query a view and get a response with rows....

abov's picture
Asked 4 months 3 weeks ago
Latest activity 4 months 3 weeks 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