Couchbase Q&A

Have a Question? Get it answered by our community

arindamroy123's picture
Asked 2 hours 25 min ago

How to resolve latency issue

Our requirement is to provide unique coupon to the user. We are generating unique coupons by our algorithm and storing in Couchbase DB.
We created one bucket where we are storing all the documents contain coupon codes. One column in the document is "IN USE". While supplying the coupons to...

amaiz14's picture
Asked 3 hours 4 min ago
Latest activity 1 min 9 sec ago

GetView not working for me using C# client

Morning All,

New to the forum and looking fwd to sharing my cb experience and wonderment.

i'm working on a couchbase app here as a proof-of-concept for some projects i would like to do.
So far things have gone quite well but there was a bit of learning curve for me...

AnupVeerapur's picture
Asked 5 hours 32 min ago

Insert to CB Lite

Hi Team,

I have a json data. Can you pls tel me a simple way how to insert it into couchbase lite db and fetch from it. A simple example would be a lot of help. I am using phonegap and i wanted the help mostly in javascript.

Please let me know, this would save a lot of time....

notm84's picture
Asked 5 hours 40 min ago
Latest activity 8 min 51 sec ago


There is conflicting documentation regarding which method to use for reading/writing data. One says do not use the REST API to read or write data and to use the SDK. And another says to use the REST API to build your own SDK.

What? Can someone clear this up, please? Thanks!

keab.kcats's picture
Asked 19 hours 25 min ago

Large documents are missing

I have bunch of documents sized from 2K to 10KB.
When I use

CouchbaseClient#set(id, doc)
mpeppler's picture
Asked 19 hours 32 min ago

Session state during failover

I was doing some testing with the couchbase iis session replacement. I'm using the standard repo ( and I have a test site using couchbase. I was testing the failover with 3 nodes,...

srimadava's picture
Asked 20 hours 33 min ago

views returning stale data

Concept -

1) Generate and store thousands of codes in a data bucket overnight (Ex: CodeBucket)
2) Give out these codes when requested (one code per request).
3) To ensure a code is given out only once, using a view as follows to retrieve a code


flo_vonderuni's picture
Asked 1 day 1 hour ago
Latest activity 21 hours 54 min ago

Sync with Couchbase Lite through Couchbase Sync Gateway doesn’t see any documents (Channel issue?)

[The same question but with better formatting is available here: ]


khwong9981's picture
Asked 1 day 8 hours ago

Couchbase - Memcached bucket maximum connection

Can I know what is the maximum connection allowed by Couchbase 2.2 for single memcached bucket? How can I check it and modify it?

wolfre's picture
Asked 1 day 13 hours ago

.NET Startkey And EndKey...Error


I try to search for the date range ...

View, the problem is not

But .NET Source problem...

Did you ever met this syntax is wrong?

var GetView = _DBCon.GetView("Test2", "Count", true).Stale(StaleMode.False).StartKey("[2014,4,21,0,0,0]").EndKey("[2014,4,21,...