Skip to content

Commit 7a764e5

Browse files
craig[bot]maryliag
andcommitted
Merge #119003
119003: docs: update sql_stats.md r=maryliag a=maryliag Update formatting for better diagram rendering Part Of CRDB-35839 Release note: None Co-authored-by: Marylia Gutierrez <[email protected]>
2 parents 353fded + c871913 commit 7a764e5

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

docs/tech-notes/observability/sql_stats.md

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,12 @@ and view names.
4444
```mermaid
4545
flowchart TD
4646
exec[Statement executed]
47-
memory[[crdb_internal.
48-
cluster_statement_statistics]]
49-
persisted[(system.
50-
statement_statistics)]
51-
combined[[crdb_internal.statement_statistics]]
52-
activity[(system.
53-
statement_activity)]
54-
persisted_view[[crdb_internal.
55-
statement_statistics_persisted]]
56-
activity_view[[crdb_internal.statement_activity]]
47+
memory[[crdb_internal.\ncluster_statement_statistics]]
48+
persisted[(system.\nstatement_statistics)]
49+
combined[[crdb_internal.\nstatement_statistics]]
50+
activity[(system.\nstatement_activity)]
51+
persisted_view[[crdb_internal.\nstatement_statistics_persisted]]
52+
activity_view[[crdb_internal.\nstatement_activity]]
5753
console(["Console"])
5854
exec --> memory
5955
memory --> |flushed| persisted
@@ -167,9 +163,7 @@ The diagram below show how these tables are used to populate the SQL Activity pa
167163

168164
```mermaid
169165
flowchart TD;
170-
A[Compare the Timestamp on ACTIVITY Table
171-
with the Requested Timestamp] --> B{Is the requested time
172-
period completely \non the table?}
166+
A[Compare the Timestamp on \nACTIVITY Table \nwith the Requested Timestamp] --> B{Is the requested time \nperiod completely \non the table?}
173167
B -- Yes --> C[SELECT on ACTIVITY table]
174168
C --> D{Had results?}
175169
D -- Yes --> E[Return RESULTS]

0 commit comments

Comments
 (0)