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 3917 0 0 4305834990000 4407068000 1099268000 1423482000000 251672 64 1270111 324 0 0 3917 0 251672 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-07-30 16:45:55.734887 2024-07-30 16:57:06.968746
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 7832 0 0 4269153506000 4011101000 545091000 1550996000000 68671 9 463256 59 0 0 17622 0 125594 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-07-30 16:45:55.855324 2024-07-30 16:57:07.088561
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 7684 0 6 4244386156000 4910019000 552366000 1542436000000 68289 9 456352 59 0 0 17292 0 124563 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-07-30 16:45:56.241355 2024-07-30 16:57:06.355379
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 3679 0 0 3783496717000 3329980000 1028403000 1321292000000 186960 51 953631 259 0 0 3668 0 186934 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2024-07-30 16:45:56.103921 2024-07-30 16:57:06.296072
SHOW SESSION VARIABLES LIKE ? performance_schema * 3914 0 0 3184638178000 3925008000 813653000 344707000000 3914 1 2246636 574 0 0 3914 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-07-30 16:45:55.724304 2024-07-30 16:57:07.077559
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 8225 0 0 2754739033000 2169797000 334922000 1534821000000 0 0 24675 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-07-30 16:45:56.102982 2024-07-30 16:57:06.293764
SHOW SESSION VARIABLES LIKE ? mysql * 3299 0 0 2703318606000 4242241000 819435000 293491000000 3299 1 1893626 574 0 0 3299 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2024-07-30 16:45:56.101035 2024-07-30 16:57:06.343992
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 1959 0 0 2035470876000 3374834000 1039035000 872822000000 1959 1 431695 220 0 0 1959 0 1959 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-07-30 16:45:55.731718 2024-07-30 16:57:06.956354
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 1831 0 0 1731107380000 24903779000 945443000 749671000000 1895 1 330476 180 0 0 1829 0 1895 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-07-30 16:45:56.170776 2024-07-30 16:57:06.294845
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 4242 0 0 1542833354000 2186056000 363704000 860114000000 0 0 12726 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2024-07-30 16:45:55.729530 2024-07-30 16:57:06.958071
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 1830 0 0 1279579141000 51832781000 699223000 625715000000 3661 2 120710 66 0 0 1830 0 3661 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-07-30 16:45:56.137711 2024-07-30 16:57:06.282368
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... NULL * 1191 0 0 1278057715000 4412647000 1073096000 683510000000 35151 30 186004 156 0 0 177 0 35151 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-07-30 16:45:55.677194 2024-07-30 16:57:06.190607
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 1958 0 0 1248675101000 2990832000 637729000 660569000000 5778 3 32904 17 0 0 1958 0 5778 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2024-07-30 16:45:55.736045 2024-07-30 16:57:06.960394
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... performance_schema * 1956 0 0 1076055879000 3029151000 550130000 392163000000 1956 1 7824 4 0 0 13692 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-07-30 16:45:55.876757 2024-07-30 16:57:07.100739
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 1948 0 0 1070444165000 2868035000 549509000 386075000000 1949 1 7796 4 0 0 13643 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2024-07-30 16:45:56.263130 2024-07-30 16:57:06.371399
SHOW TABLES FROM `phpmyadmin` NULL 5051 5051 0 907269537000 681622000 179621000 373516000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2024-07-30 16:45:55.631909 2024-07-30 16:57:07.185745
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 1265 0 0 861886463000 6743315000 681333000 311249000000 12469 10 82757 65 0 0 2900 0 23148 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-07-30 16:45:55.644042 2024-07-30 16:57:01.729171
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... toks * 1099 0 0 629008395000 2488419000 572346000 227180000000 10203 9 69522 63 0 0 2383 0 17410 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2024-07-30 16:46:36.765389 2024-07-30 16:57:03.929780
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 4394 0 0 623644318000 998255000 141930000 310733000000 4394 1 4394 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2024-07-30 16:45:55.678481 2024-07-30 16:57:07.201567
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 515 0 0 531999676000 4425364000 1033009000 61529000000 929 2 21306 41 0 0 497 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2024-07-30 16:45:56.636251 2024-07-30 16:56:55.120327
SELECT COUNT ( * ) FROM `performance_schema` . `ta... performance_schema * 1706 0 0 511007169000 1245080000 299535000 61603000000 1706 1 0 0 0 0 0 0 0 0 00e2f0d84fa651f12d7029618430a48906da993321f506b59a... 2024-07-30 16:45:55.732255 2024-07-30 16:57:06.956990
SELECT @@`version` , @@`version_comment` NULL 5051 0 0 475094957000 346956000 94059000 0 5051 1 5051 1 0 0 0 0 0 0 a0fb6033a801ff3ccaad9bb0b05445638ab6c4d8fcb821afff... 2024-07-30 16:45:55.630814 2024-07-30 16:57:07.185179
SELECT * FROM `table_lock_waits_summary_by_table` ... performance_schema * 1706 0 0 475015349000 3626127000 278438000 111288000000 42650 25 42650 25 0 0 0 0 0 0 7a2c40da54f6eaa63f18600a655f716160a294ba03cafa0764... 2024-07-30 16:45:55.728377 2024-07-30 16:57:06.953574
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... toks * 400 0 0 437876004000 72374360000 1094690000 193705000000 919 2 43565 109 0 0 238 0 899 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2024-07-30 16:46:32.855416 2024-07-30 16:57:03.942519
ALTER TABLE `ventas` ADD CONSTRAINT `ventas_ibfk_1... toks 1 0 0 431238685000 431238685000 431238685000 128000000 0 0 0 0 0 0 0 0 0 0 84e133e48dbf3c1442e2d5edbacc983ce4751247af8df8357f... 2024-07-30 16:46:52.960964 2024-07-30 16:46:52.960964
Query results operations