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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

Cannot connect to my couchbase cluster with python SDK

I can reach my couchbase cluster with a simple cURL: curl -u $CB_USERNAME:$CB_PASSWORD http://$CB_HOST/pools/default/buckets but I do not manage to connect using the Python SDK: from datetime import ...
Luc's user avatar
  • 16.7k
-3 votes
0 answers
42 views

Compile time error about undefined symbols [closed]

I'm building a RESTful API with echo and couchbase. When I make a connection and after that build the main file having an error. go build main.go command-line-arguments .\main.go:18:19: undefined: ...
oktaya's user avatar
  • 1
1 vote
1 answer
46 views

Dockerfile executes python script not as expected

For a university assignment I need to migrate a postgres dump to couchbase. The whole process has to run within docker services. At the end the whole migration should be executed by running docker ...
ms_7192's user avatar
  • 25
1 vote
1 answer
14 views

Access a different Couchbase host using local Couchbase webpage

After installing Couchbase Server on my macOS, I can access http://localhost:8091, and from there I put my credentials to access the cluster located on my machine. Using the cbq cli like ./cbq -e <...
João Casarin's user avatar
2 votes
1 answer
27 views

Couchbase cant see my query fields/rows when using NEST

I want to see my reviews but it does not show it only the product fields/rows https://query-tutorial.couchbase.com/tutorial/#14 I combine the product and reviews collections together: SELECT p.*, r.* ...
managerit017's user avatar
1 vote
1 answer
36 views

What do to when you are reaching the document size limit?

If you develop an marketplace and every user can create products then the limits can reached sometimes. I have read ebay makes 300k write per second so the document size limit can be reached at some ...
managerit017's user avatar
1 vote
1 answer
42 views

Whats the difference between couchbase capella vs couchbase server?

I have a question and want to ask you: Whats the difference between couchbase capella vs couchbase server ? And what would you recommend to use ? Do I have the same benefits on the capella as the ...
managerit017's user avatar
1 vote
1 answer
28 views

Ottoman.js auto create collection and adaptive index

In couchbase, when you use ottoman.js you have to manually create a collection and an index before you can start querying the database for the new model you create. Is there a way to do this ...
Paul Brink's user avatar
2 votes
1 answer
33 views

Filtering multiple nested array with SQL++ query

