Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
nt.tung's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

How to write a map reduce, query with a specific range datetime and the group by clause

I have example data

...
{"provider": 1, "value": 1, "created_time": "2014-02-11 04:33:45"}
{"provider": 1, "value": 2, "created_time": "2014-02-12 04:33:45"}
{"provider": 2, "value": 3, "created_time": "2014-02-13 04:33:45"}
{"provider": 2, "value": 2, "...

Alex-sf's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

RAM requirements for small dataset

I'd like to use couchbase for a number of the reasons, but the memory recommendations seem quite high. If I have a 500MB dataset with a fifth of that the working set, is it really necessary to have 16GB nodes? Plus another 2GB for XDCR? Or are those just sort of baseline numbers?

kamal2222ahmed's picture
Asked 4 months 2 weeks ago

erlang server crashed when running couchbase community server edition on centos 6.4 64 bit Virtual Machine

installed: 2.2.0-837-rel couchbase server
[product]
title = Couchbase Server
version = 2.2.0-837-rel
license = community

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg1-lv_root
5.0G 891M 3.9G...

alexo's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

Java client not aware about failed over node

We are using the latest version of couchbase-java-client (1.4.0-dp2).
Assume the following scenario:
- We have a cluster with 2 nodes.
- Client is able to read & write documents to a bucket.
- create a couple of documents (one is active on node1, the other is active...

313180's picture
Asked 4 months 2 weeks ago
Latest activity 3 months 3 weeks ago

lost a lot of data where a node crash

my Test as follows:
I have start 4 nodes for the coucbase cluster.
1.start a client (1.4.0) to set 100 0000 items to the couchbase!
2.before the client add completed I kill one of the node.
3.and the client logs as "Discarding partially completed op: Cmd: 2 Opaque:...

jnordberg's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

Timeout errors

I'm trying to connect to a remote couchbase server, the connection callback fires ok. But if i try to get a key i get a [Error: Operation timed out] code: 23 error and if i try to query a view i get a...

wrx230's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

How do i do a join that doesn't use document key?

How would I run a query like this:

"SELECT asset.fqdn, port.name FROM bucket asset JOIN bucket port ON port.assetId = asset.id" (or asset.id could be key).

Asset document is asset:1 and has asset.id (asset:1), and some other details.

Port document has port.assetId (asset:1...

dorony's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

Cast error when enumerating a view

I have a view whose key-value pair is (expiration, doc) where doc is always a number.

When I read the results of the view via the .NET API, I get the following error:

Newtonsoft.Json.JsonSerializationException: Error converting value 1 to type 'Couchbase.IViewRow'. Path '', line 1...

chaijun's picture
Asked 4 months 2 weeks ago

about couchbase hit rates question

for example, my key = 'key', value = 'value', and get(key), the web console show me ops per second is 5K, and i change value = 'value'*1000, and get(key), the web console show me ops second is 200, when the value is so huge , the hit rates will lower,how can i improve the hit rates when value...

Vexxed72's picture
Asked 4 months 2 weeks ago

Changing Node Type after Cluster Creation

Let's say you deploy a Couchbase server in EC2 using one instance type and later decide you want to change to a new instance type (for example, they just introduced a new instance type that is a much better fit for your needs, adds SSD, etc).

What is the process for switching out a...

Pages