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

How to increase RAM memory for cluster in couchbase?

For example I have created cluster with 1GB RAM memory per node. After some time I want to increase RAM memory for claster for example to 2GB per node. I assumed that I can do that through Couchbase Console. But "edit" button is disabled for every…
Vyacheslav
  • 345
  • 1
  • 6
  • 13
9
votes
3 answers

CouchDB On-the-fly attachments through command-line

PROBLEM I want to be able to attach one/multiple attachment(s) as the document is created, through the command-line (see below). I can only get this to work in Futon (Couchbase), but only after a document has already been created. I have tried the…
EdvardG
  • 131
  • 2
  • 10
9
votes
2 answers

Sync and delete removed documents from CouchDB and Couchbase-lite

I'm currently using couchbase-lite inside my iOS and android application to sync down files from a database running CouchDB. Every so often I remove files that are not longer needed, and I would like the same files to be removed from the mobile app…
9
votes
1 answer

can't stop docker couchbase-community

I started couchbase community with docker as following: docker run -e CB_RAMSIZE=256 -e "CB_ADMIN_PWD=123456" --name couchbase-community -p 8091-8094:8091-8094 -p 11210:11210 crobin/couchbase-community I'm now trying to stop it with docker stop…
Jas
  • 14,493
  • 27
  • 97
  • 148
9
votes
1 answer

Unit & Integration Testing with Couchbase

I recently setup a new project that is using Spring-Data-Couchbase and I am completely stumped on how I should approach unit and integration testing here. Typically with JPA I can mock out my Repository somehow (assuming this is similar for…
Matthew Fontana
  • 3,790
  • 2
  • 30
  • 50
9
votes
1 answer

Couchbase - retrieving multiple documents using key prefix

in Couchbase DB, is it possible to retrieve multiple documents using key prefix as query string, and it returns all the key-values which has key starting with supplied key prefix (like operator kind of thing)? without using Views or…
Anand
  • 4,523
  • 10
  • 47
  • 72
9
votes
5 answers

Couchbase REST API for inserting/updating a document

I was looking for the couchbase REST API's for insert/update a document in given bucket, but I couldn't find any. Does anybody knows if such API exist? Only API i could find is for updating design…
zer0Id0l
  • 1,374
  • 4
  • 22
  • 36
9
votes
4 answers

I am studing couchbase, can anyone exlain what exactly is bucket and vbucket?

I am studing couchbase now, I am really confused by the official description of the term 'bucket' and 'vbucket', can anybody explain what exactely a bucket or vbucket is ? what's the difference? Better to make some analogies and give some examples.
user3012468
  • 93
  • 1
  • 3
9
votes
1 answer

Using an Increment counter for unique key generation in a Couchbase cluster

The most common question I hear about Couchbase and other NoSQL databases is how to generate unique keys for records - or more specificly - how to replicate the AUTO INCREMENT feature of common Relation Databases. The solution in Couchbase often…
Mike Hancock
  • 230
  • 2
  • 8
9
votes
2 answers

Alternate Couchbase UI

Does anybody know if are there any alternative Couchbase user interfaces other than the official one provided when installing Couchbase ? I'm looking for something like PhpMyAdmin for MySQL, which does NOT have to look like it or to have the same…
Catalin Enache
  • 758
  • 1
  • 10
  • 17
9
votes
3 answers

ElasticSearch - Using FilterBuilders

I am new to ElasticSearch and Couchbase. I am building a sample Java application to learn more about ElasticSearch and Couchbase. Reading the ElasticSearch Java API, Filters are better used in cases where sort on score is not necessary and for…
aces.
  • 3,902
  • 10
  • 38
  • 48
9
votes
2 answers

max number of couchbase views per bucket

How many views per bucket is too much, assuming a large amount of data in the bucket (>100GB, >100M documents, >12 document types), and assuming each view applies only to one document type? Or asked another way, at what point should some document…
Justin Francis
  • 248
  • 4
  • 10
8
votes
1 answer

Couchbase Lite pull replication fails with error in a sample Couchbase Mobile End to End testing project

I am getting started with Couchbase Mobile. The feature that I am most interested (for now) is PULL replication (keep data on mobile in sync with backend database). I followed the steps described in Using Docker to develop with Couchbase Mobile and…
500865
  • 6,920
  • 7
  • 44
  • 87
8
votes
2 answers

N1QL Query times out when Using parameterized IN clause

Using Couchbase server 4.1.0 (and 4.5), Java SDK 2.2.8 (also tried with 2.2.7, 2.3.1, & 2.3.3), I have a query leveraging a secondary index which runs fine when I run my code locally and even via CBQ (CBQ takes about 3ms) on the AWS server. However,…
Marquis Blount
  • 7,585
  • 8
  • 43
  • 67
8
votes
2 answers

Best practice to store couchbase views

My application has couchbase views (map-reduce). Presently, I am writing them on a text file and loading them for each new couchbase server from the couchbase admin page (tedious and error-prone process). Is there anyway I can load all those views…
aneez
  • 693
  • 1
  • 7
  • 18