From 86329b734f6b6b9ba36cea7d473ac770bc9f8987 Mon Sep 17 00:00:00 2001 From: Florence Morris Date: Wed, 7 Jan 2026 18:05:41 -0500 Subject: [PATCH] In transaction-details.md, added note about inaccurate statement statistics in large transactions. --- src/current/_includes/v26.1/ui/transaction-details.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/current/_includes/v26.1/ui/transaction-details.md b/src/current/_includes/v26.1/ui/transaction-details.md index 964cd4b9b6e..733e85cc7b5 100644 --- a/src/current/_includes/v26.1/ui/transaction-details.md +++ b/src/current/_includes/v26.1/ui/transaction-details.md @@ -22,3 +22,9 @@ The **Insights** table is displayed when CockroachDB has detected a problem with - **Latest Execution ID**: The ID of the latest transaction execution. To display the [details of the transaction execution]({{ link_prefix }}ui-insights-page.html#transaction-execution-details), click the ID. The **Statements Fingerprints** table displays the statement fingerprints of all the statements in the transaction. To display the [details of a statement fingerprint]({{ page_prefix }}statements-page.html#statement-fingerprint-page), click a statement fingerprint. + +{{site.data.alerts.callout_info}} +Statement statistics in the **Statements Fingerprints** table are inaccurate when a transaction includes a large number of statements. + +At most 100,000 statement statistics can be associated with a single transaction statistic. If a transaction exceeds this threshold, CockroachDB automatically flushes buffered statement statistics before the transaction commits. As a result, the flushed statement statistics do not have an associated transaction fingerprint ID because the transaction has not yet completed. In these cases, the transaction fingerprint ID cannot be backfilled, and these statement statistics are not included in aggregated results. +{{site.data.alerts.end}} \ No newline at end of file