Couchbase Server | Document Database

Couchbase Server: Document Database — Develop with Agility, Operate at Any Scale

Get Started Now
Overview

What is Couchbase Server?

Couchbase Server is a NoSQL document database with a distributed architecture for performance, scalability, and availability. It enables developers to build applications easier and faster by leveraging the power of SQL with the flexibility of JSON.

NoSQL Evaluation Guide Relational to NoSQL

Deploy Couchbase Server as a:

Couchbase Server provides a flexible data model...on which we can develop content-rich, highly dynamic, interactive applications that will transform how people teach and learn.

Christopher Tse Director, MHE Labs at McGraw-Hill Education
What's New

Introducing Couchbase Server 4.5

What's New and Improved

The Query Workbench, fully integrated, with its query editor and schema browser, eases the transition from relational to NoSQL with graphical tools for understanding how the data is modeled and what it looks like.

The query editor features multi-line formatting, syntax highlighting, and autocomplete, and can display query results as a document, table, or tree. In addition, the query shell (CBQ) is now fully scriptable, capable of executing multiple commands via a script.

Documentation: Query Workbench | CBQ | Query Monitoring

The addition of memory-optimized indexes, array indexing, and index joins enable high performance queries ‒ including those with joins ‒ while a new consistency option, read-your-own-writes, improves performance when stronger consistency is required.

Memory-optimized indexes utilize in-memory, lock-free skip lists for the best performance and concurrency possible. Standard indexes have also been improved, enabling circular writes to reduce disk IO and the frequency of compaction.

Documentation: Memory-optimized Indexes | Array Indexing | Index Joins | RYOW | Circular Writes

The addition of role-based access control and support for X.509 certificates further eases the transition from relational to NoSQL, enabling enterprises to meet higher security requirements with existing security infrastructure and protocols.

Combined with authorization and authentication, encrypted communications, LDAP integration, and auditing, these features give enterprises the capabilities ‒ and confidence ‒ to deploy a NoSQL database in secure environments.

Documentation: Role-based Access Control | X.509 Certificates

A new high-performance backup / restore tool is now available for enterprises that require a shorter recovery time (RTO) and a closer recovery point objective (RPO) as part of their business continuity plans.

It leverages concurrent streams and multiple threads to backup and restore data faster. In addition, it introduces Backup Archives and Backup Repositories to simplify incremental backups ‒ data, metadata, configuration, and scripts.

Documentation: Enterprise Backup & Restore

+ / (Backup Archive) 
  + prod-dc1 (Backup Repository) 
    backup-meta.json 
    + 2016-06-22T06_00_00 (Backup) 
      + profiles (Bucket Backup) 
        bucket-config.json 
        views.json 
        indexes.json 
        full-text.json 
        + data 
          shard-0.fdb 
      + products (Bucket Backup) 
        bucket-config.json 
        views.json 
        indexes.json 
        full-text.json 
        + data 
         shard-0.fdb 

The addition of sub-document operations enables partial updates, reads, and more — eliminating the need to read and write whole documents. It not only simplifies development by providing fine-grained access to data, it improves performance by reducing network IO.

With the sub-document API, applications can not only insert, remove, replace, and upsert fields – they check to see if fields exist, and when it comes to arrays, they can append, prepend, and insert elements, including unique elements.

Documentation: Sub-document Operations

bucket.lookupIn(“companies::couchbase”)
   .exists(“twitter”)
   .get(“phone”)
   .get("email")
   .execute();

bucket.mutateIn(“companies::couchbase”)
   .insert(“twitter”, “@couchbase”, true)
   .arrayAddUnique(“features”, “RBAC”, true)
   .replace(“latest”, “Couchbase Server 4.5”)
   .counter(“releases”, 1, true)
   .execute();
Product Datasheets and White Papers: Overview | What's New | Security

"Couchbase Server 4.5 delivers impressive new capabilities from enhanced security features to significantly faster queries and data access, which allow us to expand and accelerate our use of Couchbase to support more applications and use cases."

