Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
adonoho's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Supplying CAS to set_multi() or replace_multi() ...

Gentlefolk,

Neither set_multi() nor replace_multi() appear to have a way for me to supply them a CAS value per item. delete() does supply such a mechanism. It is documented in the Python SDK connection.delete() section:

Remove multiple keys with CAS:

...
adonoho's picture
Asked 1 year 1 month ago
Latest activity 11 months 1 week ago

Document ID Conventions?

Gentlefolk,

As I wrap my head around this world I read a lot. Much of it is from CouchDB focussed resources, such as the Definitive Guide and others.

I've been using a colon, ':', as a logical separator in my document ID keys. Much of the CouchDB derived literature uses slashes...

saniadeyi's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

CauchBase Query

Hi
I am designing a java GUI application that user can type a simple query that can add a key-value pair into an existing document, create a document, Execute views in a textarea and display the view result on a panel or textarea. is it best to use Rest API command or is there simple...

tianxing113's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

How to check that all documents of a bucket are persisted

Hello

My server needs execute some "global" views to extract some information at start up, and the views index must be up to date at this time. So I need ensure that all documents are persisted to the disk that I can
execute the views with stale=false.

The libcouchbase...

sam_jackson's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Why is my view performance so inconsistent?

Hi there,
I'm seeing extremely inconsistent results when trying to retrieve values for a key from my views. Basically, a view request can take anywhere from 40ms to 2s. It doesn't matter if it's a new request or the same one, each time I run the query, the time to complete the request is...

Fragsworth's picture
Asked 1 year 1 month ago

Moxi proxy downstream timeout SERVER_ERROR

I have a live cluster with two Couchbase nodes (version 1.8.0) and about 5 application servers each running PHP with moxi clients on them. Once in a while, Moxi will return a `SERVER_ERROR` when attempting to access data. This happens about once every few minutes on average. The cluster...

amuradyan's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Limit in document number

Hi,

In one of other similar posts I left a comment, but that post was not answered, so I decided to open a new question.

It seems that Couchbase has very frustrating limitation on number of documents able to be stored in a node/cluster, depending on the total memory.

My...

JuneHao's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Remote couchbase server timeout

My client code uses clientLibrary in .NET. It talks to a remote couchbase server via CouchbaseClient(). I have encountered a connection issue. If the client doesn't send requests to the remote server in few minutes it seems the connection is closed. The result is the server cannot find the...

vakoroteev's picture
Asked 1 year 1 month ago
Latest activity 11 months 1 week ago

Couchbase do not store all documents

Hello,

I'm trying to generate and store in couchbase several million documents but most of the documents are not add in the database. For example, of one million documents only 80-100k thousand will be saved in the database after the first iteration. I use JavaSDK, and method through...

SkeLLLa's picture
Asked 1 year 1 month ago
Latest activity 1 year 1 month ago

Couchbase update view after add doc

Hello. I try to implement such scenario:
- create a doc and insert it into couchbase;
- update a view, that gets all docs of those type.

Here is a code:

var key = "my_key";
var res
...

Pages