Skip to content

Latest commit

 

History

History
55 lines (30 loc) · 2.67 KB

dashboard-profiling.md

File metadata and controls

55 lines (30 loc) · 2.67 KB
title summary aliases
Instance Profiling Page
Learn the instance profiling page of TiDB Dashboard.
/docs/dev/dashboard/dashboard-profiling/

Instance Profiling Page

The instance profiling page summarizes the internal performance data of each TiDB instance, TiKV instance, and PD instance. With this page, you can view the instance profiling without restarting these instances.

The summarized performance data can be displayed as a flame graph or a directed acyclic graph, which visually shows the internal operations and proportions performed on the instances during the performance summary period. With this graph, you can quickly learn the main CPU resource consumption of these instances.

Access the page

You can access the instance profiling page using one of the following methods:

Start Profiling

In the instance profiling page, choose at least one target instance and click Start Profiling to start the instance profiling.

Start instance profiling

You can modify the profiling duration before starting the profiling. This duration is determined by the time needed for the profiling, which is 30 seconds by default. The 30-second duration takes approximately 30 seconds to complete.

View profiling status

After a profiling is started, you can view the profiling status and progress in real time.

Profiling detail

The profiling runs in the background. Refreshing or exiting the current page does not stop the profiling task that is running.

Download profiling result

After the profiling of all instances is completed, you can click Download Profiling Result in the upper right corner to download all profiling results.

Download profiling result

You can also click a single instance on the list to directly view its profiling result.

Single instance result

View profiling history

The profiling history is listed on the instance profiling page. Click one row of the list and you can view the status detail.

View profiling history

For detailed operations on the profiling status page, see View profiling status.