Tutorial type: Tutorial
-
Monitoring Nodes
GET Nodes Overview We can GET Nodes according to the documentation for Couchbase REST Node Overview using: http://localhost:8091/pools/nodes Response Each node in the cluster is listed in the “nodes” array. The thisNode attribute indicates…
|
2 MIN READ -
Monitoring FTS Service
GET Full-Text Search Indexes We can GET Full-Text Search Indexes according to the documentation for Couchbase Rest FTS Indexing using: http://localhost:8094/api/index Retrieve all index definitions and configurations Example The following example illustrates how to…
|
14 MIN READ -
Monitoring Operating System
Operating System Metrics Just as monitoring Couchbase and the individual services, buckets, indexes, etc. is extremely important to have a solid understanding of overall cluster health, it is also important to monitor the operating…
|
6 MIN READ -
Monitoring Logs on Couchbase Server
Built-in Email Alerts and Logs Couchbase provides several built-in alerts for when Couchbase is approaching a critical failure or when a critical failure has occurred. It is recommended to enable the built-in email alerts…
|
5 MIN READ -
Monitoring-Eventservice
Eventing Service-Level Stats The Eventing stats are an aggregate for all of the Eventing Functions deployed, either for the entire cluster or a specific node. Available Stats Stat name Description eventing/bucket_op_exception_count Total number of…
|
8 MIN READ -
Monitoring Data Service
Buckets Overview Buckets overview provides all available buckets, high-level system information and resource utilization for each bucket in the cluster. We can GET all available buckets and more according to the documentation for Couchbase…
|
26 MIN READ -
Understanding Covering Indexes and TTLs
When using covering indexes, there are some important considerations in-terms of how your N1QL queries are constructed to ensure they do NOT return stale data from your indexes(GSIs). To better understand this concept, it’s…
|
3 MIN READ -
Understanding Query Workflow and Optimization
Applications and their drivers submit the N1QL query to one of the available query nodes. The Query node parses and analyzes the query, uses metadata on underlying objects to figure out the optimal execution…
|
6 MIN READ -
Understanding Index Scans
FILTER, JOIN, and PROJECT are fundamental operations of database query processing. The filtering process takes the initial keyspace and produces an optimal subset of the documents the query is interested in. To produce the…
|
3 MIN READ -
Identifying the Top Slow Queries
The top slow queries can be identified by querying the system catalog using the following select statement (available on version Couchbase 4.5 and above) The system:completed_requests catalog maintains a list of the most recent…
|
5 MIN READ -
Understanding Cardinality and Selectivity
Cardinality and selectivity play a crucial role in index tuning and optimization as they can provide measurable insights into your data set and effectiveness of the index, pointing you to where specific optimizations can…
|
5 MIN READ -
Operators Guide
#operator Usage Description PrimaryScan Scan Scans a primary index v1 (Pre CB 5.50) PrimaryScan3 Scan Scans a primary index v2 (CB 5.50+) ParentScan Scan Used for UNNEST. Treats the parent object as the result…
|
6 MIN READ -
Understanding an Explain Plan
Plans are built from algebras using a visitor pattern. A separate planner/optimizer is used for index selection. You can view the explain plan by prefacing a query with the EXPLAIN keyword, clicking the “Explain”…
|
4 MIN READ -
Couchbase Capella App Services, Kotlin, and Jetpack Compose
Introduction In this part of our learning path, you will walk through the “Audit Inventory” demo application of using Couchbase Lite with the Replicator, which means the database will sync information using two way…
|
12 MIN READ -
Learn Couchbase Lite Batch operations with Kotlin and Jetpack Compose
Introduction In this part of the learning path, you will be working with the “Audit Inventory” demo app app that allows users to log in and access the developer screens in order to add…
|
13 MIN READ