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.
2 changes: 1 addition & 1 deletion tidb-cloud/set-up-vpc-peering-connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ You can also use the AWS dashboard to configure the VPC peering connection.

2. From the left navigation bar, open the **Peering Connections** page. On the **Create Peering Connection** tab, a peering connection is in the **Pending Acceptance** status.

3. Confirm the requester owner is TiDB Cloud (`380838443567` or `143458967504`). Right-click the peering connection and select **Accept Request** to accept the request in the **Accept VPC peering connection request** dialog.
3. Confirm the requester owner is TiDB Cloud (`380838443567`, `143458967504`, or `730335266318`). Right-click the peering connection and select **Accept Request** to accept the request in the **Accept VPC peering connection request** dialog.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved

![AWS VPC peering requests](/media/tidb-cloud/vpc-peering/aws-vpc-guide-3.png)

Expand Down
14 changes: 10 additions & 4 deletions tidb-cloud/tidb-cloud-sql-tuning-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,19 @@ The TiDB Cloud console provides a **[SQL Statement](/tidb-cloud/tune-performance

Note that on this sub-tab, SQL queries with the same structure (even if the query parameters do not match) are grouped into the same SQL statement. For example, `SELECT * FROM employee WHERE id IN (1, 2, 3)` and `select * from EMPLOYEE where ID in (4, 5)` are both part of the same SQL statement `select * from employee where id in (...)`.

You can view some key information in **Statement**.
You can view some key information in **SQL Statement**.

- **SQL Template**: including SQL digest, SQL template ID, the time range currently viewed, the number of execution plans, and the database where the execution takes place.

![Details0](/media/dashboard/dashboard-statement-detail0.png)

- 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.
- 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 each SQL type and the corresponding execution time from several perspectives to help you get more information. See [Execution plans](https://docs.pingcap.com/tidb/stable/dashboard-statement-details#execution-plans).

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

![Details](/media/dashboard/dashboard-statement-detail.png)
- Related Slow Query:
qqqdan marked this conversation as resolved.
Show resolved Hide resolved
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