From a8648ba2406ee9a1b56b330b9e758223ca125eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Thu, 29 Feb 2024 15:51:31 +0100 Subject: [PATCH] status-variables: Add conditional status that are not available with unistore (#15918) --- status-variables.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/status-variables.md b/status-variables.md index 4ecdf114fd93..ec577d88c617 100644 --- a/status-variables.md +++ b/status-variables.md @@ -90,3 +90,33 @@ Additionally, the [FLUSH STATUS](/sql-statements/sql-statement-flush-status.md) - Scope: SESSION | GLOBAL - Type: String - The UUID of the server. + +### tidb_gc_last_run_time + +- Scope: SESSION | GLOBAL +- Type: String +- The timestamp of the last run of [GC](/garbage-collection-overview.md). + +### tidb_gc_leader_desc + +- Scope: SESSION | GLOBAL +- Type: String +- Information about [GC](/garbage-collection-overview.md) leader, including the hostname and process id (pid). + +### tidb_gc_leader_lease + +- Scope: SESSION | GLOBAL +- Type: String +- The timestamp of the [GC](/garbage-collection-overview.md) lease. + +### tidb_gc_leader_uuid + +- Scope: SESSION | GLOBAL +- Type: String +- The UUID of the [GC](/garbage-collection-overview.md) leader. + +### tidb_gc_safe_point + +- Scope: SESSION | GLOBAL +- Type: String +- The timestamp of the [GC](/garbage-collection-overview.md) safe point.