Category: Data Modeling

How To Migrate to Scopes and Collections in Couchbase 7.0

Scopes and Collections are a new feature introduced in Couchbase 7 that allow you to logically organize data within Couchbase.  You should take advantage of scopes and collections for simpler mapping from RDBMS as well as consolidation of hundreds of...

/ November 23, 2020

Scopes and Collections for Modern Multi-Tenant Applications: Couchbase 7.0

Couchbase 7.0 introduces Scopes and Collections to easily build and deploy microservice based multi-tenant applications. Scopes and Collections allow logical isolation of different types of data, independent lifecycle management and security control at multiple levels of granularity. Application developers will...

/ November 17, 2020
Bay farm island, Alameda, California

Arrays in JSON: Modeling, Querying and Indexing Performance

Array is THE difference between the relational model and the JSON model.   — Gerald Sangudi Abstract JSON array gives you flexibility in the type of elements,  number of elements, size of the elements, and the depth of the elements.  This...

/ August 4, 2020
Two logos showing a MongoDB migration to Couchbase

Migrating Data from MongoDB to Couchbase

Prologue This article guides you through a one-time MongoDB migration to Couchbase. You will learn how to export from the MongoDB data structure, import to Couchbase, and do some basic transformation on those documents. All code from this blog is...

Video Contribution Network Performance Monitoring using Time Series Data in Couchbase

Context Time series Data is collection of metrics or quantities that are gathered over even interval in time and ordered chronologically. There is a potential for co-relation between the observations at different time periods. The time interval at which data...

/ July 28, 2020

Implement FHIR REST server with Couchbase

This is a follow up to my previous post that covered the topic of FHIR Data Model with Couchbase N1QL. In this blog, I will discuss the topic of how to implement the FHIR Search REST API Server over the...

/ June 8, 2020
Couchbase Mobile Attachments

Handling Binary Data Attachments or Blobs with Couchbase Mobile

Couchbase Mobile supports a JSON document style NoSQL data model. In addition to supporting the standard JSON data types, Couchbase Mobile also supports binary data that include images, audio, video, PDF files etc. A JSON document can be associated with...

Prague Astronomical Clock

Implementing a robust portable cron like scheduler via Couchbase Eventing (Part 1)

This is the first of a multi-part series to leverage the Couchbase Eventing Service to run multiple scheduled tasks at specific recurring intervals in a cron like fashion completely inside the database without requiring additional infrastructure via a single general-purpose...

Time Series

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

FHIR Data Model with Couchbase N1QL

Couchbase is a JSON database that has now become an alternative to the traditional RDBMS. It has achieved this, not only by providing the industry leading Key Value store and the same query and ACID translation capabilities that organizations have...

/ April 25, 2020