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 `statements_with_sorting`
query db exec_count total_latency sort_merge_passes avg_sort_merges sorts_using_scans sort_using_range rows_sorted avg_rows_sorted first_seen last_seen digest
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... mysql 95 681.04 ms 0 0 95 0 318 3 2026-03-31 04:45:51.527235 2026-03-31 04:49:20.507829 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... mysql 77 437.78 ms 0 0 77 0 156 2 2026-03-31 04:45:51.501158 2026-03-31 04:49:20.491371 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... mysql 525 367.35 ms 0 0 288 0 8680 17 2026-03-31 04:45:50.749069 2026-03-31 04:49:20.577742 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... NULL 396 358.85 ms 0 0 220 0 6630 17 2026-03-31 04:45:50.220479 2026-03-31 04:49:22.901038 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT IF ( ( `locate` ( ? , ` ... ` . `COMPRESSED... sys 3 277.87 ms 2 1 6 0 820 273 2026-03-31 04:46:41.234669 2026-03-31 04:46:41.847115 bf060aa9a5df456317f07a0159bcd8e91c9fd9a588a89d87d4...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... information_schema 217 249.81 ms 0 0 178 0 1076 5 2026-03-31 04:45:49.450188 2026-03-31 04:49:23.567768 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... performance_schema 161 245.00 ms 0 0 160 0 7850 49 2026-03-31 04:45:50.488186 2026-03-31 04:49:24.396718 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... mysql 150 217.27 ms 0 0 146 0 6758 45 2026-03-31 04:45:51.477736 2026-03-31 04:49:20.568958 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... information_schema 318 196.15 ms 0 0 178 0 5376 17 2026-03-31 04:45:49.519910 2026-03-31 04:49:23.670202 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... performance_schema 338 191.76 ms 0 0 170 0 5126 15 2026-03-31 04:45:50.555068 2026-03-31 04:49:24.413386 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... performance_schema 85 136.15 ms 0 0 85 0 85 1 2026-03-31 04:45:50.482176 2026-03-31 04:49:24.395520 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... sakila 6 107.39 ms 0 0 6 0 19 3 2026-03-31 04:46:34.513631 2026-03-31 04:49:05.088432 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... sakila 6 101.46 ms 0 0 6 0 6 1 2026-03-31 04:46:34.479417 2026-03-31 04:49:05.082773 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... performance_schema 85 97.28 ms 0 0 85 0 230 3 2026-03-31 04:45:50.489404 2026-03-31 04:49:24.381887 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... NULL 33 79.08 ms 0 0 33 0 1314 40 2026-03-31 04:45:50.819116 2026-03-31 04:49:22.902174 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... NULL 1 71.84 ms 0 0 1 0 4 4 2026-03-31 04:48:15.648374 2026-03-31 04:48:15.648374 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... sys 39 54.43 ms 0 0 38 0 4 0 2026-03-31 04:46:23.031180 2026-03-31 04:49:24.402715 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... sys 52 35.86 ms 0 0 26 0 788 15 2026-03-31 04:46:23.034196 2026-03-31 04:49:24.430027 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... sakila 21 28.95 ms 0 0 12 0 118 6 2026-03-31 04:46:34.492723 2026-03-31 04:49:05.095716 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... sys 22 23.52 ms 0 0 20 0 196 9 2026-03-31 04:46:23.030340 2026-03-31 04:49:24.401334 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `sys` . `format_stateme ... tatements_summa... sys 3 24.05 ms 0 0 2 0 26 9 2026-03-31 04:49:24.389365 2026-03-31 04:49:24.443138 5dedbc181166dbc1f2ceb4aab65601b32e171682a23591851c...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... students 2 18.23 ms 0 0 2 0 2 1 2026-03-31 04:46:56.129046 2026-03-31 04:48:31.954813 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `substring_index` ( `pe ... y` FROM `perfor... NULL 1 15.17 ms 0 0 1 0 1 1 2026-03-31 04:45:57.269772 2026-03-31 04:45:57.269772 f32ed3aaf7fbdb65bdac0feb4603f2cce4a5dc1f35f5cc0961...
SELECT `performance_schema` .  ... ange` , `perfor... sys 5 12.95 ms 0 0 4 0 21 4 2026-03-31 04:46:23.028919 2026-03-31 04:46:23.130137 460ca1d49578214f11985bab8be1d9153d556dd2db66af434c...
SELECT IF ( ( `performance_sch ... me` . `SUM_ROWS... sys 2 11.77 ms 0 0 2 0 6 3 2026-03-31 04:46:55.950802 2026-03-31 04:46:55.974214 7b69698fb330ffe8d6147fda49c0f15b1c7a2c948d2593ec48...
Query results operations