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

MacOs M1 env cant install php-ext couchbase

my env is macos M1 core. php version: 5.6 I done this: brew install libcouchbase and also libcouchbase@2 installed. and I cant install the php couchbase extension. I treid: pecl install https://pecl.php.net/get/couchbase-2.6.0.tgz It…
吴伟民
  • 21
  • 2
1
vote
1 answer

Couchbase 7 Connection Issue with SSL

I am trying to connect to couchbase 7 using c sdk 3.2 using ssl but i always end up getting timeout error on LCB_WAIT.All other lcb call returns success but on reaching lcb_wait i end up getting timeout error Below is my code snippet: const char…
kritika arora
  • 55
  • 1
  • 4
1
vote
1 answer

couchbase, how to match the entire sub document

Here are example records in couchbase { a: "iama", b: { c: "iamc", d: "iamd", }, f: "iamf" // ... other properties we don't care about } { a: "iama", b: { c: "iamc", d: "iamd" }, f: "iamnotf" // ... other…
Elaine Chen
  • 177
  • 1
  • 13
1
vote
1 answer

Sub query in where condition not working - N1QL

Below with sub query is not working. When I execute the sub query separately, I can see it returns results. But when this sub query is added to where condition, I get "Results" : [] Select T1.* FROM `masterdata` AS T1 WHERE T1.doc="Calendar" AND…
Doss
  • 27
  • 4
1
vote
1 answer

Reactive couchbase issue content of this Observable (viewRow) is already released

I’m using spring-data-couchbase with reactive approach & getting the following error: The content of this Observable (viewRow) is already released. Subscribe earlier or tune the CouchbaseEnvironment#autoreleaseAfter() Method definition default…
1
vote
0 answers

Error in using Spark connector for Couchbase

I am trying to write the following Spark dataframe into Couchbase: import com.couchbase.spark.sql._ import com.couchbase.spark._ import com.couchbase.client.java.document.JsonDocument object Test{ case class Person(name: String,…
R.al
  • 45
  • 6
1
vote
1 answer

GIN-like index in Couchbase

As I saw in Couchbase documentation it's possible to create an index for the particular fields of a document: https://docs.couchbase.com/server/current/n1ql/n1ql-language-reference/createindex.html CREATE INDEX country_idx ON…
Sogawa-sps
  • 147
  • 10
1
vote
0 answers

Couchbase Merge and Update query not updating consistently

We have an old version of Order document in our couchbase(in millions) which we need to update with customer id from a Customer document. We came up with the following query to do so : MERGE INTO `order_bck` orderdoc USING (SELECT…
humbleCoder
  • 667
  • 14
  • 27
1
vote
1 answer

N1QL document containing list of objects query

I am fairly new to N1QL queries. I have some documents like this. [ { "id":"id_1", "data":{ "name":"name_1" }, "type":"type_1" }, { "id":"id_2", "data":{ "name":"name_2" }, …
Ralf
  • 363
  • 3
  • 9
1
vote
1 answer

Couchbase Query Name Alias

Actually I am working with Couchbase N1Ql Query for retrieving data from db which has calculation in it a sample similar model of my query is below: SELECT 2+1 AS Greeting from something where Greeting>1; The Error I'm getting is : Ambiguous…
Surya R
  • 445
  • 2
  • 10
1
vote
1 answer

Is couchdb good for lot of documents with file attachments over multiple servers?

i would love to hear your thoughts about couchdb, and would it handle my use case. What i will do, i will have database where i store documents in size about 20kb with attachment of 1-10MB for each. will couch handle database 10TB or more per…
Edmhs
  • 3,645
  • 27
  • 39
1
vote
0 answers

Prometheus Couchbase Exporter container is not working

I am trying to run the couchbase exporter(latest version) in docker to get the couchbase metrics in to Prometheus but the container is crashing with the below error…
Ragha
  • 11
  • 1
1
vote
2 answers

How to execute dynamic n1ql query with Spring data CouchbaseTemplate

I am migrating spring data couchbase to 4.* With previous version, I used to execute dynamic N1Ql query like below N1qlQueryResult result = couchbaseTemplate.queryN1QL(N1qlQuery.simple(complexStringQuery)); Now with upgrade, I see queryN1QL is…
Deepak Naik
  • 43
  • 1
  • 5
1
vote
1 answer

first_error_message: 'syntax error - at ''

I'm trying to update an array inside a specific json document on a Couchbase Bucket. Basically what I want to do is to insert a new object to the array. When I try below query on the data Base itself, the query is working perfectly, UPDATE…
Valery
  • 11
  • 2
1
vote
1 answer

Getting Documents in CouchBase cluster without DocumentID or N1QL

I am trying to get a single document from a couchbase cluster. However, N1QL is disabled in the cluster. I wanted to know if there is any way to get the document from the bucket without a N1QL query. I do not know the document ID's as well. I simply…