Skip to main content
The Cluster Overview page of the DB Console displays key metrics about your cluster and individual nodes. These include:
  • Liveness status
  • Replication status
  • Uptime
  • Hardware usage
Enable the Node Map view for a visual representation of your cluster’s geographic layout.

Cluster Overview panel

Use the Cluster Overview panel to quickly assess the capacity and health of your cluster. DB Console cluster overview

Capacity metrics

The Cluster Overview, Node List, and Node Map display Capacity Usage by the CockroachDB store (the directory on each node where CockroachDB reads and writes its data) as a percentage of the disk space that is usable on the cluster, locality, or node. Usable disk space is constrained by the following:
  • The maximum store size, which may be specified using the --store flag when starting nodes. If no store size has been explicitly set, the actual disk capacity is used as the limit. This value is displayed on the Capacity graph in the Storage dashboard.
  • Any disk space occupied by non-CockroachDB data. This may include the operating system and other system files, as well as the Cockroach binary itself.
The DB Console thus calculates usable disk space as the sum of empty disk space, up to the value of the maximum store size, and disk space that is already being used by CockroachDB data. If a node is currently unavailable, the last-known capacity usage will be shown, and noted as stale. If you are testing your deployment locally with multiple CockroachDB nodes running on a single machine (this is not recommended in production), you must explicitly set the store size per node in order to display the correct capacity. Otherwise, the machine’s actual disk capacity will be counted as a separate store for each node, thus inflating the computed capacity. For instructions on how to free up disk space as quickly as possible after dropping a table, see How can I free up disk space that was used by a dropped table?

Node List

The Node List groups nodes by locality. The lowest-level locality tier is used to organize the Node List. Hover over a locality to see all localities for the group of nodes.
We recommend defining --locality flags when starting nodes. CockroachDB uses locality to distribute replicas and mitigate network latency. Locality is also a prerequisite for enabling the Node Map.

Node status

Each locality and node is displayed with its current operational status.
Nodes are considered dead once they have not updated their liveness record for the duration of the server.time_until_store_dead cluster setting (5 minutes by default). At this point, CockroachDB begins to rebalance replicas from dead nodes to live nodes, using the unaffected replicas as sources.

Node details

The following details are also shown.

Decommissioned nodes

Nodes that have completed decommissioning are listed in the table of Recently Decommissioned Nodes, indicating that they are removed from the cluster. You can see the full history of decommissioned nodes by clicking View all decommissioned nodes.
For details about the decommissioning process, see Node Shutdown.

Node Map

The Node Map visualizes the geographical configuration of your cluster. It requires that --locality flags have been defined for your nodes. For guidance on enabling and configuring the node map, see Enable the Node Map. DB Console Summary Panel The Node Map uses the longitude and latitude of each locality to position the components on the map. The map is populated with locality components and node components.

Locality component

A locality component represents capacity, CPU, and QPS metrics for a given locality. The map shows the components for the highest-level locality tier (e.g., region). You can click on the Node Count of a locality component to view any lower-level localities (e.g., availability zone). For details on how Capacity Usage is calculated, see Capacity metrics. DB Console Summary Panel
On multi-core systems, the displayed CPU usage can be greater than 100%. Full utilization of 1 core is considered as 100% CPU usage. If you have n cores, then CPU usage can range from 0% (indicating an idle system) to (n * 100)% (indicating full utilization).

Node component

A node component represents capacity, CPU, and QPS metrics for a given node. Node components are accessed by clicking on the Node Count of the lowest-level locality component. For details on how Capacity Usage is calculated, see Capacity metrics. DB Console Summary Panel On multi-core systems, the displayed CPU usage can be greater than 100%. Full utilization of 1 core is considered as 100% CPU usage. If you have n cores, then CPU usage can range from 0% (indicating an idle system) to (n * 100)% (indicating full utilization).

See also