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
0 answers

doOnEach rather that flatMap/concatMap

Introduction I am currently working on a project to achieve a bulk insertion in a Couchbase database. For this, I chose Quarkus Reactive to get data from the client. And I used a Flux to insert all the data to database. For each data inserted, I…
ThrowsError
  • 1,169
  • 1
  • 11
  • 43
1
vote
1 answer

Error while connecting to Couchbase using python

I am trying to connect to my couchbase database. I connect to my couchbase server on browser successfully like this : X.X.X.X:8091 But when I want to connect to that using python script I get this error : SystemError:
Obtice
  • 1,205
  • 3
  • 18
  • 44
1
vote
2 answers

How can I display CouchDB Complex output like this in one request?

I just the beginner of couchdb so I may be misunderstand point of view so you can teach and discuss with me Doc Type - User - Topic - Comment Requirement - I want to webboard - 1 Request to get this complex doc Output I need KEY "topic-id" , …
DominixZ
  • 162
  • 4
1
vote
1 answer

Query runs successfully and fetches empty result from user defined bucket, scope, and collection

I have set up a local couchbase one node cluster environment on Ubuntu. Query runs and fetches result from default bucket after importing all the JSON documents in zip folder using cbdoclcoader command to default…
Hassan Munir
  • 169
  • 2
  • 11
1
vote
2 answers

Couchbase Java LIKE query giving syntax error - at %!(NOVERB)

Below is the java code: QueryResult result = bucket.defaultScope().query("select * from _default d where d.name like %$nameParam%", QueryOptions.queryOptions() .parameters(JsonObject.create().put("nameParam",…
akash verma
  • 159
  • 1
  • 15
1
vote
1 answer

How to fetch a list from document using n1ql with spring-data-couchbase

I want to fetch actions list in user class by username with this query but its not working @Repository public interface IUserRepository extends CouchbaseRepository { @Query("SELECT actions from #{#n1ql.bucket} where #{#n1ql.filter} and…
1
vote
1 answer

curl command to upload data from a file to couchbase bucket

I have a use-case, where I wanted to upload json data from a file to a couchbase bucket using CURL command. I am using the below command curl -v localhost:8093/query/service -u Administrator:${password} -d 'statement=INSERT INTO…
sagar verma
  • 404
  • 4
  • 10
1
vote
1 answer

SpringBoot CouchbaseTemplate: findbyId is working But findByQuery not

Can anyone help me to undersand: In Spring Data Couchbase: spring-data-couchbase : 4.3.0 Couchbase Version: 6.6.2 By using couchbasetemplate findById(Entity.class).one(id) is working fine, I am able to fetch data findByQuery(Entity.class).all()…
1
vote
0 answers

How to configure two Couchbase source using Spring boot

How can i configure two or more couchbase data source using springboot-data-couchbase?, can anybody help me on this ? tried this but isn't working : How to configure multiple couchbase data source using springboot-data-couchbase?
Ram
  • 21
  • 3
1
vote
0 answers

Couchbase backup item count is different to restoration item count

I have a couchbase server (bak01) which backs up up a remote cluster cluster (cls01), I also have a cluster I'm testing restores to once a week (rst01). Bak01 does a full backup of cls01 once a week and hourly incrementals. I can query the…
keeer
  • 783
  • 1
  • 5
  • 11
1
vote
1 answer

Assigning the values to array from jq and iterate over the values using cb commands

I have the below json in a file from which I wanted to take the "ids" from all price object and put into an array variable. { "documentType": "Prices", "fullCharges": [ { "ResourceId": null, "price": { "href": null, …
sagar verma
  • 404
  • 4
  • 10
1
vote
1 answer

Couchbase node.js client on AWS Linux fails to install

I am trying to run a simple Couchbase node.js client. On AWS Linux box I run sudo yum install gcc-c++ Then run npm install couchbase but there are compilation errors such as npm ERR! lcb_sockdata_t *lcbio_C_ai2sock(lcbio_pTABLE io, struct…
Bill007
  • 19
  • 2
1
vote
4 answers

Apache Ignite with Couchbase as Persistence

I am trying to use Apache Ignite with Couchbase at the backend as persistence layer. I am doing this as a data grid so that any changes made to ignite in-memory cache gets written to couchbase eventually. I am implementing this with spring-boot and…
bivrantoshakil
  • 421
  • 1
  • 5
  • 10
1
vote
1 answer

Couchase Node Js sdk connection

I am trying to connect my couchbase server but i am getting warning msg when i an trying to create a connection instance on app.js on my express.js app. Here is the app.js const express = require('express'); const bodyParser =…
Muhammad Ibrahim
  • 507
  • 9
  • 19
1
vote
0 answers

Couchbase Java SDK: look up a range of document keys

Using the couchbase SDK or spring data couchbase, is there a way to look up documents in a [low, high] range of ids, without using an index? In more details, I have a bucket with document ids structured in the standard ${entityType}::${id} format,…
bernard paulus
  • 1,644
  • 1
  • 21
  • 33