Description
Course info
Level
Beginner
Updated
May 5, 2020
Duration
2h 11m
Description

Couchbase is a document-oriented database with a distributed architecture, meaning its data and services are distributed over a number of nodes in a cluster. In this course, Create Couchbase Nodes and Buckets, you will explore the setting up and maintenance of a multi-node Couchbase cluster using the Couchbase web UI, the CLI, and the REST API. First, you will learn to create a cluster with a single node and load data into a bucket. Then, you will delve into adding nodes to the cluster and how this influences factors such as data replication and distribution. Next, you will discover how to deal with node removal and the unavailability of nodes in a cluster and how these can be handled by performing a failover, including graceful failovers of running nodes and hard failovers of failed nodes. After that, you will explore bucket initialization and the various properties of buckets in Couchbase - from setting their documents to expire after a given length of time, to enabling the removal of all data from a bucket with a single command. Finally, you will learn the effects of fragmentation on a Couchbase bucket and how this can be addressed by the compaction process. When you’re finished with this course, you will have a broad understanding of the options available when working with a multi-node Couchbase cluster and when configuring buckets in Couchbase.

About the author
About the author

An engineer at heart, I am drawn to any interesting technical topic. Big Data, ML and Cloud are presently my topics of interest.

More from the author
Design Data Models for Couchbase
Beginner
2h 7m
Sep 29, 2020
Recognize the Need for Document Databases
Beginner
1h 40m
Sep 18, 2020
More courses by Kishan Iyer
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, and welcome to this course, Create Couchbase Nodes and Buckets. My name is Kishan Iyer, and I will be your instructor for this course. A little about myself first, I have a Master's degree in computer science from Columbia University and have previously worked in companies such as Deutsche Bank and WebMD in New York. I presently work for Loonycorn, a studio for high quality video content. Couchbase is a document‑oriented database with a distributed architecture. This means that its data and services are distributed over a number of nodes in a cluster, and this course covers the setting up and maintenance of a multi‑node Couchbase cluster using the Couchbase web UI, the CLI, and the REST API. To start off, we create a cluster with a single node and load data into a bucket. We then add nodes to the cluster and delve into how this influences factors such as data replication and distribution. We then move on to dealing with the removal or the unavailability of nodes in a cluster, and how these can be handled by performing a failover. This includes graceful failovers of running nodes to hard failovers of failed nodes. We also cover the reintroduction of nodes into the cluster, either always followed by a rebalance to redistribute data across the available nodes. The focus then shifts to working with buckets. Beyond bucket initialization, we explore the various properties of buckets in Couchbase, from setting their documents to expire after a given length of time to enabling the removal of all data from a bucket with a single command. Finally, we explore the effects of fragmentation on a Couchbase bucket and how this can be addressed by the compaction process. Once you're finished with this course, you will have a broad understanding of the options available when working with the multi‑node Couchbase cluster. You will also recognize the different options to configure buckets in Couchbase.