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
5
votes
3 answers

MongoDB vs Couchbase performance on single node

I am doing POC on document data store so for that I have selected MongoDB and CouchBase for evaluation. Environment Detail is as below Machine : Centos 6.7, 2 core cpu, CPU MHz: 2494.078, RAM : 7 GB (6 GB Free) MongoDB db version v3.2.0 with default…
Vipul
  • 816
  • 4
  • 11
  • 26
5
votes
1 answer

unable to connect through sync_gateway to remote server

I am trying to start sync_gateway from cmd with following command: sync_gateway -url http://75.76.221.21:8091 I received following error: 20:33:23.014229 WARNING: Error installing Couchbase design doc: Put …
Waqas
  • 49
  • 4
5
votes
0 answers

No Mapping metadata found

Caused by: org.springframework.data.mapping.model.MappingException: No mapping metadata found for java.lang.Object at org.springframework.data.couchbase.core.convert.MappingCouchbaseConverter.read(MappingCouchbaseConverter.java:140) I am…
ZHandley
  • 51
  • 2
5
votes
2 answers

Couchbase cbdocloader errors

I am trying to add multiple JSON documents to my couchbase server from a zip file (each JSON document is in it's own file and the file is named after the id.json) using the cbdocloader tool. Using the following command syntax ./cbdocloader -n…
PDStat
  • 5,513
  • 10
  • 51
  • 86
5
votes
3 answers

Search for documents within a given radius with Couchbase

I want to write a geospatial view that takes searches for the following document within a one mile radius from a given latitude and longitude. How do I do this? { "agree_allowed":true, "assigned_by":"", "assigned_to":"", …
rash
  • 91
  • 7
5
votes
0 answers

Couchbase PHP SDK gives generic network error

I am running a website with 2 servers for website code (in PHP), and 1 server as load-balancer. All 3 are also running couchbase instances, as part of one single cluster. In PHP code, I using couchbase buckets as follows: $cluster = new…
user1231969
5
votes
5 answers

How to set couchbase operation timeout in spring data couchbase?

I have a simple spring project which try to retrieve a document from couchbase using spring-data-couchbase. I have configured the config by extending AbstractCouchbaseConfiguration. Everything works perfectly fine. Since I use couchbase as a cache,…
Aris
  • 77
  • 1
  • 6
5
votes
3 answers

Elastic Search-Search string having spaces and special characters in it using C#

I am looking for ElasticSearch nest query which will provide exact match on string having spaces in it using C#. for example - I want to search for a word like 'XYZ Company Solutions'. I tried querystring query but it gives me all the records…
Diboliya
  • 1,124
  • 3
  • 15
  • 38
5
votes
2 answers

Enabling Couchbase N1QL engine with node.js

I'm trying to run some N1QL queries using couchbase npm package. Here's the steps I took before running the code: Installed and executed Couchbase on OSX Navigated to :8091 and set up the credentials as well as the beer-sample bucket Downloaded…
dsp_099
  • 5,801
  • 17
  • 72
  • 128
5
votes
2 answers

Trouble configuring/building couchnode on ubuntu

I have installed both nodejs, and the module couchbase via npm. couchbase is installed too, and I can access to the backend via the browser. The same server.js file does work on windows. I have installed python 2.7. am I missing something? Im…
InsOp
  • 2,425
  • 3
  • 27
  • 42
5
votes
1 answer

couchbase: epmd: node name already occupied couchbase babysitter_of_ns_1

Sep 15 12:45:36 build64 epmd: epmd: node name already occupied babysitter_of_ns_1 Sep 15 12:46:29 build64 epmd: epmd: Disallowed KILL_REQ, live nodes Sep 15 12:50:58 build64 epmd: epmd: got KILL_REQ - terminates normal Sep 15 13:03:29 build64 epmd:…
dragonfly
  • 168
  • 1
  • 13
5
votes
1 answer

Confused with CouchDB and Couchbase

I'm investigating CouchDB and Couchbase as I am looking for a DB solution for a web application that I will eventually be able to make into a native Android/iOS app as well. From what I understand, CouchDB/Couchbase excel at being able to use the…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
5
votes
1 answer

CouchBase Lite, exclude documents with certain keys in query

I have a simple view with mapper that emits docs with some keys. com.couchbase.lite.View view = database.getView(VIEW_NAME); if (view.getMap() == null) { Mapper map = new Mapper() { @Override public void…
Andrii Bas
  • 613
  • 1
  • 6
  • 20
5
votes
2 answers

Create slice of unknown type?

I'm trying to fetch multiple values using this function (from go-couchbase). func (b *Bucket) Gets(k string, rv interface{}, caso *uint64) error { data, _, cas, err := b.GetsRaw(k) if err != nil { return err } if caso != nil…
Filip Haglund
  • 13,919
  • 13
  • 64
  • 113
5
votes
1 answer

Serving images when using Couchbase as app server?

I'm working on a little express app which currently allows users to login (via passport) and see information regarding their friends, i.e. purchase history, likes etc. Ideally I want each user to have an accompanying profile photo and for items in…
Philip O'Brien
  • 4,146
  • 10
  • 46
  • 96