In my bucket the documents have this structure { "version" : 1, "root1" : "root1", "root2" : "root2", "i" : [ { ...
Oussama Cherni's user avatar
1 vote
1 answer
102 views

Couchbase .NET SDK does not work with default Testcontainer

I want to create bucket and use couchbase SDK together with Testcontainers. When writing basic code for setting up the container and create bucket I getting not very detailed exception. Couchbase....
CouchbaseUser's user avatar
1 vote
2 answers
42 views

In couchbase what happen when you set PersistTo.NONE?

I have a couchbase setting as follows PersistTo.NONE; ReplicateTo.NONE; ReplicateTo.NONE; means it will not replicate to replica But what does PersistTo.NONE; mean ? In the doc https://docs.couchbase....
olaf's user avatar
  • 253
1 vote
1 answer
26 views

How to scale up window function based query on enterprise couchbase?

Background This question is too broad probably, but the context here is, i have a couchbase 7.1 enterprise server, and i am running with 3 index node and 3 data node setup. I am having secondary index ...
axnet's user avatar
  • 5,374
1 vote
1 answer
56 views

Root Level TRACE Causes Endless Loop and Error, But INFO Level Doesn't in Logback

I'm facing an issue with Logback where setting the root level to TRACE appears to cause an endless loop and results in the following error: 2023-10-23 14:27:54.673+02:00 [DEBUG] Service ID: [] ...
kemal's user avatar
  • 51
1 vote
1 answer
53 views

Continious replicator not syncing in background

we are working on implementing CBLite continuous replicator in our IOS app and one of the requirement is to support background mode. The replicator should stay active when app goes into background ...
Tushar Sharma's user avatar
2 votes
0 answers
28 views

RequestCanceledError when trying to connect

I'm currently migrating one of our services from the old NodeJS SDK version (2.6.12) to the most recent one (4.2.7). For testing I run a local couchbase cluster using docker. The version is Enterprise ...
Timo S's user avatar
  • 21
1 vote
0 answers
46 views

Set ttl for a couchbase document using Spark sql

We have a big data solution built on apache spark primarily supporting data migrations between databases, i have to migrate data from db2 to couchbase using it which internaly relies on sparck-...
user2585494's user avatar
1 vote
1 answer
42 views

Is it possible to query a couchbase server running on a forwarded port from a remote server?

I have a couchbase server running in a remote server. The way I access it is to connect through ssh and tunneling the 8091 port of the remote server to my machine. I can access the couchbase console ...
Paloma Escribano's user avatar
-3 votes
1 answer
35 views

Informatica cloud (IICS)

How can we create connection in IICS Informatica for Couchbase database and extract data from Couchbase to IICS Informatica and is it possible in application integration also if yes than how can we ...
Nitin Shukla's user avatar
2 votes
0 answers
48 views

Couchbase connection taking too much of time in java

We are creating environment variable like this. logger.info(marker, "Couchbase## initializeBuckets tracerConfig start time {}", LocalDateTime.now()); ...
Amit Sinha's user avatar
1 vote
0 answers
32 views

How to Set FailFastRetryStrategy and Avoid Infinite Retry Loop in Couchbase-Spark Connector?

I am working with Couchbase-Spark Connector (couchbase-spark-connector) and facing an issue where if the Couchbase instance is not running or gets disconnected while the Spark job is running, the ...
kkurt's user avatar
  • 420
0 votes
1 answer
65 views

JPA with Couchbase?

I will create an application that needs both structured and unstructured data. For the unstructured part a relational database will be clumsy. When looking for options, I stumbled over Couchbase which ...
queeg's user avatar
  • 8,128
1 vote
3 answers
50 views

How to write SQL++ Couchbase query which returns total count and paged data?

I have a below query SELECT count_data.count, paged_data.* FROM ( (SELECT count(*) as count FROM main_data) AS count_data, (SELECT hosp_d.* FROM main_data AS hosp_d LIMIT 5) AS paged_data ) My ...
axnet's user avatar
  • 5,374
2 votes
1 answer
31 views

Where should Couchbase Server Tools be installed?

I am trying to get the add-on tool for Couchbase, cbimport, to work. I have the install file, couchbase-server-tools_7.2.0-linux_x86_64.tar.gz ...but where to install it on a Mac? Not obvious to me. ...
rixter's user avatar
  • 1,279
0 votes
1 answer
64 views

Couchbase to Postgres two way sync

I have a monolith Postgres database that contains all of my orgs data. We are creating a new offline mobile app that contains subset of this data that can be edited, added, removed by users while they ...
user898788's user avatar
1 vote
0 answers
73 views

Connect to Couchbase Capella with Python: UnAmbiguousTimeoutException

I am trying to connect to Couchbase Capella using the Python SDK. I have tried doing this exactly as outlined here, https://docs.couchbase.com/python-sdk/current/hello-world/start-using-sdk.html This ...
Minura Punchihewa's user avatar
1 vote
1 answer
39 views

Is there a way to connect in a synchronous way to Couchbase Capella?

I have a method that is overriding another one, the problem is that these methods return void, they are not asynchronous operations. Is there a way to make the connection to my Couchbase Capella ...
Gianmarco Mantovani's user avatar
1 vote
0 answers
41 views

Using 2 buckets inside test container for couchbase in spring boot application

We are trying to write integration tests for our usecase where we have 2 buckets in couchbase database and I am trying to create test container with those 2 buckets. I have something like new ...
Srikar's user avatar
  • 361
1 vote
1 answer
57 views

Couchbase buckets vs Ephemeral buckets

Is Couchbase buckets store data in memory too? I want to create live leaderboard system using Couchbase buckets and I run four different queries : 1- select existed rank 2- update rank if existed (...
Amir's user avatar
  • 23
0 votes
0 answers
23 views

Sync Gateway Admin REST API: Sync Gateway Architect vs Full Admin

I’m facing an issue with Couchbase Server 7.2 and Sync Gateway 3.1, both of which I’m using in their Community Editions. I’m having trouble accessing the Sync Gateway Admin REST API; all my attempts ...
Konst's user avatar
  • 91
0 votes
1 answer
40 views

Where can I find a full list of indexes on couchbase

When I run select * from system:indexes on couchase, it shows there're 149 docs, but there's not as many indexes in the Indexes list. So where does couchbase store exhaustive list of indexes? I've ...
theoTheCat's user avatar
1 vote
0 answers
12 views

Couchbase Full Text Search fuzziness matches more than I expect

Below is the structure of my document in Couchbase: { "firstName": "Anna Maria", "lastName": "Smith", } I execute this query where I want to get all the ...
Γιώργος Τερζής's user avatar
1 vote
1 answer
75 views

Unable to join couchbase cluster created using docker compose

I'm using docker desktop and i've got a cointainer that uses this couchbase image: bentonam/couchbase-docker:community I originally set up the container by using this docker-compose.yaml file: volumes:...
raz's user avatar
  • 13
1 vote
1 answer
29 views

Scalable way to retrieve user detail for multiple user id present in a record, where as for each record there are more than 1 userId

I have an array of n records whereas in each record(i) the is a userId (j) which is more than 1 for each record(i). So my question is what is a more optimal way to fetch the user detail via user id ...
Sweta Sharma's user avatar
2 votes
1 answer
33 views

how to join documents of 2 different types on the basis of document id in Couchbase

I have 2 Couchbase document as mentioned below, I am trying to perform a join operation but I am failing to do. Please have a look at the below problem and any help will be very much appreciated. ...
Sweta Sharma's user avatar
1 vote
1 answer
136 views

node_modules/@newrelic/native-metrics: Command failed. node_modules/couchbase: Command failed. Exit code: 127

In macbook m1 pro 2021, ventura 13.5 I have a project that I developed in typescript. It uses yarn, it's supposed to work fine when I do yarn build yarn install yarn start my versions: `yarn -v 1....
icardiyolog's user avatar
1 vote
2 answers
73 views

org.springframework.dao.InvalidDataAccessApiUsageException: Required property docTypeVersion not found for class java.util.Optional

When i try to select some part of couchbase document using a dto class,getting this error. I tried several possible solutions like changing return type of query method Optional<ResponseDto> and ...
Anıl Emre Özçelik's user avatar
1 vote
2 answers
57 views

Optimistic Locking in BASE style databases

BASE style databases are Soft State and Eventually Consistent. I'm aware that different database management systems vary and their configurations make a huge difference. But let's imagine this: Let's ...
Teyyihan Aksu's user avatar
1 vote
1 answer
59 views

Couchbase execute query index scan timed out

I got the following exception when CouchbaseTemplate.findByN1QLProjection() was executed. Is there any way to increase the index scan timed out period? Exception in thread "main" org....
user3573403's user avatar
  • 1,790
1 vote
0 answers
51 views

Couchbase Document Revision Conflict with missing document

I was told by my team that a document that other documents are referencing is missing. I have the document saved in a backup and I'm trying to add it to the database through the Sync Gateway using ...
Justin Lloyd's user avatar
1 vote
0 answers
30 views

Find value from array into array in Couchbase

I unable to make filter in query to get perticular partner data. I have this document in Collection (Couchbase). I need filter to set property id is HTL470.1 and partner id is RDK400 and get result ...
Atish Dev's user avatar
3 votes
1 answer
55 views

How can I disable search for special characters in French & Spanish in Couchbase?

Example: To be searching in couch base for Gutierrez Aragon and result to be expected as Gutiérrez Aragón "tittles": [{ "lang": "en", "name": "Gutiérrez ...
Yuvakkrishnan C S's user avatar
2 votes
1 answer
3k views

"Value is never used as Publisher"

I am currently working on a Spring Boot project. I have connected to a Couchbase, and want to upsert a document to the it. In my repository layer I make use of the upsert() method. Following is my ...
Emre Türker's user avatar
1 vote
2 answers
53 views

Good way to a multi get of keys in couchbase with bucket of memcached type

I have a couchbase bucket of memcached type. I want to bulk get keys from the bucket. N1QL will not work as it is of memcached type. What is a good way to do this? I want to avoid multiple calls since ...
Akshaya Kumar T's user avatar
2 votes
2 answers
200 views

std::bad_cast error while using Python SDK for couchbase

I have written a couchbase code, which is working absoulutely fine when I am running it in my local, but when I am trying to create the docker image, I am getting the error. Python SDK Code: from ...
Adeep Malmotra's user avatar
1 vote
1 answer
41 views

How to subtract a date from current date after converting the date into ISO format in Couchbase

I have a document where I have to get the number of days between two dates. Below is the document :- { "appId": "f6e9f71c-d1b6-45c1-a2f3-e5b3a668646c", "dueDate": &...
Sweta Sharma's user avatar
1 vote
0 answers
128 views

COLLECTION_MAP_REFRESH_IN_PROGRESS reason with RequestCancelledException while connecting to couchbase

I am a newbie to couchbase. In one of my applications, we are occassionally getting com.couchbase.client.core.error.RequestCancelledException with NO_MORE_TRIES (COLLECTION_MAP_REFRESH_IN_PROFRESS) ...
Yo Yo Money Singh's user avatar
2 votes
1 answer
53 views

How to sort documents by value of json object in couchbase query?

I have the below kind of data stored in my collection called persons, I am using spring-data-couchbase for reading this data in Java POJOs, and I am using the @Query annotation in my PersonsRepository ...
axnet's user avatar
  • 5,374
2 votes
2 answers
60 views

how to write a nested couchbase query which returns count and list of objects in spring data couchbase reactive?

I have below query written in my spring data reactive couchbase repository class using @Query annotation WITH subquery1 AS ( SELECT COUNT(*) AS total_count FROM bucketName WHERE condition1 ), ...
axnet's user avatar
  • 5,374
1 vote
0 answers
30 views

Couchbase Testing latency of replicated data

Consider the following scenario: I have got a couchbase database installed in 3 different clusters. As you may know, couchbase db offers seamless selfreplication between clusters. I would like to know,...
James Webster's user avatar
2 votes
1 answer
60 views

Using JOIN, Aggregate function SUM() and GROUP BY in couchbase

I have 5 document in DB. I have a bucket name as 'workflow_update' and the document structure is as below :- { "attributes": { "activity": "Brand Management", ...
Sweta Sharma's user avatar

1
2 3 4 5
81