Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
davismwfl's picture
Asked 10 months 1 day ago
Latest activity 9 months 3 weeks ago

Using libcouchbase from C how to force JSON doctype

I found this post: http://www.couchbase.com/forums/thread/question-regarding-c-client-library

But it didn't solve my issue. I have many documents that are formatted as so:
{ "suffix": [ 1133,...

adonoho's picture
Asked 10 months 2 days ago

Big or Little Endian Byte Order to Create Base64 Keys ...

Gentlefolk,

In Couchbase, the keys are maintained in RAM. Hence, the size of the key is important. At least in my application it is. (I just saved 2.5 bytes per document by changing my keys and saved over 600 MB of RAM.) I want more savings and, hence, wish to compress my key space...

tamazero's picture
Asked 10 months 2 days ago
Latest activity 9 months 3 weeks ago

Query data inside couchbase

There is a little but complete example showing how use couchbase with elasticsearch in java ?

Best regards
Fabio

akmartin's picture
Asked 10 months 2 days ago
Latest activity 8 months 2 weeks ago

change data directory for single-node cluster

I need to move my data files to another drive because I'm running out of space. The instructions for changing data directory do not work in this case because it is a single-node cluster and cannot be removed from the cluster. Can I just change the directories in runtime.ini and copy the files to...

ksnyde's picture
Asked 10 months 2 days ago
Latest activity 8 months 1 day ago

Couchbase cbrestore screws up internal state

I have Couchbase installed in multiple environments and need to move the database data between these states frequently. I use the command line tools to do backups and restores (cbbackup, cbrestore) and when doing this between my two OSX machines this seems to work. However, when i try and...

petter's picture
Asked 10 months 2 days ago
Latest activity 8 months 4 days ago

Server down causes java.lang.StackOverflowError after failover

Running a system with 4 servers nodes.

Java application using spymemcached-2.10.2 and couchbase-client-1.2.2

We see following problem:
1. We force one node down
2. We can see some "OperationTimeoutException" in our java application
3. After 30s Auto-Failover kicks...

jesuslg123i's picture
Asked 10 months 3 days ago
Latest activity 10 months 2 days ago

getMulti on Node.js Error

Hello,

We're starting to work with Couchbase and I' having problem with the call getMulti, every time I call the method I have a fatal error "Error: Missing callback" and here is my call code:

...
mshaw's picture
Asked 10 months 3 days ago
Latest activity 2 weeks 2 days ago

Does N1QL support AND's

Does N1QL support a query like so:

SELECT * FROM posts WHERE category = 'Cars' AND visibility = 'EVERYONE' ORDER BY created

Will created sort on dates? I know with views getting posts that only contain specific category and visibility text is not possible, but wondering if N1QL...

mshaw's picture
Asked 10 months 3 days ago

startkey_docid with complex key

The call below with the matching result set returns a result that does not start with the doc id a4a6cf44-8a82-494a-a2b9-f6a3ec629f17. As the result set below demonstrates the top 3 keys are identical, but startkey_docid has no effect.

Just a couple questions around this
*Will...

brettdanger's picture
Asked 10 months 3 days ago

View never updates

We have a group of processes that update couchbase document. Each processes runs in python under supervisord, two are daily crons. For each process we are using the stale=update_after flag in our views because stale=false was causing a ton of load on our servers (6 of these processes run every...

Pages