From 58f92a0d4f8bec20cf6d7fe410861a4675f213e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 8 Jan 2026 07:56:28 +0100 Subject: [PATCH 1/2] dashboard: Add note about prepared statements in Slow Query Detail --- dashboard/dashboard-slow-query.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dashboard/dashboard-slow-query.md b/dashboard/dashboard-slow-query.md index 24f419d7c8fd3..a5bf826435eeb 100644 --- a/dashboard/dashboard-slow-query.md +++ b/dashboard/dashboard-slow-query.md @@ -62,7 +62,8 @@ Click any item in the list to display detailed execution information of the slow > **Note:** > -> The maximum length of the query recorded in the `Query` column is limited by the [`tidb_stmt_summary_max_sql_length`](/system-variables.md#tidb_stmt_summary_max_sql_length-new-in-v40) system variable. +> - The maximum length of the query recorded in the `Query` column is limited by the [`tidb_stmt_summary_max_sql_length`](/system-variables.md#tidb_stmt_summary_max_sql_length-new-in-v40) system variable. +> - For prepared statements arguments are listed at the end of the query like this: `[arguments: "foo", 123]`. Non-printable arguments are printed as hex-literal, for example `0x01`. Click the **Expand** button to view the detailed information of an item. Click the **Copy** button to copy the detailed information to the clipboard. From 3ba631a2e121d22eca67d500f9a4f8516c260066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 8 Jan 2026 07:59:35 +0100 Subject: [PATCH 2/2] Update dashboard/dashboard-slow-query.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- dashboard/dashboard-slow-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/dashboard-slow-query.md b/dashboard/dashboard-slow-query.md index a5bf826435eeb..a16ce278c08ed 100644 --- a/dashboard/dashboard-slow-query.md +++ b/dashboard/dashboard-slow-query.md @@ -63,7 +63,7 @@ Click any item in the list to display detailed execution information of the slow > **Note:** > > - The maximum length of the query recorded in the `Query` column is limited by the [`tidb_stmt_summary_max_sql_length`](/system-variables.md#tidb_stmt_summary_max_sql_length-new-in-v40) system variable. -> - For prepared statements arguments are listed at the end of the query like this: `[arguments: "foo", 123]`. Non-printable arguments are printed as hex-literal, for example `0x01`. +> - For prepared statements, arguments are listed at the end of the query, for example: `[arguments: "foo", 123]`. Non-printable arguments are displayed as hex literals, for example, `0x01`. Click the **Expand** button to view the detailed information of an item. Click the **Copy** button to copy the detailed information to the clipboard.