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 `x$statement_analysis`
query db full_scan exec_count err_count warn_count total_latency max_latency avg_latency lock_latency rows_sent rows_sent_avg rows_examined rows_examined_avg rows_affected rows_affected_avg tmp_tables tmp_disk_tables rows_sorted sort_merge_passes digest first_seen last_seen
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 22388 0 0 6086230181000 2935950000 271852000 3295958000000 22371 1 134277 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 18:47:43.010767 2024-08-09 18:54:31.711132
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 9911 0 0 5497192883000 6279096000 554655000 1978258000000 90032 9 611973 62 0 0 22293 0 165196 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 18:46:01.612010 2024-08-09 18:55:07.012108
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 4948 0 0 5433814644000 4538315000 1098184000 1792447000000 328722 66 1658454 335 0 0 4948 0 328722 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 18:46:01.489565 2024-08-09 18:55:06.889552
SHOW SESSION VARIABLES LIKE ? performance_schema * 4948 0 0 4025362520000 35887094000 813533000 445943000000 4948 1 2840152 574 0 0 4948 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 18:46:01.481240 2024-08-09 18:55:07.000425
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 2483 0 0 2522508482000 56489695000 1015911000 1100675000000 3401 1 350420 141 0 0 2477 0 3401 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-08-09 18:46:01.487036 2024-08-09 18:55:06.877251
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 4972 0 0 1807504400000 1342975000 363536000 1014407000000 0 0 14916 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 18:46:01.485419 2024-08-09 18:55:06.879398
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 2474 0 0 1569421846000 4419711000 634366000 824085000000 7412 3 42018 17 0 0 2474 0 7412 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 18:46:01.490552 2024-08-09 18:55:06.881393
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 2402 0 0 1536761921000 5966596000 639784000 559495000000 23312 10 154315 64 0 0 5465 0 43142 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 18:46:01.149009 2024-08-09 18:55:07.341099
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... performance_schema * 2477 0 0 1383508950000 2985666000 558542000 510550000000 2477 1 9908 4 0 0 17339 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 18:46:01.636816 2024-08-09 18:55:07.024677
ALTER TABLE `tbl_food` ADD PRIMARY KEY ( `ID` ) fastfood_db 1 0 0 1257899432000 1257899432000 1257899432000 1616000000 0 0 0 0 0 0 0 0 0 0 0d621b7ac8c626908f8e38343fc06d96d7d28bb70f8b384550... 2024-08-09 18:51:34.629326 2024-08-09 18:51:34.629326
SELECT `t` . `THREAD_ID` AS `thread_id` , IF ( ( `... sys * 18 0 3 1242329739000 811832481000 69018318000 6180000000 142 8 198 11 0 0 48 0 1150 0 2a5e41c03bf35093f51e81fb81b13e07005f0c742759ae7a75... 2024-08-09 18:48:35.764763 2024-08-09 18:54:31.759253
SELECT COUNT ( * ) FROM `performance_schema` . `ta... performance_schema * 2345 0 0 1158584677000 2648187000 494065000 83333000000 2345 1 0 0 0 0 0 0 0 0 00e2f0d84fa651f12d7029618430a48906da993321f506b59a... 2024-08-09 18:46:01.487514 2024-08-09 18:55:06.878130
INSERT INTO `tbl_food` ( `ID` , `foodcode` , `food... fastfood_db 8 0 0 819064538000 153337965000 102383067000 3931000000 0 0 0 0 8 1 0 0 0 0 d0afc5abb8f2a61591e21edd3e5d378df138acbcdffe4bce70... 2024-08-09 18:51:32.297548 2024-08-09 18:51:33.138941
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 1255 0 9 802871941000 22885775000 639738000 282636000000 12646 10 81445 65 0 0 2774 0 22333 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 18:46:01.412978 2024-08-09 18:55:07.362612
ALTER TABLE `tbl_food` MODIFY `ID` INTEGER (?) NOT... fastfood_db 1 0 1 786249325000 786249325000 786249325000 151000000 0 0 0 0 8 8 0 0 0 0 9810519f4e61d4e158b16b74c989eb0da32b6725fe25cdd49a... 2024-08-09 18:51:35.889551 2024-08-09 18:51:35.889551
SHOW TABLES FROM `phpmyadmin` NULL 4141 4141 0 657918101000 2479323000 158879000 271520000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2024-08-09 18:46:01.137105 2024-08-09 18:55:08.022322
SELECT * FROM `table_lock_waits_summary_by_table` ... performance_schema * 2345 0 0 621351900000 2700759000 264968000 147852000000 58625 25 58625 25 0 0 0 0 0 0 7a2c40da54f6eaa63f18600a655f716160a294ba03cafa0764... 2024-08-09 18:46:01.484268 2024-08-09 18:55:06.874337
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 3703 0 0 501402316000 401196000 135404000 247642000000 3703 1 3703 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2024-08-09 18:46:01.181716 2024-08-09 18:55:08.037878
SHOW CREATE TABLE `performance_schema` . `table_lo... performance_schema 2345 0 0 491698333000 1326382000 209679000 0 0 0 0 0 0 0 0 0 0 0 bbd9b634d307ea4ea2b4db12cc479b75b75d3cfdb9ab395083... 2024-08-09 18:46:01.492411 2024-08-09 18:55:06.883241
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 420 0 0 476830154000 5871099000 1135309000 170243000000 20163 48 103040 245 0 0 408 0 20111 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 18:46:01.246197 2024-08-09 18:55:07.308847
ALTER TABLE `tbl_pos` ADD PRIMARY KEY ( `ID` ) fastfood_db 1 0 0 462316577000 462316577000 462316577000 119000000 0 0 0 0 0 0 0 0 0 0 4be914d36606340c994c68b3c9eb8af7e4c70236107095391a... 2024-08-09 18:51:35.097988 2024-08-09 18:51:35.097988
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 791 0 0 436084594000 3597030000 551307000 143199000000 791 1 3164 4 0 0 5537 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 18:46:01.182545 2024-08-09 18:55:07.354983
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 21 0 0 428913880000 119388543000 20424470000 8150000000 58 3 601 29 0 0 21 0 58 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 18:46:07.936048 2024-08-09 18:54:31.957461
SHOW SESSION VARIABLES LIKE ? mysql * 449 0 0 397568247000 3904393000 885452000 39508000000 449 1 257726 574 0 0 449 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 18:46:01.242470 2024-08-09 18:55:06.251467
SELECT ? FROM `performance_schema` . `table_lock_w... performance_schema * 2345 0 0 384044673000 995975000 163771000 179972000000 2345 1 2345 1 0 0 0 0 0 0 0a8822d56431a0b278bf28d018ce42545a1bffb9d7c5ab4593... 2024-08-09 18:46:01.665644 2024-08-09 18:55:07.042908
Query results operations