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` .... performance_schema 4570 0 0 5461328171000 9535527000 1195038000 1778387000000 304936 67 1538390 337 0 0 4570 0 304936 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 11:46:02.175536 2024-08-09 11:52:17.059918
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 9139 0 0 5454817001000 6737520000 596872000 1981482000000 82069 9 556281 61 0 0 20563 0 150430 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.302239 2024-08-09 11:52:17.182181
SHOW SESSION VARIABLES LIKE ? performance_schema * 4570 0 0 3821415398000 5313905000 836195000 409478000000 4570 1 2623180 574 0 0 4570 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 11:46:02.131596 2024-08-09 11:52:17.169594
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 12821 0 0 3541021850000 6821746000 276189000 1925179000000 12797 1 76854 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 11:46:05.014063 2024-08-09 11:52:12.155113
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 2285 0 0 2835570465000 29092949000 1240949000 1060888000000 2285 1 939452 411 0 0 2285 0 2285 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-08-09 11:46:02.171182 2024-08-09 11:52:17.049231
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 4588 0 0 1790470028000 6486007000 390250000 1017422000000 0 0 13764 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 11:46:02.141542 2024-08-09 11:52:17.050724
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 2285 0 0 1561837075000 3751516000 683517000 814539000000 6848 3 38817 17 0 0 2285 0 6848 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 11:46:02.176747 2024-08-09 11:52:17.052422
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... performance_schema * 2165 0 0 1264288147000 4221323000 583966000 453946000000 2165 1 8660 4 0 0 15155 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 11:46:02.324508 2024-08-09 11:52:17.194500
SELECT `t` . `THREAD_ID` AS `thread_id` , IF ( ( `... sys * 36 0 2 1023484420000 62551038000 28430122000 14915000000 171 5 650 18 0 0 96 0 2404 0 2a5e41c03bf35093f51e81fb81b13e07005f0c742759ae7a75... 2024-08-09 11:46:20.989591 2024-08-09 11:52:12.201209
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 1492 0 0 1018576016000 3182619000 682691000 370631000000 15401 10 98590 66 0 0 3427 0 28704 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.555138 2024-08-09 11:52:10.288372
SELECT COUNT ( * ) FROM `performance_schema` . `ta... performance_schema * 2188 0 0 778199790000 2355828000 355667000 84229000000 2188 1 0 0 0 0 0 0 0 0 00e2f0d84fa651f12d7029618430a48906da993321f506b59a... 2024-08-09 11:46:02.172403 2024-08-09 11:52:17.049770
SELECT * FROM `table_lock_waits_summary_by_table` ... performance_schema * 2188 0 0 667545755000 4567782000 305094000 152896000000 54700 25 54700 25 0 0 0 0 0 0 7a2c40da54f6eaa63f18600a655f716160a294ba03cafa0764... 2024-08-09 11:46:02.135119 2024-08-09 11:52:17.046936
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 956 0 19 628855052000 4110003000 657798000 221205000000 10281 11 62837 66 0 0 2117 0 17294 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.289824 2024-08-09 11:52:11.553741
SHOW TABLES FROM `phpmyadmin` NULL 3554 3554 0 517371678000 1516397000 145574000 212963000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2024-08-09 11:46:02.106357 2024-08-09 11:52:17.473473
SHOW CREATE TABLE `performance_schema` . `table_lo... performance_schema 2188 0 0 489020435000 1701326000 223501000 0 0 0 0 0 0 0 0 0 0 0 bbd9b634d307ea4ea2b4db12cc479b75b75d3cfdb9ab395083... 2024-08-09 11:46:02.178650 2024-08-09 11:52:17.054138
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 17 0 0 473076430000 82112681000 27828025000 5561000000 49 3 514 30 0 0 17 0 49 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 11:47:03.917703 2024-08-09 11:52:11.431362
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 3224 0 0 438904109000 1201766000 136136000 216590000000 3224 1 3224 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2024-08-09 11:46:02.124617 2024-08-09 11:52:17.493676
SELECT ? FROM `performance_schema` . `table_lock_w... performance_schema * 2188 0 0 353854014000 1380831000 161724000 162524000000 2188 1 2188 1 0 0 0 0 0 0 0a8822d56431a0b278bf28d018ce42545a1bffb9d7c5ab4593... 2024-08-09 11:46:02.344465 2024-08-09 11:52:17.211866
SELECT COUNT ( * ) FROM `sakila` . `payment` sakila 10 0 0 347714004000 325671567000 34771400000 808000000 10 1 0 0 0 0 0 0 0 0 9da2fa260c610f34271704b0700c0e4b5ffb71aa503961d442... 2024-08-09 11:46:41.058784 2024-08-09 11:49:25.820153
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 305 0 0 347056939000 5478336000 1137891000 124189000000 15053 49 76932 252 0 0 301 0 15041 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 11:46:02.147318 2024-08-09 11:52:17.490750
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 574 0 0 331027664000 3738776000 576703000 107627000000 574 1 2296 4 0 0 4018 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 11:46:02.584608 2024-08-09 11:52:10.302001
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila * 41 0 0 301295988000 253326139000 7348682000 19060000000 548 13 12745 311 0 0 26 0 548 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-08-09 11:46:40.669651 2024-08-09 11:52:11.414152
SHOW SESSION VARIABLES LIKE ? mysql * 323 0 0 296661669000 7719955000 918457000 29328000000 323 1 185402 574 0 0 323 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 11:46:02.133891 2024-08-09 11:52:17.487897
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... information_schema 386 0 0 291790143000 3254192000 755933000 150467000000 6177 16 28951 75 0 0 165 0 4631 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 11:46:05.209139 2024-08-09 11:52:05.937560
CREATE TABLE `employees` ( `employee_id` INTEGER P... mikey 1 0 0 290665789000 290665789000 290665789000 3553000000 0 0 0 0 0 0 0 0 0 0 c9a0e4a0591dc069832a69215bcb68a91fad2e669b384a3549... 2024-08-09 11:47:50.741441 2024-08-09 11:47:50.741441
Query results operations