Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update picture of diagnosis doc #16850

Merged
merged 12 commits into from
May 11, 2024
3 changes: 2 additions & 1 deletion TOC-tidb-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@
- [TLS Connections to TiDB Serverless](/tidb-cloud/secure-connections-to-serverless-clusters.md)
- TiDB Dedicated
- [Configure an IP Access List](/tidb-cloud/configure-ip-access-list.md)
- [Connect via Private Endpoint](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via Private Endpoint with AWS](/tidb-cloud/set-up-private-endpoint-connections.md)
- [Connect via Private Endpoint (Private Service Connect) with Google Cloud](/tidb-cloud/set-up-private-endpoint-connections-on-google-cloud.md)
- [Connect via VPC Peering](/tidb-cloud/set-up-vpc-peering-connections.md)
- [TLS Connections to TiDB Dedicated](/tidb-cloud/tidb-cloud-tls-connect-to-dedicated.md)
- Data Access Control
Expand Down
Binary file added media/dashboard/dashboard-statement-detail0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/dashboard/dashboard-statement-detail1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/dashboard/dashboard-statement-detail2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions tidb-cloud/tidb-cloud-sql-tuning-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ Note that on this sub-tab, SQL queries with the same structure (even if the quer
You can view some key information in **Statement**.
qqqdan marked this conversation as resolved.
Show resolved Hide resolved

- SQL statement overview: including SQL digest, SQL template ID, the time range currently viewed, the number of execution plans, and the database where the execution takes place.
qqqdan marked this conversation as resolved.
Show resolved Hide resolved

![Details0](/media/dashboard/dashboard-statement-detail0.png)
qqqdan marked this conversation as resolved.
Show resolved Hide resolved

- Execution plan list: if a SQL statement has more than one execution plan, the list is displayed. You can select different execution plans and the details of the selected execution plan are displayed at the bottom of the list. If there is only one execution plan, the list will not be displayed.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
qqqdan marked this conversation as resolved.
Show resolved Hide resolved
- Execution plan details: shows the details of the selected execution plan. It collects the execution plans of such SQL type and the corresponding execution time from several perspectives to help you get more information. See [Execution plan in details](https://docs.pingcap.com/tidb/stable/dashboard-statement-details#statement-execution-details-of-tidb-dashboard) (area 3 in the image below).
- Execution plan details: shows the details of the selected execution plan. It collects the execution plans of such SQL type and the corresponding execution time from several perspectives to help you get more information. See [Execution plan in details](https://docs.pingcap.com/tidb/stable/dashboard-statement-details#statement-execution-details-of-tidb-dashboard) .
qqqdan marked this conversation as resolved.
Show resolved Hide resolved

![Details](/media/dashboard/dashboard-statement-detail.png)
![Details1](/media/dashboard/dashboard-statement-detail1.png)
![Details2](/media/dashboard/dashboard-statement-detail2.png)
qqqdan marked this conversation as resolved.
Show resolved Hide resolved

qqqdan marked this conversation as resolved.
Show resolved Hide resolved
In addition to the information in the **Statement** dashboard, there are also some SQL best practices for TiDB Cloud as described in the following sections.

Expand Down
Loading