Couchbase Q&A

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

Ruby Couchbase & Couchbase Model working with Cucumber/ DatabaseCleaner

May I know if anyone has tried working on Cucumber/DatabaseCleaner and Rails/Couchbase.
I was able to run Cucumber with Rails/Couchbase but I wish to know if anyone knows how to use it with DatabaseCleaner to clean up the DB after running the scenarios. I understand that DatabaseCleaner...

elfar7's picture
Asked 1 year 3 months ago
Latest activity 1 year 2 months ago

EC2 within/across Zone latency

Hi,

does anybody have any experience with running a couchbase cluster across different zones but in the same region? I.e. is it OK to have a 3-node cluster running in eu-west-1a and 1b and 1c (as opposed to have all 3 in 1b) latency/performance wise. In the guide it says to set them up in...

jygan's picture
Asked 1 year 3 months ago
Latest activity 1 year 3 months ago

How do I auto increase document ID with c lib?

Hi, guys:
I'm trying to add doc by lcb_store, is there any way to auto increase doc id so I don't have to generate unique doc id in my code? right now, i need to provide _key which will be stored as doc id.
bool CouchbaseHandler::addData(string _key,string _value)...

javier4517's picture
Asked 1 year 3 months ago
Latest activity 1 year 3 months ago

Sample about how to retrieve Multiple Keys using the C client

Hello

We have been testing the C example in the couchbase documentation and so far so good.

We would like to be able to retrieve more than one Key in one call to lcb_get(...)

I was unable to find any example for the C client so we have wrote something which is working but I...

radut's picture
Asked 1 year 3 months ago
Latest activity 1 year 3 months ago

Can you auto delete keys after 1 day?

Hi,
It is possible to put auto delete of keys older than 1 day ?
If there is programatically tell me/ other console config..

nks_mmm's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

Simulating SQL BETWEEN quuery

Hi,
I am new to Couchabse/NoSQL. I have a use case where I need to migrate an app from MySQL to Couchbase.

In MySQL i have a table with columns like startNumber,endNumber,LocationId
I fire a query as below- all values are long numbers

SELECT LocationId FROM blocks...

pdubs_tr's picture
Asked 1 year 4 months ago
Latest activity 1 year 2 months ago

.NET client won't communicate with cluster successfully configured with hostnames

Running Windows 7 x64 Couchbase 2.0.0
I have a cluster of 2 servers successfully configured to use hostnames. They both show as "up" in the console.
Host 1: host-a.domain.com
Host 2: host-a.domain.com
I have them configured in their respective config sections to use...

pdubs_tr's picture
Asked 1 year 4 months ago
Latest activity 7 months 2 weeks ago

.NET client won't communicate with cluster successfully configured with hostnames

Running Windows 7 x64 Couchbase 2.0.0
I have a cluster of 2 servers successfully configured to use hostnames. They both show as "up" in the console.
Host 1: host-a.domain.com
Host 2: host-a.domain.com
I have them configured in their respective config sections to use...

seans's picture
Asked 1 year 4 months ago
Latest activity 1 year 2 months ago

Couchbase 2.0.1 performance when re-balancing

I've recently attempted to upgrade from Couchbase 1.8.0 to 2.0.1 but after the upgrade I've noticed that a rebalance takes approximately 25 minutes on Couchbase 2.0.1 (900MB for the assigned to the server, with 3 Couchbase buckets - 2 with 300MB and one with 128MB) whereas on 1.8.0 with the same...

gagan_giluxe's picture
Asked 1 year 4 months ago
Latest activity 1 year 3 months ago

How do I store and retrive images and media files in couchbase?

Hi ,
I wish to store my images and large objects in couchbase , how can i use CBFS for this operation and is there any other solutions to do this operations..?

Pages