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 2532 0 0 3278135713000 9535527000 1294682000 1065519000000 168488 67 850036 336 0 0 2532 0 168488 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 11:46:02.175536 2024-08-09 11:48:47.310799
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 5064 0 0 3253174560000 6737520000 642412000 1200035000000 44082 9 297912 59 0 0 11394 0 80568 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.302239 2024-08-09 11:48:47.430704
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 8518 0 0 2365873443000 6821746000 277749000 1284130000000 8504 1 51066 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 11:46:05.014063 2024-08-09 11:47:51.509361
SHOW SESSION VARIABLES LIKE ? performance_schema * 2532 0 0 2227304081000 5313905000 879661000 229425000000 2532 1 1453368 574 0 0 2532 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 11:46:02.131596 2024-08-09 11:48:47.419467
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 1266 0 0 1689994472000 29092949000 1334908000 625282000000 1266 1 519436 410 0 0 1266 0 1266 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-08-09 11:46:02.171182 2024-08-09 11:48:47.299808
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 2544 0 0 1064453844000 6486007000 418417000 609004000000 0 0 7632 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-08-09 11:46:02.141542 2024-08-09 11:48:47.301217
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 1266 0 0 940789786000 3751516000 743119000 490397000000 3794 3 21506 17 0 0 1266 0 3794 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 11:46:02.176747 2024-08-09 11:48:47.303152
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... performance_schema * 1146 0 0 714914917000 4221323000 623835000 255718000000 1146 1 4584 4 0 0 8022 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 11:46:02.324508 2024-08-09 11:48:47.442800
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 954 0 0 666017946000 2900887000 698132000 247088000000 9505 10 60752 64 0 0 2188 0 17662 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.555138 2024-08-09 11:48:43.718236
SELECT `t` . `THREAD_ID` AS `thread_id` , IF ( ( `... sys * 21 0 1 609692449000 62551038000 29032973000 8168000000 110 5 376 18 0 0 56 0 1448 0 2a5e41c03bf35093f51e81fb81b13e07005f0c742759ae7a75... 2024-08-09 11:46:20.989591 2024-08-09 11:47:51.568359
SELECT COUNT ( * ) FROM `performance_schema` . `ta... performance_schema * 1204 0 0 445903433000 2355828000 370351000 49920000000 1204 1 0 0 0 0 0 0 0 0 00e2f0d84fa651f12d7029618430a48906da993321f506b59a... 2024-08-09 11:46:02.172403 2024-08-09 11:48:47.300388
SELECT * FROM `table_lock_waits_summary_by_table` ... performance_schema * 1204 0 0 413094201000 4567782000 343101000 93075000000 30100 25 30100 25 0 0 0 0 0 0 7a2c40da54f6eaa63f18600a655f716160a294ba03cafa0764... 2024-08-09 11:46:02.135119 2024-08-09 11:48:47.297373
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 570 0 9 384321697000 4110003000 674248000 136245000000 5862 10 36366 64 0 0 1264 0 10021 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-08-09 11:46:02.289824 2024-08-09 11:48:47.786335
SELECT COUNT ( * ) FROM `sakila` . `payment` sakila 8 0 0 344379834000 325671567000 43047479000 650000000 8 1 0 0 0 0 0 0 0 0 9da2fa260c610f34271704b0700c0e4b5ffb71aa503961d442... 2024-08-09 11:46:41.058784 2024-08-09 11:48:31.228915
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 7 0 0 306643975000 82112681000 43806282000 2226000000 27 4 256 37 0 0 7 0 27 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 11:47:03.917703 2024-08-09 11:48:40.755524
SHOW CREATE TABLE `performance_schema` . `table_lo... performance_schema 1204 0 0 291485466000 1701326000 242097000 0 0 0 0 0 0 0 0 0 0 0 bbd9b634d307ea4ea2b4db12cc479b75b75d3cfdb9ab395083... 2024-08-09 11:46:02.178650 2024-08-09 11:48:47.304840
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
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila * 25 0 0 282836978000 253326139000 11313479000 11835000000 400 16 7273 291 0 0 14 0 400 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-08-09 11:46:40.669651 2024-08-09 11:48:40.721866
SHOW TABLES FROM `phpmyadmin` NULL 1960 1960 0 279602679000 1142422000 142654000 115252000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2024-08-09 11:46:02.106357 2024-08-09 11:48:47.741863
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 1837 0 0 249907808000 1201766000 136041000 123228000000 1837 1 1837 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2024-08-09 11:46:02.124617 2024-08-09 11:48:47.764463
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 85 0 0 243680751000 67767971000 2866832000 30927000000 175 2 5554 65 0 0 85 0 175 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-08-09 11:46:02.215601 2024-08-09 11:48:47.717204
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 354 0 0 215861091000 3738776000 609777000 70082000000 354 1 1416 4 0 0 2478 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-08-09 11:46:02.584608 2024-08-09 11:48:43.792818
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 178 0 0 212607317000 5478336000 1194423000 75788000000 8625 48 44112 248 0 0 175 0 8615 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-08-09 11:46:02.147318 2024-08-09 11:48:47.731177
SELECT ? FROM `performance_schema` . `table_lock_w... performance_schema * 1204 0 0 193867903000 1380831000 161019000 89060000000 1204 1 1204 1 0 0 0 0 0 0 0a8822d56431a0b278bf28d018ce42545a1bffb9d7c5ab4593... 2024-08-09 11:46:02.344465 2024-08-09 11:48:47.464977
SHOW SESSION VARIABLES LIKE ? mysql * 193 0 0 187572519000 7719955000 971878000 19006000000 193 1 110782 574 0 0 193 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-08-09 11:46:02.133891 2024-08-09 11:48:47.783884
Query results operations