Questions tagged [couchbase]

Use for Couchbase Server or Couchbase Capella only (NOT CouchDB or Couchbase Lite). Couchbase Server is a distributed database engineered for performance, scalability, availability and flexible query. It enables developers to build applications easier and faster with both the power of SQL and the flexibility of JSON.

Capella is Couchbase's DBaaS (Database-as-a-Service). It is fully managed, hosted, patched, and upgraded by Couchbase.

Developed as an alternative to traditionally inflexible SQL databases, the Couchbase NoSQL database is designed to help developers solve real-world problems and meet high scalability demands along with unparalleled performance.

Developer features

  • Enhance application development agility by capitalizing on a declarative query language, full-text search, adaptive indexing, and seamless data mobility full-text search, adaptive indexing, and seamless data mobility
  • Achieve fast, efficient bi-directional synchronization of data from the edge to the cloud and between clusters
  • Build seamless data sharing across users and devices – online and offline
  • Consistent programming model for building web and mobile apps

Couchbase is designed to help enterprise applications perform well (up to 10-20x faster than competition) while also scaling to match data volumes. The use of in-memory datasets allows you to process and optimize queries and indexing processes. Coupled with the features of Couchbase Mobile, applications can continue to operate even in offline mode.

Management Tools

  • Streamline configuration and setup, take advantage of multi-cloud agility
  • Built-in enterprise-grade security for the full stack
  • Easily enable cross datacenter replication between clusters through a convenient UI

Useful links

3998 questions
8
votes
2 answers

Callback in Golang

I am using go-couchbase to update data to couchbase, however, I have problem in how to use the callback function. The function Update requires me to pass a callback function in which should be UpdateFunc func (b *Bucket) Update(k string, exp int,…
Peter Hon
  • 321
  • 2
  • 6
  • 10
8
votes
2 answers

ElasticSearch or Couchbase or something else

Background: I have a huge stream of data - getting up to 1000000 records per hour, ttl is 3 hours... Each "document" contains approx 20 properties, I need to search up to 15 properties at same time using "==", "IN" and "BETWEEN" comparison. Since…
dimzon
  • 414
  • 4
  • 13
8
votes
1 answer

Couchbase Lite on Android L

After updating to Android L, I got errors like this, though before (on Android 4.4 Nexus 7 2013) everything was fine: java.lang.NoSuchFieldError: no "I" field "mConnectionPtr" in class "Landroid/database/sqlite/SQLiteConnection;" or its…
Andrii Bas
  • 613
  • 1
  • 6
  • 20
8
votes
3 answers

Does couchbase actually support datasets larger than memory?

Couchbase documentation says that "Disk persistence enables you to perform backup and restore operations, and enables you to grow your datasets larger than the built-in caching layer," but I can't seem to get it to work. I am testing Couchbase 2.5.1…
8
votes
3 answers

Trying to install Couchbase, with gcc command fails, Python

I try to install couchbase for python, but I get the following error: building 'couchbase._libcouchbase' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/src creating build/temp.linux-i686-2.7/src/viewrow creating…
user3156971
  • 1,095
  • 2
  • 15
  • 17
7
votes
1 answer

CouchDB Group Level and Key Range

Can anyone explain to me why the following doesn't work: Assuming the following document structure: { "_id": "520fb089a6cb538b1843cdf3cca39a15", "_rev": "2-f96c27d19bf6cb10268d6d1c34799931", "type": "nosql", "location": "AZ", "date":…
eggsy84
  • 1,059
  • 1
  • 14
  • 26
7
votes
1 answer

Couchbase data modelling - Document oriented

This question is not necessarily Couchbase 2.0 develop preview specific however I think it may help people with investigation into the new Couchbase product. I am looking for advice on data modelling. We are investigating Couchbase with a view to…
eggsy84
  • 1,059
  • 1
  • 14
  • 26
7
votes
1 answer

Membase can someone explain the idea behind their technology

It is fourth day already since I've started diving into CouchDB specifically Membase (Couchbase), Membase seems really interesting technology for me due to simplicity of administration, their interface is as magical as informal and simple. The way…
Lu4
  • 14,873
  • 15
  • 79
  • 132
7
votes
1 answer

Can I replicate between CouchBase on Android and Couch DB running on Linux?

Can I replicate a CouchBase datbase running on Android to a CouchDB (1.1) server ? I want to try out couchbase on Android and have installed a Couch DB on Amazon EC2.
Glenn Bech
  • 6,103
  • 4
  • 39
  • 56
7
votes
2 answers

Generic type to repository for couchbase using spring boot

I'm creating an utility in Spring Boot to connect and insert/upsert data into the couchbase in the more generic way possible. I have something like this: public interface GenericRepository extends CouchbaseRepository { } Where I…
Fabio Cardoso
  • 1,181
  • 1
  • 14
  • 37
7
votes
1 answer

How to merge data in Couchbase with map reduce?

My application is storing multiple document types in the same bucket. I know it is not good practice but I have a limit on how many buckets I can create on my server and there is not way around it at the moment. The documents are prefixed with their…
Jeno Laszlo
  • 2,023
  • 18
  • 36
7
votes
0 answers

High CPU usage on couchbase server with moderate load

I am using Couchbase Server on stage environment. Things were working fine until yesterday. But since today I am observing high CPU usage when the load is increased moderately. (PFA) Couchbase cluster configuration:- 3 node cluster running…
sandy
  • 1,153
  • 7
  • 21
  • 39
7
votes
4 answers

How to use spring data with couchbase without _class attribute

Is there a simple way to use spring data couchbase with documents that do not have _class attribute? In the couchbase I have something like this in my sampledata bucket: { "username" : "alice", "created" : 1473292800000, "data" : { "a": 1,…
Milan
  • 265
  • 1
  • 5
  • 13
7
votes
1 answer

Couchbase N1QL: Retrieve documents that do not have a specific field

I have many documents in a bucket as { prop1: value, prop2: value, prop3: value} But some documents do not have the prop3 field. How can I retrieve all documents that DO NOT have the prop3 field, using an n1ql query?
Srirag Nair
  • 166
  • 1
  • 8
7
votes
2 answers

Couchbase connection timeout with Java SDK

I followed the couchbase tutorial to connect to remote couchbase server, but it failed on connection time out after I try to open default bucket. I have checked that I can open couchbase server page on my computer(192.xx.xx.xx:8091) Here is my Java…
austinc
  • 285
  • 2
  • 5
  • 15