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
1
vote
1 answer

How to replicate the functionality of remove a document from a CouchBase DB Bucket identified by its ID in Spring Boot?

We are currently using Spring Boot 2.2.13 version with java 1.8-based dependencies. We are upgrading to Spring Boot version 2.7.3. with Java 17 support. The current development uses CouchbaseClient.In the newer versions we hope to migrate, some…
1
vote
0 answers

cbbackupmgr restore gets stuck when resident ratio becomes 0%

I am observing that the cbbackupmgr utility is getting paused while doing a restore for a bucket. This is happening when the resident ratio becomes 0. How and why does the resident ratio becomes 0 here although I see there is data in the…
1
vote
0 answers

DLL load failed while importing pycbc_core while importing Clusters in Couchbase DB

I have installed couchbase Python SDK using pip install couchbase. Following its tutorial here, after importing the following modules: from datetime import timedelta # needed for any cluster connection from couchbase.auth import…
aminrd
  • 4,300
  • 4
  • 23
  • 45
1
vote
0 answers

How to perform Spring Boot version upgrade in an application which uses Couchbase functionality

We are currently using Spring Boot 2.2.13 version with java 1.8-based dependencies. We have been requested to upgrade to Spring Boot version 2.7.3. with Java 11 or if possible Java 17 support. we are facing a lot of challenges in relation to the…
1
vote
1 answer

Does Couchbase Server have a binary JSON storage format?

MongoDB has BSON, ArangoDB has VelocyPack, Postgresql has Jsonb,... Does Couchbase also have its own binary format to work with JSON documents?
3bst0r
  • 35
  • 3
1
vote
0 answers

Docker couchbase and Nodejs connection refuse (1024) - docker-compose

Hi guys I've been debugging since yesterday I have nodejs app and couchbase images, the problem is my nodejs can't connect with my couchbase please see error below. every time I press the login button this error appears (node:1)…
CharlesB
  • 25
  • 4
1
vote
1 answer

couchbase: restore from backup zip

I have the backup of the couchbase taken using /opt/couchbase/bin/cbbackup from a dev box as backup_dev.zip Now, I wanted to restore the backup_dev.zip to the couchbase running locally on my machine. So, I installed Couchbase server which is the…
1
vote
1 answer

Couchbase N1QL query to get id of documents connected as a linked list

I have collection that contain documents with the following structure { id: "doc01", property1: "", nextCollection: "doc02" prevCollection: null }, { id: "doc02", property1: "", nextCollection: "doc03", …
1
vote
1 answer

is there a way to query same db field with two different where clause in the same query?

I have a condition that I need to query Couchbase database field with two different where clauses in the same query. for example: for 'sales' field in a database entity, I want to have one query to get the sales in a single hour and whole day output…
1
vote
1 answer

How to perform Full Text Search in Couchbase using Spring Data Repository

I have created a full-text search index for my bucket and I am able to use it in web UI and get some search results. Still, I can't find an appropriate example of how to create a repository or method in the existing repository using Spring Data…
eternal
  • 339
  • 2
  • 15
1
vote
1 answer

Javascript large Number parsing

I am using a Couchbase view to emit a few records. Among those records, there is one record which is 19 digit long. When Couchbase view (written in javascript) pulls those record, it rounds off the record into smaller one and loses…
deewreck
  • 113
  • 7
1
vote
1 answer

Problem monitoring Couchbase using Google Ops Agent

I have enabled the Google Ops Agent on our Couchbase servers, and the logs are collecting fine. The documentation says to ingest metrics you need to specify the endpoint…
1
vote
0 answers

id field not persisted in couchbase database

I'm picking an id field from a JSON request body, though I can log it to the console I cant persist it to another couchbase document. I used @JsonProperty("id") for the id field in the DTO class but with no luck. Any other field from the request…
1
vote
1 answer

Connecting couchbase with nodejs - invalid_argument

async function cb() { const clusterConnStr = "couchbases://localhost:8091"; const username = "Administrator"; const password = "xxx"; try { const cluster = await couchbase.connect(clusterConnStr, { username: username, …
Rahul
  • 1,858
  • 1
  • 12
  • 33
1
vote
0 answers

Couchbase view pagination with java client

I am trying to pull records from a view which emits in following way DefaultViewRow{id=0329a6ac-84cb-403e-9d1d, key=[“X”,“Y”,“0329a6ac-84cb-403e-9d1d”,“31816552700”], value=1} As we have millions of record, we are trying to implement pagination to…
deewreck
  • 113
  • 7