Skip to content

Commit c6c97e3

Browse files
committed
1 parent 6df93cc commit c6c97e3

24 files changed

Lines changed: 312 additions & 18 deletions

File tree

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
````sql
2+
select "@schema"
3+
, "@table"
4+
, "@session"
5+
from (select TABLE_SCHEMA as "@schema"
6+
, TABLE_NAME as "@table"
7+
, SESSION_ID as "@session"
8+
, LOCK_TYPE
9+
from information_schema.LOCKS)
10+
````
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
````sql
2+
select "@statement" from (
3+
select SQL_STATEMENT as "@statement"
4+
, EXECUTION_COUNT
5+
, MIN_EXECUTION_TIME
6+
, MAX_EXECUTION_TIME
7+
, CUMULATIVE_EXECUTION_TIME
8+
, AVERAGE_EXECUTION_TIME
9+
, STD_DEV_EXECUTION_TIME
10+
, MIN_ROW_COUNT
11+
, MAX_ROW_COUNT
12+
, CUMULATIVE_ROW_COUNT
13+
, AVERAGE_ROW_COUNT
14+
, STD_DEV_ROW_COUNT
15+
from information_schema.QUERY_STATISTICS)
16+
````

0 commit comments

Comments
 (0)