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
4
votes
1 answer

Couchdb rereduce understanding and sum

I don't know if this is really rereduce but that's why I'm here. I have this: "afrikan" ID: f6733302df85ac109397f4b6030005bf [1, 2] "afrikan" ID: f6733302df85ac109397f4b6030006d1 [1, 3] "afrikan" ID: f6733302df85ac109397f4b6030012b6 [2,…
Andrew
  • 6,254
  • 16
  • 59
  • 93
4
votes
1 answer

Test containers: ignore parent `EXPOSE` instruction from Dockerfile

I'm trying to run Couchbase v.5.1.1 docker container for test purposes via Test container with fixed exposed ports, like: trait CouchbaseTestEnvironment extends ForAllTestContainer { this: Suite => def couchbaseContainer:…
Ivan Kurchenko
  • 4,043
  • 1
  • 11
  • 28
4
votes
1 answer

Couchbase deleted documents reappearing in database

We are experiencing a problem where deleted documents are reappearing on our Couchbase server. We have a scenario where documents are created on CBL. These documents are synced up to the server. The user realizes an error has been made and flags the…
4
votes
2 answers

Couchbase benchmark reveals very slow INSERTs and GETs (using KeyValue operations); slower than persisted MySQL data

I did a small benchmark test to compare Couchbase (running in Win) with Redis and MySql (EDIT: added Aerospike to test) We are inserting 100 000 JSON "documents" into three db/stores: Redis (just insert, there is nothing else) Couchbase (in-memory…
Ted
  • 19,727
  • 35
  • 96
  • 154
4
votes
1 answer

How to select field from a sibling array?

I would like to select value ('Value') from element with FieldName=Field4 where value ('Value') is null from element with FieldName=Field2. { "FormName":"Form1", "Id": "ID1", "Module":{ "ModuleType":"Form", …
Jonas
  • 119
  • 9
4
votes
1 answer

Spring-boot Couchbase filter by attribute throwing IndexOutOfBoundsException

When I am trying to read entire bucket by findAll(Pageable) works fine. When I try to filter paged read - findByUserId (find by userId) - getting java.lang.IndexOutOfBoundsException. filtering documented…
4
votes
0 answers

couchbase mock with nodejs sdk 3.0

Ths is a newbie question, there seems to be documentation in previous versions of the nodejs SDK on using couchbase.Mock does this exist in 3? How do I set it up? What I tried: I tried setting up like in the docs here but I get: make test make: ***…
Michael
  • 4,538
  • 5
  • 31
  • 58
4
votes
1 answer

Batch processing with reactive Couchbase java driver

Suppose I have a bucket from which I need to fetch documents that have a date older than now. This document looks like this: { id: "1", date: "Some date", otherObjectKEY: "key1" } For each document, I need to fetch another document using its…
Monta
  • 1,136
  • 1
  • 12
  • 28
4
votes
1 answer

Couchbase Analytics Java SDK connection creation + Security Roles

I am using the Couchbase Java SDK to query a couchbase analytics service. The process is covered in this tutorial: https://docs.couchbase.com/java-sdk/2.7/analytics-using-sdk.html The Java SDK provides a Bucket object as the means of accessing…
robjwilkins
  • 5,462
  • 5
  • 43
  • 59
4
votes
1 answer

Couchbase parameterized query with numeric values

I'm trying to add numeric values to parameterized AnalyticsQuery but keep getting errors when the query runs. The java creating the query looks like this: private ParameterizedAnalyticsQuery aggregateQuery(String userId, Long from, Long to) { …
robjwilkins
  • 5,462
  • 5
  • 43
  • 59
4
votes
0 answers

java.lang.IllegalStateException: The content of this Observable is already released

I am using Spring web flux + Reactive Couchbase 6.0. After deploying my code, I am getting below two errors off and on. First Error: [QueryEndpoint]: Got error while consuming KeepAliveResponse. java.util.concurrent.TimeoutException: null at…
Bifrost
  • 417
  • 5
  • 23
4
votes
1 answer

`sudo pecl install couchbase` gives an error of `ERROR: failed to mkdir /usr/local/Cellar/php/7.3.8/pecl/20180731`

I am setting up couchbase but when I try to install the Couchbase PHP extension by running the command sudo pecl install couchbase it fails with an error of ERROR: failed to mkdir /usr/local/Cellar/php/7.3.8/pecl/20180731
CodeChef
  • 69
  • 4
4
votes
1 answer

Spring data Couchbase generated query method not thread safe

When i extend CouchbaseRepository interface in order to do a findByField exp findByProvider --> the method generated is not thread safe : My interface : public interface WarehouseRepository extends CouchbaseRepository { …
Lho Ben
  • 2,053
  • 18
  • 35
4
votes
0 answers

Spring Boot retrieve data from Couchbase for HashMap type

I need to store dynamic data on Couchbase and I am using Spring Boot. When I send a request with dynamic data, it is stored on Couchbase successfully. But when I try to retrieve data with repo.findAll(pageable), I am getting an error. My entity…
4
votes
1 answer

Couchbase & Spring boot - DefaultOrphanResponseReporter - Orphan responses observed

I'm running a Spring Boot application that has a Couchbase DB. In the application log, I see hundreds of records like that: [cb-orphan-1] [31mWARN [0;39m [32mc.c.c.c.t.DefaultOrphanResponseReporter[0;39m - Orphan responses observed: …
riorio
  • 6,500
  • 7
  • 47
  • 100