From eefb12d4facee6a6f1370d5e9929342a7ea3a0be 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/3] 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 40fb09c82adb4..b5c33e2c76c86 100644 --- a/dashboard/dashboard-slow-query.md +++ b/dashboard/dashboard-slow-query.md @@ -61,7 +61,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 34fb2c1e74f26c35a934712bf19ff6992eabb125 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/3] 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 b5c33e2c76c86..9c739114d71bc 100644 --- a/dashboard/dashboard-slow-query.md +++ b/dashboard/dashboard-slow-query.md @@ -62,7 +62,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. From b57cd2a58662cbbc98b59d44017d193ffa115e47 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 24 Feb 2026 14:44:28 +0800 Subject: [PATCH 3/3] Update dashboard/dashboard-slow-query.md Co-authored-by: Aolin --- 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 9c739114d71bc..133ac560f69b5 100644 --- a/dashboard/dashboard-slow-query.md +++ b/dashboard/dashboard-slow-query.md @@ -62,7 +62,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, for example: `[arguments: "foo", 123]`. Non-printable arguments are displayed as hex literals, 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 hexadecimal 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.