Couchbase Q&A

Have a Question? Get it answered by our community

simonh10's picture
Asked 2 days 17 hours ago
Latest activity 1 day 13 hours ago

Pure Python API

I know there has been some very brief discussion of a pure python couchbase API, but did anything actually happen with it?
A reliance on a C library makes deploying on a heterogeneous environment practically impossible.
Mixed environment of clients (Mac, Linux, Windows)....

igor_astds's picture
Asked 2 days 20 hours ago
Latest activity 2 days 7 hours ago

Issues with bench/ performance: cbc-pillowfight produces 1000x slower peaks at certain amount of writes

Hi all.
I'm having a very uneven distribution of 100usec and 1msec query time for following test command:
cbs-pillowfight -h localhost -b default -i 1 -I 10000
It's a two-node cluster running on i7-2600'...

yunjiha's picture
Asked 3 days 38 min ago

trouble import hadoop connector to work

I am trying to dump couchbase to hadoop using the sqoop plugin, and I am stuck with an error that says "Max block location exceeded for split".

hadoop 2.2.0
couchbase 2.2

Here is the full output:
14/04/14 14:52:59 INFO tool....

AnupVeerapur's picture
Asked 3 days 2 hours ago
Latest activity 11 hours 26 min ago

Phonegap TodoLite Project creation error.

Hi, I am trying to create the TodoLite example project. I am always getting the error "Couchbase Lite not installed" and the porject does not seem to work later.

Please suggest what would have gone wrong.
I have followed all the steps as per the "...

mlipovits's picture
Asked 3 days 11 hours ago
Latest activity 1 day 18 hours ago

Issues returning unique values

We are having some performance issues with our ongoing project because we get back lots of values from our views and cannot group them because we don't use any reduce function.
Here, we want all gpi - values which share the came cell_id back. problem here is that lots of document share the same gpi and the same cell_id. The group function is no option since we found no reduce to perform here. Since we get back so many duplicate values we have to put in a set in python so they are unique we lose a lot of performance due to iterating through all values couichbase returns.

An example doc and view are in the full description.
Does anyone have any idea how we could solve this problem?

adonoho's picture
Asked 3 days 13 hours ago
Latest activity 1 day 14 hours ago

OS X Homebrew script for C-SDK points at a downlevel version ...


The Homebrew script for the C SDK on OS X still points at libcouchbase-2.2.0.

astraeus:~ awd$ brew install
sunku's picture
Asked 3 days 16 hours ago
Latest activity 3 days 14 hours ago

Creating a view


I'm very new to Couchbase, and testing some queries on it these days.

In Couchbase, it seems that we should pre-define 'view' before I execute query. So, every sample article explains how to define views for each condition such as 'by_country", "by_lanuage", and "by_age"....

lenniedg2000's picture
Asked 3 days 23 hours ago
Latest activity 2 days 20 hours ago

Secure Sync Gateway Admin Interface


So one can secure the Sync REST APIs but how do I secure the Admin REST APIs?
Sync REST APIs are managed by the client where clients have logins but the Admin REST API must also be protected.

Thank you!

lenniedg2000's picture
Asked 4 days 9 hours ago
Latest activity 15 hours 19 min ago

Couchbase Lite iOS Filter


I have some documents in my local Couchbase database that each have a channel set like "25".
On iOS in Objective C I then try to have a filter to ONLY pull the data for that channel down... My goal is to assign a channel ID to each user that signup in the application so that i...

khwong9981's picture
Asked 6 days 3 hours ago
Latest activity 5 days 19 hours ago

Heartbeat exception

Can I know what are potential causes of below exception? Why is heartbeat using in couchbase?

HB: Node 'http://xxxxxx:8091/pools' is not available.
System.Net.WebException: The request was aborted: The request was canceled.

at System...