You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _includes/v22.1/ui/statistics.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,6 @@ Statistics aggregation is controlled by the `sql.stats.aggregation.interval` [cl
2
2
3
3
Aggregated statistics are flushed from memory to statistics tables in the [`crdb_internal`]({{ link_prefix }}crdb-internal.html) system catalog every 10 minutes. The flushing interval is controlled by the `sql.stats.flush.interval` cluster setting.
4
4
5
-
The default retention period of the statistics tables is based on the number of rows up to 10 million records. When this threshold is reached, the oldest records are deleted.
5
+
The default retention period of the statistics tables is based on the number of rows up to 10 million records. When this threshold is reached, the oldest records are deleted. The `diagnostics.forced_sql_stat_reset.interval`[cluster setting]({{ link_prefix }}cluster-settings.html) controls when persisted statistics are deleted only if the internal cleanup service experiences a failure.
6
6
7
7
To reset SQL statistics in the DB Console UI and `crdb_internal` system catalog, click **clear SQL stats**.
8
-
9
-
{{site.data.alerts.callout_info}}
10
-
The `diagnostics.sql_stat_reset.interval`[cluster setting]({{ link_prefix }}cluster-settings.html) no longer controls the DB Console UI or the persisted statistics tables. `diagnostics.sql_stat_reset.interval` still resets the `node_statement_statistics` and `node_transaction_statistics` in-memory statistics.
0 commit comments