Drop files here

SQL upload ( 0 ) x -

Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count: Time taken:
Options
Restore default values
Collapse Expand Requery Edit Explain Profiling Query failed Database: Queried time:
Browse mode
Customize browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `events_statements_summary_by_digest`
SCHEMA_NAME DIGEST DIGEST_TEXT COUNT_STAR SUM_TIMER_WAIT MIN_TIMER_WAIT AVG_TIMER_WAIT MAX_TIMER_WAIT SUM_LOCK_TIME SUM_ERRORS SUM_WARNINGS SUM_ROWS_AFFECTED SUM_ROWS_SENT SUM_ROWS_EXAMINED SUM_CREATED_TMP_DISK_TABLES SUM_CREATED_TMP_TABLES SUM_SELECT_FULL_JOIN SUM_SELECT_FULL_RANGE_JOIN SUM_SELECT_RANGE SUM_SELECT_RANGE_CHECK SUM_SELECT_SCAN SUM_SORT_MERGE_PASSES SUM_SORT_RANGE SUM_SORT_ROWS SUM_SORT_SCAN SUM_NO_INDEX_USED SUM_NO_GOOD_INDEX_USED FIRST_SEEN LAST_SEEN QUANTILE_95 QUANTILE_99 QUANTILE_999 QUERY_SAMPLE_TEXT QUERY_SAMPLE_SEEN QUERY_SAMPLE_TIMER_WAIT
NULL 1ebda414995104bec2d678a2f3a337c8cc504cafa93982ba39... SELECT @@`skip_networking` , @@`skip_name_resolve`... 1 4935947000 4935947000 4935947000 4935947000 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:15:48.725137 2025-07-01 08:15:48.725137 5011872336 5011872336 5011872336 SELECT @@skip_networking, @@skip_name_resolve, @@h... 2025-07-01 08:15:48.725137 4935947000
NULL a0fb6033a801ff3ccaad9bb0b05445638ab6c4d8fcb821afff... SELECT @@`version` , @@`version_comment` 863 119008853000 37139000 137901000 372867000 0 0 0 0 863 863 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.552785 2025-07-01 08:28:48.105753 251188643 275422870 380189396 SELECT @@version, @@version_comment 2025-07-01 08:28:39.634100 263350000
NULL 52eaff6a7819ec096aa8c71501acd23ef138f2a775fc2827cc... SET NAMES ? COLLATE ? 863 70211773000 19922000 81357000 251675000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.553386 2025-07-01 08:28:48.105909 173780082 190546071 263026799 SET NAMES 'utf8mb4' COLLATE 'utf8mb4_general_ci' 2025-07-01 08:28:40.371665 155059000
NULL 67915ea6a14edd3032a0638d83d09c9966d5db926c1ce4edec... SET `lc_messages` = ? 862 120528654000 20429000 139824000 7001486000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.553978 2025-07-01 08:28:48.106090 173780082 3467368504 7244359600 SET lc_messages = 'zh_CN' 2025-07-01 08:28:39.635606 144263000
NULL f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... SHOW TABLES FROM `phpmyadmin` 863 228877618000 74539000 265211000 1826825000 93860000000 863 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.558842 2025-07-01 08:28:48.106720 478630092 630957344 1905460717 SHOW TABLES FROM `phpmyadmin` 2025-07-01 08:28:20.212724 760525000
NULL d19d8b57dd28aea9deadc6222a76498766306a49d23a503f10... SET `collation_connection` = ? 863 72085523000 19171000 83528000 467385000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.561867 2025-07-01 08:28:48.107943 165958690 208929613 478630092 SET collation_connection = 'utf8mb4_unicode_ci' 2025-07-01 08:28:39.640682 177110000
NULL 3eff569d77bf7e2ccb14bd593a390e6187f054f1435d6bed2f... SELECT CURRENT_USER ( ) 207 18692206000 18128000 90300000 1069089000 0 0 0 0 207 207 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.563969 2025-07-01 08:28:41.920299 190546071 208929613 1096478196 SELECT CURRENT_USER() 2025-07-01 08:28:40.381775 185700000
NULL db22765f86fdb091d2faced7479895f8497b40140b15fad577... SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... 521 542363921000 252759000 1041005000 26430936000 189190000000 0 0 0 4725 31205 0 1185 807 0 0 0 1185 0 0 8694 286 521 0 2025-07-01 08:16:02.591706 2025-07-01 08:28:41.926446 3162277660 3467368504 27542287033 SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SC... 2025-07-01 08:28:36.880054 2309257000
NULL caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... SELECT ? FROM `mysql` . `user` LIMIT ? 785 142361218000 48442000 181351000 997653000 64898000000 0 0 0 785 785 0 0 0 0 0 0 785 0 0 0 0 0 0 2025-07-01 08:16:02.605959 2025-07-01 08:28:48.112011 363078054 478630092 1000000000 SELECT 1 FROM mysql.user LIMIT 1 2025-07-01 08:28:20.114569 450129000
NULL 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... 179 154154453000 374452000 861198000 3038691000 49668000000 0 0 0 179 716 0 1253 0 0 0 0 1253 0 0 0 0 179 0 2025-07-01 08:16:02.608919 2025-07-01 08:28:41.929059 1819700858 2754228703 3162277660 SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FR... 2025-07-01 08:27:50.793139 2656855000
mysql ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... 296 1119277804000 456268000 3781343000 740047611000 143203000000 0 0 0 1044 117802 0 274 274 0 0 0 296 0 0 1044 296 274 0 2025-07-01 08:16:02.656900 2025-07-01 08:28:39.111523 2187761623 4168693834 758577575029 SELECT *, `TABLE_SCHEMA`       AS `Db`, `TABLE_NAM... 2025-07-01 08:28:34.471606 1656478000
mysql 1da3a196185b678ecb9d76f22b1efe1ad4983d6b48955f1631... SELECT @@`lower_case_table_names` 278 21602478000 32764000 77706000 216179000 0 0 0 0 278 278 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:02.657650 2025-07-01 08:28:39.096357 173780082 208929613 218776162 SELECT @@lower_case_table_names 2025-07-01 08:28:34.438443 117691000
mysql fe219218c4249a2b7359e16fe5d3b48ae7c93e3e412600bedb... SHOW MASTER STATUS 13 759611000 28180000 58431000 161559000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:03.399750 2025-07-01 08:28:04.645295 165958690 165958690 165958690 SHOW MASTER STATUS 2025-07-01 08:27:46.309665 119552000
mysql aeea8d14c430e6eaaf2ffc1c542f366c21a261cbe130323702... SHOW SLAVE STATUS 13 1147217000 37274000 88247000 199733000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2025-07-01 08:16:03.400739 2025-07-01 08:28:04.645437 208929613 208929613 208929613 SHOW SLAVE STATUS 2025-07-01 08:27:46.310524 185401000
mysql 03bf9ba1f7063172ec10f24759cc786129afe45d1fe8842929... SELECT COUNT ( * ) FROM `mysql` . `columns_priv` 5 1362190000 121816000 272438000 647976000 703000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.409058 2025-07-01 08:16:20.368767 660693448 660693448 660693448 SELECT COUNT(*) FROM `mysql`.`columns_priv` 2025-07-01 08:16:03.409058 647976000
mysql 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... 131 271643478000 828414000 2073614000 6082402000 36509000000 0 0 0 35632 41003 0 131 0 0 0 0 262 0 0 0 0 131 0 2025-07-01 08:16:03.415049 2025-07-01 08:28:40.953509 4168693834 5248074602 6309573444 SELECT `COLLATION_NAME` AS `Collation`, `CHARACTER... 2025-07-01 08:28:04.648311 1395391000
mysql cdafe640eaefded4e77c2c98775beab755e6b2467ce3e38d1d... SELECT COUNT ( * ) FROM `mysql` . `component` 5 985660000 90951000 197132000 476184000 522000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.419827 2025-07-01 08:16:20.371157 478630092 478630092 478630092 SELECT COUNT(*) FROM `mysql`.`component` 2025-07-01 08:16:03.419827 476184000
mysql 80cc9db413caa2dda59f04e2535fef172a2aa576e68663cfc4... SELECT COUNT ( * ) FROM `mysql` . `db` 5 3195677000 241235000 639135000 1835723000 460000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.422660 2025-07-01 08:16:20.371765 1905460717 1905460717 1905460717 SELECT COUNT(*) FROM `mysql`.`db` 2025-07-01 08:16:03.422660 1835723000
mysql 09fa08c77a0ec607a4fd60f5e6f3e6b4dc8dadd8933d7c45c7... SELECT COUNT ( * ) FROM `mysql` . `default_roles` 5 873046000 73760000 174609000 452145000 472000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.424130 2025-07-01 08:16:20.372173 457088189 457088189 457088189 SELECT COUNT(*) FROM `mysql`.`default_roles` 2025-07-01 08:16:03.424130 452145000
mysql 4f5e59e677f6d89dcb25141a1e0fa61844227e711b0259ffe1... SELECT COUNT ( * ) FROM `mysql` . `engine_cost` (u... 4 1804776000 265632000 451194000 988331000 634000000 0 0 0 4 0 0 0 0 0 0 0 4 0 0 0 0 0 0 2025-07-01 08:16:03.426091 2025-07-01 08:16:08.728169 1000000000 1000000000 1000000000 SELECT COUNT(*) FROM `mysql`.`engine_cost` 2025-07-01 08:16:03.426091 988331000
mysql a8e2f51a1f914f20b3b33f5c949360ba7ecf4b2107a4580d58... SELECT COUNT ( * ) FROM `mysql` . `func` 5 913971000 90479000 182794000 488262000 440000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.427605 2025-07-01 08:16:20.373072 501187233 501187233 501187233 SELECT COUNT(*) FROM `mysql`.`func` 2025-07-01 08:16:03.427605 488262000
mysql 3b46b7f2310ec0d7c027fe43be5fbe71e12c199b519a5a7d07... SELECT COUNT ( * ) FROM `mysql` . `global_grants` 5 1959291000 202401000 391858000 954181000 448000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.429593 2025-07-01 08:16:20.373629 954992586 954992586 954992586 SELECT COUNT(*) FROM `mysql`.`global_grants` 2025-07-01 08:16:03.429593 954181000
mysql 869e32040329440c8d5d28ac7d0cca954db1048ce21cbf54e9... SELECT COUNT ( * ) FROM `mysql` . `gtid_executed` 5 860984000 74496000 172196000 416910000 456000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.430992 2025-07-01 08:16:20.374020 436515832 436515832 436515832 SELECT COUNT(*) FROM `mysql`.`gtid_executed` 2025-07-01 08:16:03.430992 416910000
mysql 3b0328e09fdb7d18644717e3b9fa40328b494140d0267fc55e... SELECT COUNT ( * ) FROM `mysql` . `help_category` 5 2088333000 155503000 417666000 1172939000 787000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.433191 2025-07-01 08:16:20.374370 1202264434 1202264434 1202264434 SELECT COUNT(*) FROM `mysql`.`help_category` 2025-07-01 08:16:03.433191 1172939000
mysql 731dcc24418caae77aa60fc041bf031a91b9732678b075587f... SELECT COUNT ( * ) FROM `mysql` . `help_keyword` 5 2778689000 188232000 555737000 1695356000 611000000 0 0 0 5 0 0 0 0 0 0 0 5 0 0 0 0 0 0 2025-07-01 08:16:03.435935 2025-07-01 08:16:20.374744 1737800828 1737800828 1737800828 SELECT COUNT(*) FROM `mysql`.`help_keyword` 2025-07-01 08:16:03.435935 1695356000
Query results operations