Couchbase Q&A

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

Repositories for CentOs 7

Hi all,

On 2014-07-07 CentOs 7 was released. Is there a roadmap available when a repository for CentOs 7 will be available?

Kind regards,

Oscar

ohassidi's picture
Asked 2 weeks 4 days ago
Latest activity 2 weeks 1 day ago

Customizing an index, Create index on dev design doc, and Customized sorting

Few questions in one post I hope I will be clear :)

  • Customizing an index: after creating an index is it healthy to customize it by editing the created view? For example I have created an index using CREATE INDEX then went to the view created in the couchbase and edited it a bit and
  • ...
tjhack's picture
Asked 2 weeks 4 days ago
Latest activity 2 weeks 4 days ago

MVCC for concurrent user access and updates to document

Hi guys,

I have been having a read of MVCC within Couchbase db.

I have come to a point where I need to implement but am confused in regards to whether I should be using CAS or not to do the job?

Basically there could be a few users accessing the documents within couchbase...

urbangroove's picture
Asked 2 weeks 5 days ago
Latest activity 2 weeks 8 hours ago

Couchbase indexing with Apache Storm

Hello,

I am planning to use Couchbase with Apache Storm. Since Storm inserts data into Couchbase heavily(i.e. 2~3k updates or inserts per second), view's indexing also keeps updated and restarted endlessly with the default auto-indexing settings. So querying with stale=false is always...

fredericb's picture
Asked 2 weeks 5 days ago
Latest activity 2 weeks 5 days ago

How to write Where condition on arrays using INDEX

While trying the N1QL language, I found a difficulty to request the following:

Let say the document contains, among other attributes, an array of values as in
varArray : [ val1, val2, val3 ]

How can I...

fredericb's picture
Asked 2 weeks 5 days ago
Latest activity 2 weeks 5 days ago

How to partially update a document

Many times, it is very convenient to only update one attribute instead of loading everything into memory and then pushing everything onto the wire, specially when a few changed (let say only 1% had changed).

I did not find any element, except an issue opened from 2012/06 (...

lucapale's picture
Asked 2 weeks 5 days ago

Updating existing Index on views

I am building an app on Phonegap and I have a view, i.e.:

sites : {
			map : function(doc) 
						{
							if (doc.type == "site" && doc.created_at && doc.name && doc.geography
...
mingram's picture
Asked 2 weeks 5 days ago
Latest activity 2 weeks 3 days ago

Is it possible to have different document lifetimes either side of an XDCR link?

I currently have a Couchbase cluster configured and hosting a lot of documents. I'd like to have a second cluster where all the documents would be replicated to but where they would live for a much longer period of time. That is, documents would be not be available after, say, 7 days in the...

doronaviguy's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 3 days ago

querying a compound key from a view

Ok my keys looks like that

key = [ 1404891029233,"batman" ]
key = [ 1404891029283,"superman" ]
key = [ 1404898029283,"spiderman" ]

i want to do a range query ,
to get all the "superman" records ?

query =>
startkey=[0,"superman"]
endkey=[...

vakoroteev's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 3 days ago

Server side implementation of set document operation with Replicate value greater zero

I'm working with Couchbase (Java SDK) more than one year and from the beginning I was very worried about one question: why set documents with Replicate.ONE SO slow? I have reached only ~10-15 sets per second. I worked with two nodes of Couchbase and on very good application servers, so such...

Pages