Couchbase Q&A

Have a Question? Get it answered by our community

ramiroalves's picture
Asked 2 hours 4 min ago

Having issues storing info?

Hi, I'm designing some class we're going to reffer as Base, Base is defined this way:

    public class Base
        protected string id
mdespriee's picture
Asked 2 hours 27 min ago

Storage internals

Hi folks,

I would like to understand the internal structures of data files and index files.
How they are structured, organized, written. What are the access pattern (to understand the various performance consideration around the storage)

Is there any doc describing this ?...

jatin's picture
Asked 7 hours 58 min ago

How to open cbq-engine for N1QL?


We are using Couchbase server 2.5 and couchbase .NET sdk 2.0.
We are working with N1QL on couchbase server through our .NET SDK.
It is working fine but however for N1QL queries from SDK, Cbq-engine must be hosted via command prompt.
(We are using following command...

satyaguna's picture
Asked 10 hours 18 min ago
Latest activity 4 hours 55 min ago

Couchbase Sync gateway not detecting properly

Hi I have Amazon EC2 instance with server + sync gateway. I tried add a document using sync gateway and I tried to add document in server buck both working fine.

But I have a problem while syncing. The document which i am adding in the either in server or through sync gateway it is not...

tttzhang2000's picture
Asked 23 hours 28 min ago

Very strange behavior of using couchbase cluster credential to call couchbase REST API

I have an installation of community server version 2.2.0-build 837 on an AWS machine. Everything works fine until last week AWS patch the Linux VM (CentOS 6.5 64 bits) and restart the machine. After that, this strange thing happened:
I can login use my admin username/password into the...

Kristas's picture
Asked 1 day 15 hours ago
Latest activity 1 day 8 hours ago

N1QL + where in collection

Hi there.

I'm very new in N1QL, please assist.

Let's suppose I have documents like this:


  "propertyName1": {
    "value": "value1",
    "last_update": "2014-07-29T14:
fridental's picture
Asked 2 days 7 hours ago
Latest activity 1 day 11 hours ago

Views performance questions

Hi there,

I have a couple of unrelated views performance questions:

1) Is there a performance penalty to define a view with many equal keys? For example, this map function:

function (doc, meta) {
if(meta.expiration != 0)
emit(1, null);

2) Is...

fridental's picture
Asked 2 days 12 hours ago
Latest activity 1 day 10 hours ago

Inadvertend DATA LOSS due to a bug in the documentation

When using the ttl parameter and setting it according to the documentation (the number of seconds for the expiration), it is possible to inadvertendly delete documents by setting wrong ttl values.

For example, if your expiration time is 5 years, you will dutifully multiply 60*60*24*365...

chaddy012's picture
Asked 2 days 18 hours ago

Can N1QL work with the new Couchbase 3 bata

I am been trying to run some test using Couchbase server 3 and N1QL however i am getting this message
"error": {
"caller": "view_index:200",
"code": 5000,
"key": "Internal Error",
"message": "Bucket xxxxxx not found."

Yangqing's picture
Asked 2 days 19 hours ago
Latest activity 2 days 16 hours ago

How to download couchbase-server-enterprise_2.5.1_x86_64.rpm