Category: Best Practices and Tutorials

Accelerate Your Database Migration to Couchbase with erwin Data Modeler
The relational database has been foundational to the information economy just like the steam engine enabled the industrial revolution. However, the past success of relational databases (RDBMS) is no measure for what’s needed in today’s economy. Digital transformation driven by...
![Get Started with Couchbase + Java [Developer Walkthrough]](https://www.couchbase.com/blog/wp-content/uploads/2021/10/get-started-couchbase-java-sdk-developer-walkthrough-800x280.jpg)
Get Started with Couchbase + Java [Developer Walkthrough]
If you’re a developer who’s new to Couchbase, this article helps you get started. This weekly walkthrough series helps you understand the basics of connecting to Couchbase, shows you how to retrieve and modify data in Couchbase Server, how to...

Training a Linear Regression Model with Couchbase & a Jupyter Notebook: Step-by-Step Tutorial
Data scientists love Jupyter Notebooks – and it makes a natural pairing with the Couchbase document database. Why? The Jupyter Notebook web application lets you create and share documents that contain narrative text, equations and the like for use cases...

How to Build Indexes for Full-Text Search in Couchbase 7.0
Indexes are the underlying infrastructure that make full-text search possible. The new Scopes and Collections feature in Couchbase Server 7.0 makes full-text search in your applications more powerful than ever before. Powering those searches requires full-text indexes. This article provides...

How to Build Observability Dashboards with Prometheus, Grafana & Couchbase
You’ve certainly heard it before: “What gets measured gets done.” It’s true: what you observe and measure is what you can improve. The key to any improvement is to first identify what to measure and then collect the related metrics....

How to Add Full-Text Search Functionality to Your JavaScript App
It’s unavoidable: If you’re working with a document database, you’re eventually going to need to search for (and through) your JSON documents. In this tutorial, you’ll add the full-text search capabilities of Couchbase to the basic REST API built with...

How to Query JSON Data Using SQL++ for Node.js and Couchbase
Today’s the day your Node.js app learns “go fetch.” By following this basic tutorial, you’ll learn how to build a REST API for your Node.js app that sends SQL++ (aka N1QL) queries to retrieve data from Couchbase. This post continues...

How to Troubleshoot Your SDK Connection using SDK Doctor & Couchbase Alternate Addresses
It’s a common experience to run into network connection errors when you’re developing an application – particularly if you’re connecting from your local computer SDK to a remote cluster. You’re likely to run into situations where your application can connect...

Secure Your Data at Rest with LUKS Disk Encryption in Couchbase
Couchbase now supports LUKS disk encryption to secure your data at rest. How secure is LUKS? Couchbase 7.0 puts a big focus on security, debuting support for both role-based access control (RBAC) for Scopes and Collections, and encryption of at-rest...

The N1QL Query Language Now Has a Per-Request Memory Quota
Unlike other services, the SQL++ query language so far hasn’t had the option to adjust its memory footprint. Until now. With the release of Couchbase Server 7.0, the Query Service now includes a per-request memory quota. Background The principal reason...

Learn about All Things Cloud at Couchbase Connect
If you haven’t heard already, Couchbase ConnectONLINE is fast approaching. There are many reasons for you join this free two-day conference, but today I’m going to focus on one track: “All Things Cloud.” I believe you’ll find this track interesting...

How to Migrate to Scopes & Collections in Couchbase 7.0
Whether you’re new to Couchbase or a seasoned vet, you’ve likely heard about Scopes and Collections. If you’re ready to try them out for yourself, this article helps you make it happen. Scopes and Collections are a new feature introduced...