Skip to content

Commit 2936e2f

Browse files
authored
DOC-15628: Product Change- PR #158527 - sqlstats: flush ingester buffer if above max statements per txn (#22072)
* In transaction-details.md, added note about inaccurate statement statistics in large transactions. * Incorporated Ryan’s feedback.
1 parent ee7afb1 commit 2936e2f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/current/_includes/v26.1/ui/transaction-details.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ The **Insights** table is displayed when CockroachDB has detected a problem with
2222
- **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.
2323

2424
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.
25+
26+
{{site.data.alerts.callout_info}}
27+
Statement statistics in the **Statement Fingerprints** table are not accurate when a transaction includes more than 100,000 statements.
28+
29+
At most 100,000 statement statistics can be associated with a single transaction statistic. If a transaction exceeds this limit, CockroachDB automatically flushes buffered statement statistics before the transaction commits. Flushed statement statistics do not have an associated transaction fingerprint ID because the transaction has not yet completed. Because the transaction fingerprint ID cannot be backfilled in these cases, these flushed statement statistics are not included in aggregated results.
30+
{{site.data.alerts.end}}

0 commit comments

Comments
 (0)