From 4b0e4a322a768572c944e280ceea1870768c0daa Mon Sep 17 00:00:00 2001 From: yibin87 Date: Fri, 27 Feb 2026 15:48:44 +0800 Subject: [PATCH 1/4] Add two internal session variables info Signed-off-by: yibin87 --- system-variables.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system-variables.md b/system-variables.md index 79af0db79a694..400df46746037 100644 --- a/system-variables.md +++ b/system-variables.md @@ -7122,3 +7122,11 @@ Internally, the TiDB parser transforms the `SET TRANSACTION ISOLATION LEVEL [REA - Type: Boolean - Default value: `ON` - This variable controls whether to use the high precision mode when computing the [window functions](/functions-and-operators/window-functions.md). + +### InPacketBytes + +- This variable is only used for internal metering. + +### OutPacketBytes + +- This variable is only used for internal metering. From f73ea23413e06d872a591e229ade344a6e056c98 Mon Sep 17 00:00:00 2001 From: yibin87 Date: Fri, 27 Feb 2026 16:11:44 +0800 Subject: [PATCH 2/4] Little update Signed-off-by: yibin87 --- system-variables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index 400df46746037..f8d27e786e32e 100644 --- a/system-variables.md +++ b/system-variables.md @@ -7125,8 +7125,8 @@ Internally, the TiDB parser transforms the `SET TRANSACTION ISOLATION LEVEL [REA ### InPacketBytes -- This variable is only used for internal metering. +- This variable is only used for internal metering, not visible to users. ### OutPacketBytes -- This variable is only used for internal metering. +- This variable is only used for internal metering, not visible to users. From af9ff20952dacc6cf10d0738691269cdc8ee2768 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Mon, 30 Mar 2026 13:54:44 +0800 Subject: [PATCH 3/4] Update system-variables.md --- system-variables.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system-variables.md b/system-variables.md index f8d27e786e32e..c038c5abca972 100644 --- a/system-variables.md +++ b/system-variables.md @@ -7123,10 +7123,10 @@ Internally, the TiDB parser transforms the `SET TRANSACTION ISOLATION LEVEL [REA - Default value: `ON` - This variable controls whether to use the high precision mode when computing the [window functions](/functions-and-operators/window-functions.md). -### InPacketBytes +### InPacketBytes New in v8.5.6 and v9.0.0 -- This variable is only used for internal metering, not visible to users. +- This variable is used only for internal statistics and is not visible to users. -### OutPacketBytes +### OutPacketBytes New in v8.5.6 and v9.0.0 -- This variable is only used for internal metering, not visible to users. +- This variable is used only for internal statistics and is not visible to users. From 3863cbeb27d81faf3a96eeaed84c2e34b6e7bc57 Mon Sep 17 00:00:00 2001 From: qiancai Date: Mon, 30 Mar 2026 14:03:03 +0800 Subject: [PATCH 4/4] docs: place InPacketBytes and OutPacketBytes alphabetically --- system-variables.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/system-variables.md b/system-variables.md index c038c5abca972..0073adef28765 100644 --- a/system-variables.md +++ b/system-variables.md @@ -590,6 +590,10 @@ This variable is an alias for [`last_insert_id`](#last_insert_id). - Unit: Seconds - The lock wait timeout for pessimistic transactions (default). +### InPacketBytes New in v8.5.6 and v9.0.0 + +- This variable is used only for internal statistics and is not visible to users. + ### interactive_timeout > **Note:** @@ -671,6 +675,10 @@ This variable is an alias for [`last_insert_id`](#last_insert_id). - The default value `0` means there is no limit for user connections. When the value is greater than `0` and the number of user connections reaches this value, the TiDB server will reject the user's new connection. - If the value of this variable exceeds [`max_connections`](https://docs.pingcap.com/tidb/stable/tidb-configuration-file#max_connections), TiDB uses `max_connections` to limit the maximum number of connections a single user can establish. For example, if `max_user_connections` of a user is set to `2000`, but `max_connections` is `1000`, the user can actually establish up to `1000` connections to a TiDB server instance. +### OutPacketBytes New in v8.5.6 and v9.0.0 + +- This variable is used only for internal statistics and is not visible to users. + ### password_history New in v6.5.0 - Scope: GLOBAL @@ -7122,11 +7130,3 @@ Internally, the TiDB parser transforms the `SET TRANSACTION ISOLATION LEVEL [REA - Type: Boolean - Default value: `ON` - This variable controls whether to use the high precision mode when computing the [window functions](/functions-and-operators/window-functions.md). - -### InPacketBytes New in v8.5.6 and v9.0.0 - -- This variable is used only for internal statistics and is not visible to users. - -### OutPacketBytes New in v8.5.6 and v9.0.0 - -- This variable is used only for internal statistics and is not visible to users.