Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
ohassidi's picture
Asked 4 months 3 weeks ago

Connection management

Hi

Is there any best practice for connection management for couchbase connections? If one of the nodes in the cluster died, how the client get notified and start dipatching requests to other nodes? Also how does data that was in the died server start return from other nodes?

Should...

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

The role of CAS in a durability poll?

tl;dr: 2x CAS Stores in a row for same key, durability polling replication for both, will the first one _always_ succeed?

I recall reading somewhere in the docs that multiple successive writes to a single key won't cause each one to be persisted to disk. This optimization makes sense...

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

New documents are not being inserted

Hi,
We're new to Couchbase in our organization, and we encountered a weird issue.
When trying to set multiple rows through the following code:

This is how our "set" method looks like at the moment:
public void setCampaign(Campaign camp){
client.set(camp...

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

Compaction crashes without even starting

Hello community,

I've been lurking and looking for answers for a long time on this but I've had no luck. I finally created an account on the forums so maybe you can give me a hand with this problem.

I have a Couchbase cluster that consists in only 1 node. 128GB RAM, 8 cores,...

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

Can you see recent (sets/gets) operations in UI/command line

The admin UI has a Top Keys section, which seem to show the most active/request keys in a bucket. However, I was trying to find a way to see the most recent keys inserted/requested (not just the most active). Is there a command or something that I am missing that would allow me to see the most...

mxav@yahoo.com's picture
Asked 4 months 4 weeks ago
Latest activity 4 months 2 weeks ago

How to retrieve couchbase response time by bucket and opType

Hello,

We used to query moxi with "stats proxy timings" to retrieve couchbase response time by bucket and operation type, but we don't use moxi any more (we have switched to a libcouchbase sdk) and don't find any way to retrieve those same informations

Is there any way to get...

Philipp87's picture
Asked 4 months 4 weeks ago
Latest activity 4 months 4 weeks ago

Collated view with condition

Hello,

could anybody explain me how to add a condition to a collated view, like a where-clause in SQL which compares the contents of columns in different tables?

Example:

we have documents named "movies", every movies document contains a name and a movie ID,...

jazneil's picture
Asked 4 months 4 weeks ago

joining across doc types

Hi

I have a few different documents:
Category - contains info about a subject area
Channel - created by a user and is associated to a Category
Posts - created by user and associated to a channel

Within the post document I have a score attribute, ie
{ type: "...

qingdou's picture
Asked 5 months 1 day ago
Latest activity 4 months 3 weeks ago

Warmup can't reload data

Hello,

When I restored data from EBS snapshots to an EC2 instance, the Couchbase UI can't load the data from the disk. I can find all the bitbucket folders in '/opt/couchbase/var/lib/couchbase/data'. However, when I goto the 'http://hostname:8091/...

suneel.kumar's picture
Asked 5 months 1 day ago
Latest activity 4 months 4 weeks ago

Why do we need to use rereduce?

I have gone through the documentation available in website to understand the usage of rereduce functions, but I was not able to figure it out. Can somebody explain me the proper use of rereduce with exampled illustrations.

Thanks in advance,
SK

Pages