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 `CATALOG_NAME` , `sch` . ... mysql * 666 0 2 372817966000 3994726000 559786000 131523000000 6066 9 40031 60 0 0 1503 0 10975 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:30:51.545004 2025-07-01 00:37:02.435883
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 1258 0 0 355503070000 1420554000 282593000 192257000000 1256 1 7542 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:30:53.960777 2025-07-01 00:37:03.431259
CREATE TABLE `Prestamo` ( `ID_Prestamo` INTEGER PR... Prestamos_Biblioteca 1 0 0 354692654000 354692654000 354692654000 689000000 0 0 0 0 0 0 0 0 0 0 23d94baf10d266885b9bb79c33456286d083675678d3978bec... 2025-07-01 00:35:16.270811 2025-07-01 00:35:16.270811
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 272 0 0 343772253000 3745103000 1263868000 121208000000 13805 51 70385 259 0 0 272 0 13805 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:30:52.480299 2025-07-01 00:37:02.402619
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila * 25 0 0 331924037000 278866549000 13276961000 20442000000 421 17 6494 260 0 0 12 0 422 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:31:47.236117 2025-07-01 00:34:34.012609
SHOW SESSION VARIABLES LIKE ? mysql * 305 0 0 322015564000 6013359000 1055788000 31813000000 305 1 175070 574 0 0 305 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:30:51.538998 2025-07-01 00:37:02.430140
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 669 0 0 284717762000 1665324000 425587000 159060000000 0 0 2007 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:30:52.477036 2025-07-01 00:37:02.400311
CREATE TABLE `Materia` ( `ID_Materia` INTEGER PRIM... Prestamos_Biblioteca 1 0 0 275749397000 275749397000 275749397000 146000000 0 0 0 0 0 0 0 0 0 0 4bff9b3b7b3e7d201e7a2da11fd405e7ed47eb2789d956d1b6... 2025-07-01 00:35:15.112570 2025-07-01 00:35:15.112570
CREATE TABLE `Alumno` ( `ID_Alumno` INTEGER PRIMAR... Prestamos_Biblioteca 1 0 0 275548131000 275548131000 275548131000 498000000 0 0 0 0 0 0 0 0 0 0 15db6540d9834fad4e5238860d3f229e47c245f7e7d31ee3c2... 2025-07-01 00:35:15.898595 2025-07-01 00:35:15.898595
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 137 0 0 272060115000 83799955000 1985840000 67046000000 275 2 8972 65 0 0 137 0 275 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:30:52.532152 2025-07-01 00:37:02.391117
CREATE TABLE `Libro` ( `ID_Libro` INTEGER PRIMARY ... Prestamos_Biblioteca 1 0 0 247538940000 247538940000 247538940000 480000000 0 0 0 0 0 0 0 0 0 0 19a174c785a1c7e46b0e4e81c2b7c08414ca2119c6a8b50762... 2025-07-01 00:35:15.603932 2025-07-01 00:35:15.603932
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 146 0 0 229063014000 4263305000 1568924000 76713000000 8856 61 44718 306 0 0 146 0 8856 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:30:52.046986 2025-07-01 00:37:01.446913
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 137 0 0 227128871000 30804680000 1657874000 62833000000 137 1 56997 416 0 0 137 0 137 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:30:52.585038 2025-07-01 00:37:02.401455
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 76 0 0 213938261000 59181973000 2814977000 53029000000 382 5 31568 415 0 0 74 0 382 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:30:52.036828 2025-07-01 00:37:01.426326
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 146 0 0 213269055000 7311864000 1460746000 24812000000 307 2 6006 41 0 0 139 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-01 00:31:55.765374 2025-07-01 00:37:03.097843
CREATE TABLE `Maestro` ( `ID_Maestro` INTEGER PRIM... Prestamos_Biblioteca 1 0 0 211280226000 211280226000 211280226000 448000000 0 0 0 0 0 0 0 0 0 0 f18135f7e3daad1a147e113adc4aee156e643c4a408d098a4f... 2025-07-01 00:35:15.339376 2025-07-01 00:35:15.339376
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 192 0 0 204966689000 14773964000 1067534000 69893000000 1901 10 12362 64 0 0 441 0 3532 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:30:50.985726 2025-07-01 00:36:46.233875
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... pw 38 0 0 194074725000 37052622000 5107229000 19262000000 77 2 839 22 0 0 38 0 77 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:31:12.239552 2025-07-01 00:35:04.226125
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... pw * 30 0 0 173700013000 37915960000 5790000000 21074000000 50 2 10834 361 0 0 26 0 50 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:31:12.202131 2025-07-01 00:35:04.576571
SELECT COUNT (?) AS `cnt` , `round` ( ( `performan... sys * 9 0 0 161858269000 58459687000 17984252000 3060000000 36 4 9111 1012 0 0 36 0 102 0 92ff97b05a2a2e654025eae1e78fdeafead5be7e942f76f5dc... 2025-07-01 00:30:57.003472 2025-07-01 00:36:05.795253
SHOW SESSION VARIABLES LIKE ? performance_schema * 146 0 0 159801615000 3730198000 1094531000 16009000000 146 1 83804 574 0 0 146 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:30:51.995445 2025-07-01 00:37:01.548501
SELECT COUNT ( * ) FROM `sakila` . `city` sakila 6 0 0 152028101000 39664055000 25338016000 478000000 6 1 0 0 0 0 0 0 0 0 b92b668eb0685d9d691962091163dca87eb463698278864af8... 2025-07-01 00:31:47.579442 2025-07-01 00:32:18.720126
SELECT COUNT ( * ) FROM `sakila` . `film` sakila 6 0 0 149706465000 43767705000 24951077000 993000000 6 1 0 0 0 0 0 0 0 0 e2bad0048e4fda42275285c56959cc02c3180254cb5c949816... 2025-07-01 00:31:47.570955 2025-07-01 00:32:18.696148
SELECT COUNT ( * ) FROM `sakila` . `film_actor` sakila 6 0 0 146620663000 39721304000 24436777000 591000000 6 1 0 0 0 0 0 0 0 0 8f6c2e348f20ee03345a7d7c3839f1327bbbe69d578edd286b... 2025-07-01 00:31:47.567850 2025-07-01 00:32:18.764133
SELECT COUNT ( * ) FROM `sakila` . `staff` sakila 6 0 0 143754548000 42673062000 23959091000 583000000 6 1 0 0 0 0 0 0 0 0 039c3c9b7bc9053dd54f81507e8548926594435de82b98e8ff... 2025-07-01 00:31:47.530530 2025-07-01 00:32:18.732120
Query results operations