Michael Hirschberg, Senior System Engineer Big Data, Amadeus IT Group

Features

Features

Develop with Agility

Easier, Faster Development

Iterate faster by leveraging a flexible data model and a powerful query language to write less code, avoid database changes.

Flexible Data Modeling

Add features by extending the data model to nest or reference data, or by adding new indexes and queries on the same data.

Powerful Querying & Indexing

Perform complex queries, with or without joins, and benefit from a built-in query editor and schema browser - no code required.

SQL Integration & Migration

Migrate relational data and queries as is, continue to leverage enterprise BI and reporting tools with full support for SQL.

Big Data Integration

Integrate with Spark, Kafka, and Hadoop to enrich, distribute, and analyze operational data streams in real time.

Mobile / IoT Extensions

Simplify mobile development by leveraging a cross-platform, embedded database with automatic synchronization to the cloud.

Operate at Any Scale

Elastic Scalability

Scale easily, efficiently and reliably, from a few nodes to many, one data center to multiple, all with "push button" simplicity.

Consistent High Performance

Build responsive applications and support millions of concurrent users by leveraging memory and asynchronous operations.

Always-on Availability

Maintain 24x365 uptime by enabling replication and automatic failover, and performing maintenance operations online.

Multi-Data Center Deployment

Operate in multiple geographies to improve performance and availability by enabling cross data center replication.

Simple and Powerful Administration

Deploy, manage, and monitor deployments with an integrated admin UI and automated tasks optimized for large deployments.

Enterprise-grade Security

Deploy in secure environments by enabling built-in auditing, role-based access control, and encrypted communications.

Transition with Ease

Transition with Ease

The most innovative enterprises are introducing NoSQL to replace or augment legacy databases, including Oracle and Microsoft SQL Server. With Couchbase Server, they get the best of both worlds – the powerful querying and enterprise features of a relational database, combined with the scalability, performance, and flexibility of a NoSQL database.

To make the transition easier, Couchbase Server provides many of the same features found in relational databases.


Found in an RDBMS Provided by Couchbase Server

SQL

Express complex queries with N1QL, a declarative query language based on SQL.

JOINs

Perform left outer and inner joins with N1QL to support relationships.

Schema Browsing

Explore the data model with automatically inferred schemas and sample data.

Query Editing

Create and run queries using a built-in editor with autocomplete and syntax highlighting.

Comprehensive Indexing

Create compound, partial, functional, and covering indexes to improve query performance.

Strong Consistency

Specify read-your-own-writes consistency for queries that require stronger consistency.

Advanced Security

Configure encryption, auditing, role-based access control, and LDAP for secure environments.

Disaster Recovery

Leverage backup/restore tools and built-in cross data center replication for disaster recovery.

Monitoring

Actively monitor database state and operations with a complete, integrated admin console.

Use Cases

Use Cases

Meet the requirements of multiple use cases with a single general-purpose database.

Real-Time Big Data

Leverage streaming integration with Hadoop and Storm to support and enable real-time analytics.

Mobile Applications

Build mobile apps with offline support via an embedded database and automatic synchronization.

Profile Management

Maintain user profiles to support authentication, preferences, and more over multiple channels.

Content Management

Manage a variety of static and dynamic content without the limitations of a fixed data model.

Customer 360° View

Aggregate customer information from disparate sources with different schemas within a single database.

Internet of Everything

Collect high volume, high velocity sensor and telemetry data from industrial and consumer devices.

Fraud Detection

Enable real-time transaction profiling with low latency access to accounts and fraud detection rules.

Catalogs

Engage customers by providing low latency access to product or service catalogs, online or in-store.

Personalization

Ingest clickstream data at high throughput to create and refine millions of visitor profiles.

Digital Communication

Support real-time interaction and communication with low latency read/write access to messages.

Customers

Customers

Get Started

Get Started

Download Couchbase Server 4.5 on the getting started page and read the developer guide.