Category: Best Practices and Tutorials

Best Practices for Operating Couchbase Server as Non-Root
With Couchbase Server 6.5.1. we now standardize the non-root install and upgrade for rpm packages. This will now allow you to easily install, upgrade and maintain Couchbase Server as non-root. The purpose of this blog is not to replace our...

The Series on Time Series (in Couchbase): Episode 1
What Is This About So, you have a time series use case? So do I, and this blog article is the proof of it. When I learn about a new subject, I like using the method of loci to memorize...

Couchbase Autonomous Operator 2.0 For Kubernetes Is Now GA!
We’re proud to announce the general availability of Couchbase Autonomous Operator 2.0. We have achieved significant milestones since we first announced production certification of Couchbase Server on Docker containers in June of 2016, and with Autonomous Operator 2.0, we are...

Testing For Growth
The goal of load testing should be to identify what load your current cluster can handle, and how you need to mutate and adapt your cluster configuration as you reach various load milestones. The result should be a plan for...

Couchbase Intro for MongoDB Developers and NoSQL Experts
Six thousand years ago, the Sumerians invented writing for transaction processing — Gray & Reuter By any measure, MongoDB is a popular document-oriented JSON database. In the last dozen years, it has grown from its humble beginnings of a single...

Couchbase Autonomous Operator 2.0 with Prometheus – Part 2
Prerequisites As mentioned in Part 1 of the blog, we need to run Prometheus and Grafana in the Kubernetes environment on our Amazon EKS. The recommended way is to use Kube-Prometheus, an Open Source project. Not only will this simplify...

Couchbase Autonomous Operator 2.0 with Prometheus – Part 1
We recently announced the latest preview of the Couchbase Autonomous Operator (CAO) 2.0 beta. This release is a significant update to the Couchbase Autonomous Operator. Couchbase Autonomous Operator 2.0 introduces several new enterprise-grade features with fully autonomous capabilities – security,...

Flexible Query & Indexing for Flexible JSON Model.
Use N1QL when you’re in a JSON pickle. — Confucius For the JSON data model, the advice is to think of collections as tables, JSON document as denormalized rows and field names as columns – roughly. All this holds in...

NoSQL Document Database Replication – MongoDB vs. Couchbase
Replication has been a crucial part of Database Systems for decades for providing availability and disaster recovery. In recent times, with the evolution of distributed databases to address the need for highly available, scalable and globally distributed deployments operating across...

FTS and N1QL: Better MongoDB in Operator Performance Querying Multiple Arrays
Introduction Couchbase Full Text Search (FTS) is a great fit for indexing multiple arrays and executing queries with multiple filter predicates in arrays. In this article, I’ll demonstrate the advantages of using FTS over GSI (Global Secondary Index) for array...

Inter-Kubernetes Networking via VPC Peering
1. Introduction It is often desirable by enterprise customers to have standby database cluster/s for data locality and high performance, disaster recovery and/or for mere data backups. Couchbase Cross Data Center Replication (XDCR) requires no introduction as customers have been...

Part 2: N1QL: To Query or To Analyze?
When you need to query documents using SQL, there are two options available in Couchbase. The Query service and the Analytics service. Our blog, N1QL: To Query or To Analyze? provides a detailed overview of both services. I highly recommend...