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

Monitoring


Couchbase provides multiple ways to monitor a cluster through the admin web console, the CLI, and the REST API.

You can verify the underlying server processes using the cbcollect_info utility. This tool is executed per node and collects information about the overall health of the cluster. The output of the command will be in a .zip file. It contains numerous log files. These log files will provide comprehensive information about the cluster:

cbcollect_info collect_info.zip

The collect info result

Monitoring startup

Server startup, also known as warmup is a process in which the server loads data from the disk to the RAM before it can handle clients' requests. During this process, Couchbase won't be serving any request from the clients. After the warmup process completes, the data is available for clients to read and write. This can take some time, depending on the size of the data. You can monitor the warmup process using the following command:

cbstats localhost:11210 warmup

The cbstats...

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}