Category: Best Practices and Tutorials

How to Migrate to Scopes & Collections in Couchbase 7.0

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...

September 3, 2021
5 Reasons for Developers to Attend Couchbase Connect

5 Reasons for Developers to Attend Couchbase Connect

When it comes to online tech conferences, you’ve got options. Lots of options. If you’re a NoSQL developer, then Couchbase ConnectONLINE 2021 should be at the top of your list. This free two-day conference on 20-21 October 2021 has a...

September 2, 2021
11 Fluent Bit Tips & Tricks for Log Forwarding with Couchbase

11 Fluent Bit Tips & Tricks for Log Forwarding with Couchbase

Log forwarding and processing with Couchbase got easier this past year. We’ve recently added support for log forwarding and audit log management for both Couchbase Autonomous Operator (i.e., Kubernetes) and for on-prem Couchbase Server deployments. In both cases, log processing...

How to Create Async Get/Upsert Calls with Node.js and Couchbase

How to Create Async Get/Upsert Calls with Node.js and Couchbase

If you’re a JavaScript dev who’s transitioning to use Node.js, you’ll want to take advantage of async functions. That’s because asynchronous API calls don’t block your code and return promises. In this post, I’ll show you how to create async...

August 30, 2021
A Better Development Experience with Ottoman JS [Video]

A Better Development Experience with Ottoman JS [Video]

If you’re a JavaScript developer, I hope you know about the JavaScript & Friends conference. The JS & Friends conference is a diverse group of around 200 JavaScript developers and friends who get together to learn new skills and concepts...

August 27, 2021
Your Guide to User-Defined Functions in Couchbase Analytics

Your Guide to User-Defined Functions in Couchbase Analytics

User-defined functions put you in the driver’s seat when it comes to querying and analyzing your data. In the Couchbase ecosystem, user-defined functions (UDFs) are reusable and parameterizable N1QL queries that enable you to modularize queries and increase code reuse...

August 26, 2021
N1QL Now Supports User-Defined Functions

N1QL Now Supports User-Defined Functions

Declarative query languages have been a major gear shift in the world of database engines. The N1QL query language is primarily a declarative query language. You tell the query what to get and N1QL works out the rest of the...

How to Use Full-Text Search across Couchbase Scopes & Collections

How to Use Full-Text Search across Couchbase Scopes & Collections

The Full-Text Search Service now offers better search performance and resource utilization across your cluster with the introduction of Scopes and Collections in Couchbase 7.0. Let’s take a quick step back: The 7.0 release of Couchbase Server introduces the concept...

August 19, 2021
5 Steps to Streamline Your N1QL Queries & Migrate to Collections

5 Steps to Streamline Your N1QL Queries & Migrate to Collections

If you’re looking to migrate your data from a relational database to NoSQL, then now’s a better time than ever. The recent release of Couchbase 7.0 introduced Scopes and Collections – a new way to organize your JSON data. More...

August 16, 2021
Boost Query Efficiency with Cost-Based Optimization in Couchbase

Boost Query Efficiency with Cost-Based Optimization in Couchbase

Database users of every kind have come to expect cost-based optimization for their queries. It’s a standard feature of all traditional relational databases (RDBMS), but there hasn’t yet been a cost-based optimizer (CBO) for NoSQL document databases. That is, until...

August 10, 2021
Amp Up Your Data Analysis with the New ROLLUP Aggregation in Couchbase Analytics

Amp Up Your Data Analysis with the New ROLLUP Aggregation in Couchbase Analytics

I’m excited to announce two new powerful data analysis capabilities now available as part of Couchbase Analytics: 1) ROLLUP aggregation, and 2) CUBE functionality, both to help you aggregate data across multiple document attributes. The addition of the ROLLUP aggregation...

August 4, 2021
How (and Why) to Use Couchbase as an XML Database

How (and Why) to Use Couchbase as an XML Database

Couchbase and XML – no problem! I’ve heard it said dozens of times: “Hey, Couchbase is great but I use XML.” I recognize that countering with, “Couchbase can be your XML database” is pretty bold, especially for a JSON-oriented document...