Couchbase Q&A

Have a Question? Get it answered by our community

carlosM's picture
Asked 6 hours 8 min ago

I don't know if I understand collated views right (and N1QL would be am option?)

Hi everybody..I'm not pretty sure if I understand well collated views, I only could found a couple of articles about it...I was trying this in the last idea: create documents which are related to messages, every essage has an author and could have many destinataries (which are saved...

wolfre's picture
Asked 6 hours 38 min ago
Latest activity 3 hours 40 min ago

Data Log Model Question

Good afternoon.

Couchbase, the data model of the logging data? We wonder how the question.

In the case of a typical RDB ex) Money Log

Who | Where | What | Before | After | Date
A Shop Buy 10 99 2014-04-25

Doeneundeyo like a...

amaiz14's picture
Asked 13 hours 19 min ago

GetView with C# client and millions of rows of data

i'm actually submitting a following up question to a previous thread. i'm executing a GetView with millions of rows. I know the data is there, i can query it on the cb admin console.
but when i run my C# command it doesn't return anything, but steps through the line immediately....

arindamroy123's picture
Asked 18 hours 53 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 19 hours 33 min ago
Latest activity 13 hours 40 min 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 22 hours 1 min ago
Latest activity 7 hours 26 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 22 hours 9 min ago
Latest activity 16 hours 37 min 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 1 day 11 hours 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 1 day 12 hours 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 1 day 13 hours ago
Latest activity 15 hours 10 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