Skip to content

Commit

Permalink
Update information-schema-runaway-watches.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lilin90 committed Sep 12, 2024
1 parent d406e39 commit 1410bdf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions information-schema/information-schema-runaway-watches.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ DESC RUNAWAY_WATCHES;
查询 Runaway Queries 识别名单:

```sql
SELECT * FROM INFORMATION_SCHEMA.RUNAWAY_WATCHES\G
SELECT * FROM INFORMATION_SCHEMA.RUNAWAY_WATCHES ORDER BY id\G
```

输出结果如下:

```sql
mysql> SELECT * FROM INFORMATION_SCHEMA.RUNAWAY_WATCHES ORDER BY id\G
*************************** 1. row ***************************
ID: 1
RESOURCE_GROUP_NAME: default
Expand Down Expand Up @@ -83,7 +82,7 @@ QUERY WATCH ADD RESOURCE GROUP rg1 SQL TEXT EXACT TO 'select * from sbtest.sbtes
再次查询 Runaway Queries 识别名单:

```sql
SELECT * FROM INFORMATION_SCHEMA.RUNAWAY_WATCHES\G;
SELECT * FROM INFORMATION_SCHEMA.RUNAWAY_WATCHES\G
```

输出结果如下:
Expand Down

0 comments on commit 1410bdf

Please sign in to comment.