What is Couchbase?
Couchbase is a distributed and highly scalable memory-first document database that provides the capabilities you like most from a traditional relational database. Plus, it’s fast, flexible, always on, and has no single point of failure. (Note: Couchbase is not CouchDB)
Key attributes of Couchbase include:
- Data stored as JSON
- Data queried via SQL++
- Supports multi-document ACID transactions
- Uses key-value access
- Has a built-in search engine
- Provides high-performance caching
- Automatically shards data
- Supports analytic workloads
- Has an advanced mobile database
Advantages over MongoDB™
Feature | Couchbase | MongoDB |
SQL |
||
Sharding |
Automatic |
Manual |
Architecture |
Shared-nothing, efficient |
Requires primary/secondary, config and load balancing servers |
Cache |
Built-in |
Not included |
Query examples
Couchbase SQL++ |
MongoDB™ Query |
---|---|
|
|