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
7
votes
2 answers

Couchbase XDCR in a Docker container

I need to have local Couchbase cluster and replicate data from our prod cluster onto it, can't have it installed directly on OS X (because of vbuckets incompatibility - prod cluster is on linux). Docker for the rescue. I've managed to create…
iLemming
  • 34,477
  • 60
  • 195
  • 309
7
votes
2 answers

Is Cassandra a Key value store or wide column store?

I'm preparing a course on NoSQL for database novices. Did a lot of research online and now, I'm in a dilemma as to categorize Cassandra as a Wide Column Store or a Key Value Store? Or shall I call it a two dimensional Key Value Store? I'm having the…
Frank Goortani
  • 1,407
  • 17
  • 26
7
votes
1 answer

Why are three nodes the recommended minimum number of nodes for Couchbase?

For Cassandra, there is a minimum requirement of three nodes to enable writes with strong consistency, assuming a replication factor of one (i.e. two copies of the dataset). This requirement does not seem to be the case for Couchbase, at least I…
00prometheus
  • 767
  • 7
  • 20
7
votes
1 answer

Is a good idea use Couchbase with Rails?

I'm going to start a new web project in Rails (surely with a phonegap app too) and I wondered if it's a good idea to use Couchbase with Rails. I think that one of the best things that rails have, is activerecord. Changing this behavior, I believe,…
user1364684
  • 800
  • 2
  • 8
  • 28
7
votes
1 answer

How to extract, in a list, all keys from a bucket in couchbase

I am totally new in couchbase. I am using the java api and i want somehow to view all available keys in a bucket. Is this possible? Thanks in advance.
stelios.p
  • 177
  • 4
  • 10
7
votes
1 answer

Why Couchbase document size is just 2.5KB?

The default documents size allowed is just 2.5KB what is the reason for that? I found answer how to increase it, are normally documents are less than 2.5KB?
Prakash Thapa
  • 1,285
  • 14
  • 27
7
votes
2 answers

Should I treat Couchbase bucket as table, or more like a schema

I am planing to use Couchbase as Documentation store in my web application. I am looking at Couchbase client for Java, and you need to create separate Couchbase Client for each bucket, if I treat Couchbase bucket as I would treat generic entity.…
mavarazy
  • 7,562
  • 1
  • 34
  • 60
6
votes
1 answer

go couchbase (gocb) error - ambiguous timeout or unambiguous timeout

I just getting started with Couchbase in Go, using the library gocb. Just as a proof of concept trying to query my server for a specific ID and get a result. Here is a modified code sample below. cOpts := gocb.ClusterOptions{ Authenticator:…
Keith E. Truesdell
  • 552
  • 11
  • 21
6
votes
3 answers

CouchDB terminates unexpectedly

Today I wrote a performance testing program to insert data and add attachments to couchdb. The server software is couchbase (which is a wrapper of couchdb) and the operating system is Windows 2003 server. The program is developed in C# and the…
Peter Long
  • 3,964
  • 2
  • 22
  • 18
6
votes
1 answer

What is the difference between REGEXP_CONTAINS and REGEXP_LIKE in N1QL?

On the Couchbase documentation https://docs.couchbase.com/server/6.0/n1ql/n1ql-language-reference/patternmatchingfun.html I saw that: REGEXP_CONTAINS(expression, pattern) Returns True if the string value contains the regular expression…
Andrei Lupuleasa
  • 2,677
  • 3
  • 14
  • 32
6
votes
0 answers

ConnectTimeoutException when trying to connect to Couchbase bucket from Spring Data Couchbase using SSL

I am trying to use Spring Data Couchbase to connect to Couchbase server using SSL certificates. I believe the certificate is configured correctly and can log in to the bucket using CertAuth but I am then seeing a strange ConnectTimeoutException. In…
Daniel Western
  • 141
  • 1
  • 5
6
votes
1 answer

Using PouchDB as offline client-side temporary storage for a regular RESTful webservice

I have a server-side web application with a RESTful web API on top and a client side webapp that talks to it. I would like to implement offline storage and functionality in the webapp in case the server (or internet) is not available. Is it feasible…
Dolf Andringa
  • 2,010
  • 1
  • 22
  • 36
6
votes
2 answers

How to create AWS Lambda deployment package that uses Couchbase Python client

I'm trying to use AWS Lambda to transfer data from my S3 bucket to Couchbase server, and I'm writing in Python. So I need to import couchbase module in my Python script. Usually if there are external modules used in the script, I need to pip install…
bananana
  • 187
  • 1
  • 1
  • 7
6
votes
1 answer

"Error creating bean with name" Couchbase + Spring

I'm trying to figure out how to get Spring to work with Couchbase but for some reason I'm getting the following exception: Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bookRepo':…
tomtomssi
  • 1,017
  • 5
  • 20
  • 33
6
votes
5 answers

Limit access to the Admin REST API of SyncGateway

According to the documentation the Admin REST API of the SyncGateway shouldn't be exposed. Quote: By default, the Admin REST API runs on port 4985 (unless you change the adminInterface configuration parameter). Do not expose this port—It…