Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Couchbase

You're reading from  Learning Couchbase

Product type Book
Published in Nov 2015
Publisher
ISBN-13 9781785288593
Pages 248 pages
Edition 1st Edition
Languages
Author (1):
Henry Potsangbam Henry Potsangbam
Profile icon Henry Potsangbam

Table of Contents (12) Chapters

Introduction to Couchbase The Couchbase Administration Interface Storing Documents in Couchbase Using Buckets Designing a Document for Couchbase Introducing Client SDK Retrieving Documents without Keys Using Views Understanding SQL-Like Queries – N1QL Full Text Search Using ElasticSearch Data Replication and Compaction Administration, Tuning, and Monitoring Case Study – An E-Commerce Application Index

Rebalancing


The process of distributing documents across the nodes in the cluster is called rebalancing.

As an administrators, we need to expand the cluster size by adding nodes to a cluster whenever there are resource constraints due to increases in the application load. Sometimes, we need to trim the resources of the cluster, for example, removing nodes for upgrades of software, hardware maintenance, and so on. Whenever there is a change in cluster resources, the administrator needs to perform balancing of data across the nodes. This is a deliberate process that needs to be done manually by the administrator. In Couchbase, data is distributed across nodes using the vBucket structure. During the rebalancing process, the documents stored in the vBuckets are redistributed among the nodes available at the time of the process to reflect the actual resources of the cluster.

This is an online activity; that is, the Couchbase cluster will be running and serving the clients requests during rebalancing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}