Couchbase Questions: Couchbase Server

Have a Question? Get it answered by our community

mlipovits's picture
Asked 5 days 14 hours ago
Latest activity 3 days 22 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?

sunku's picture
Asked 5 days 20 hours ago
Latest activity 5 days 18 hours ago

Creating a view

Hello,

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"....

xiaoliang's picture
Asked 1 week 2 days ago
Latest activity 2 days 15 hours ago

How to keep datas after uninstallation

Fow example

I installed couchbase by rpm,version is 2.2.0

create Bucket and save datas to this bucket

after that,I want to uninstall it and install 2.2.1 or 2.1.0

after installation,will data be still there?

javadevmtl's picture
Asked 1 week 2 days ago
Latest activity 4 days 23 hours ago

How to count uniques with view?

So say I have the following documents

{"acct":"123456","name":"John Smith"}
{"acct":"123456","name":"John Smith"}
{"acct":"123457","name":"Jane Doe"}

function(doc) {
if(doc.acct)
emit (doc.acct, 1)
}

_count

This view will return 3...

polfer's picture
Asked 1 week 2 days ago
Latest activity 1 week 22 hours ago

View Query with Keys Not Fully Reduced

Accessing a view through the Ruby client, but this issue does show up through the console. The query is against a two node deployment using 2.2.0 enterprise, build 821.

When I query requesting grouping and *no* keys parameter, I receive a fully reduced set of results. For example, a...

buger's picture
Asked 1 week 2 days ago
Latest activity 2 days 3 hours ago

Data loss with 2.5.1

We definitly have some percent of data loss, and not random, only for certain keys, and we having observer calls, so maybe it is problems with some vbuckets. I even have missing document _id's.

What is the proper way to debug such bugs, to understand if data not get written to disk from...

wave365's picture
Asked 1 week 3 days ago
Latest activity 1 week 22 hours ago

erl.exe causing restarts

We are noticing that couchbase server (on windows) is using increasing amounts of CPU before crashing and restarting.
The process that seems to be most problematic is erl.exe.
We could throw more servers at the problem but would like to know if we are just hiding a fundamental...

cmoller's picture
Asked 1 week 3 days ago
Latest activity 1 week 22 hours ago

Memcached Error 11 ERROR was returned by server received on get

Our PHP application has been running with Membase for several years connecting via the PHP Memcached Extension. We also have one instance of our application running on Couchbase 2.2.0. We have just installed a new server and we are testing our PHP application with Couchbase 2.5.0, PHP...

igorastds's picture
Asked 1 week 3 days ago

Community 2.2: ns_server: "Protocol: ~p: register error: ~p~n\",[\"inet_tcp\",{{badmatch,{error,duplicate_name}}

I've compiled Couchbase 2.2 official tarball on Gentoo Linux x64 with following prerequisites installed:
- gcc: 4.8.2
- openssl: 1.0.1f
- erlang: 14B04
- v8: 8.3.25
(others omitted, but present)

All epm/beam processes were killed (clean reboot, and...

msolujic's picture
Asked 1 week 3 days ago

Any plans to support multi-set feature?

Day-to day I'm dealing with high troughput of data.

One example is by using Apache Storm to compute realtime metrics.

We decided to use couchbase instead of cassandra as central data storage,

so mentioned feature of multi-set would be great to have.

Thanks,
...

Pages