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

View Collation with Couchbase

We are using couchbase as our nosql store and loving it for its capabilities. There is however an issue that we are running in with creating associations via view collation. This can be thought of akin to a join operation. While our data sets are…
hvd
  • 51
  • 2
5
votes
2 answers

Couchbase as a cache and cache invalidation

I'm thinking about using Couchbase as a cache layer. I'm aware of the many advantages provided by Couchbase, like the easy scalability. But what interests me more is the rich document model of couchbase, compared to the simple key-value one of…
Pierre Murasso
  • 591
  • 7
  • 14
5
votes
3 answers

Couchbase lite API Reference

I wonder where is reference API that would show how to use Couchbase Lite queries, crud functionality.. Going here (to official website doc page): http://www.couchbase.com/documentation Doesn't help much. There just concepts, philosophy. I'm…
ses
  • 13,174
  • 31
  • 123
  • 226
5
votes
2 answers

Couchbase query based on time

I've been trying to figure out how to get data back based on a timestamp. Basically I want to query 100 docs based on a timestamp field. the 100 docs should be older than the timestamp I passed it. Also I want to create a refresh where I can pass a…
Michael
  • 1,241
  • 1
  • 13
  • 25
5
votes
1 answer

Why emit(meta.id, NULL)

I've read some sample code (especially from the Couchbase Model Views demo project link) and realized the map() function is so strange. function(doc, meta) { if (doc.type == "beer" && doc.name){ emit(doc.name, null); } } Why the emit…
Phillip
  • 141
  • 8
5
votes
3 answers

How do I keep existing data in couchbase and only update the new data without overwriting

So, say I have created some records/documents under a bucket and the user updates only one column out of 10 in the RDBMS, so I am trying to send only that one columns data and update it in couchbase. But the problem is that couchbase is overwriting…
ramu
  • 1,325
  • 2
  • 17
  • 25
5
votes
1 answer

Couchbase: net.spy.memcached.internal.CheckedOperationTimeoutException

I'm loading local Couchbase instance with application specific json objects. Relevant code is: CouchbaseClient getCouchbaseClient() { List uris = new LinkedList(); uris.add(URI.create("http://localhost:8091/pools")); …
user1697575
  • 2,830
  • 1
  • 24
  • 37
5
votes
2 answers

Installing couchbase client SDK for PHP on XAMPP on Windows

as I couldn't find any question regarding this subject and after getting in touch with Couchbase support I was finally able to setup couchbase PHP SDK on XAMPP on Windows (7 untimate in my case, but this should work on any version), so I went ahead…
maxidirienzo
  • 99
  • 1
  • 6
5
votes
1 answer

Does Couchbase uses SQLite as its persistence layer?

Recently I was reviewing Couchbase as a NoSQL document database. It looks amazing the way it handles fail overs and how you can easily add a new DB server. I found out the way you can define the views is like CouchDB. So I thought Couchbase is using…
5
votes
1 answer

Couchbase View not update immediately?

I just follow this post to test Couchbase View.When edit view use Couchbase GUI and save,the view didn't update immediately. For example.With php scripts store some array to Couchbase.And define a named 'last' view in 'dev_sessions'…
qkboy
  • 208
  • 3
  • 7
5
votes
1 answer

Best solution for a caching system that supports sharding, replication and has low latency

We're in the process of deploying a highly dynamic website. About 20,000 items are processed and updated every minute at peak capacity. Each item can range from a size of 1kb to 500kb. These items needs to be retrieved, processed and updated in…
Shah W
  • 147
  • 2
  • 11
5
votes
1 answer

Couchbase 2.0 vs Couchbase 1.8?

I'm evaluating some database possibilities for a large-scale (many billions of entries, many terabytes of data) storage solution where we will do random primary key-lookups almost exclusively. Given it's capabilities, Membase (Couchbase 1.8) looks…
Joel Westberg
  • 2,656
  • 1
  • 21
  • 27
5
votes
1 answer

what is the proper way to separate data in couchbase

I am thinking of working with couchbase for my next web application, and I am wondering how my data should be structured, specifically the use of buckets. For example, assuming each user is going to have a lot of unique data, should a separate…
millerkil
  • 53
  • 3
5
votes
1 answer

CouchBase range search

I'm considering using CouchBase for a very read heavy and write heavy application. I'll also need to support searching based on different attributes of the documents as well as range queries. CouchBase has views to allow searching beyond key value…
Kailash
  • 785
  • 1
  • 8
  • 17
4
votes
3 answers

Does the startup time of mobile Couchbase make impractical?

I have just started exploring Couchbase Mobile for Android and have been impressed with how far it has progressed. It would be nice to have an alternative to Android's SQLite which would involve less boilerplate code. The biggest issue I have…
Eric Levine
  • 13,536
  • 5
  • 49
  • 49