Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
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 :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark 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 `innodb_index_stats` ORDER BY `stat_value` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts database_name table_name index_name last_update stat_name stat_value Descending Ascending 1 sample_size stat_description
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_logs' AND `innodb_index_stats`.`index_name` = 'branch_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_logs branch_id 2026-05-15 00:39:32 n_diff_pfx02 14648 20 branch_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_logs' AND `innodb_index_stats`.`index_name` = 'idx_product_log' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx03'
pos_db stock_logs idx_product_log 2026-05-15 00:39:32 n_diff_pfx03 14648 24 product_id,created_at,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_logs' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db stock_logs PRIMARY 2026-05-15 00:39:32 n_diff_pfx01 14497 20 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_logs' AND `innodb_index_stats`.`index_name` = 'idx_product_log' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_logs idx_product_log 2026-05-15 00:39:32 n_diff_pfx02 12946 24 product_id,created_at
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'order_items' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db order_items PRIMARY 2026-05-15 00:39:21 n_diff_pfx01 10931 20 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'order_items' AND `innodb_index_stats`.`index_name` = 'order_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db order_items order_id 2026-05-15 00:39:21 n_diff_pfx02 10811 10 order_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'order_items' AND `innodb_index_stats`.`index_name` = 'product_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db order_items product_id 2026-05-15 00:39:21 n_diff_pfx02 10811 15 product_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'branch_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db orders branch_id 2026-05-15 00:39:21 n_diff_pfx02 4826 9 branch_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'order_number' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db orders order_number 2026-05-15 00:39:21 n_diff_pfx01 4826 8 order_number
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'idx_created_at' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db orders idx_created_at 2026-05-15 00:39:21 n_diff_pfx02 4826 5 created_at,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'idx_order_number' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db orders idx_order_number 2026-05-15 00:39:21 n_diff_pfx01 4826 8 order_number
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'idx_order_number' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db orders idx_order_number 2026-05-15 00:39:21 n_diff_pfx02 4826 8 order_number,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'order_items' AND `innodb_index_stats`.`index_name` = 'order_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db order_items order_id 2026-05-15 00:39:21 n_diff_pfx01 4826 10 order_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db orders PRIMARY 2026-05-15 00:39:21 n_diff_pfx01 4811 20 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'orders' AND `innodb_index_stats`.`index_name` = 'idx_created_at' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db orders idx_created_at 2026-05-15 00:39:21 n_diff_pfx01 4779 5 created_at
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'product_stocks' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db product_stocks PRIMARY 2026-05-15 00:39:23 n_diff_pfx01 4478 13 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'product_stocks' AND `innodb_index_stats`.`index_name` = 'branch_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db product_stocks branch_id 2026-05-15 00:39:23 n_diff_pfx02 4478 6 branch_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'product_stocks' AND `innodb_index_stats`.`index_name` = 'idx_prod_branch' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db product_stocks idx_prod_branch 2026-05-15 00:39:23 n_diff_pfx02 4478 7 product_id,branch_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_transfers' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db stock_transfers PRIMARY 2026-05-15 00:39:32 n_diff_pfx01 1214 6 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_transfers' AND `innodb_index_stats`.`index_name` = 'product_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_transfers product_id 2026-05-15 00:39:32 n_diff_pfx02 1214 2 product_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_transfers' AND `innodb_index_stats`.`index_name` = 'to_branch_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_transfers to_branch_id 2026-05-15 00:39:32 n_diff_pfx02 1214 2 to_branch_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_transfers' AND `innodb_index_stats`.`index_name` = 'from_branch_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_transfers from_branch_id 2026-05-15 00:39:32 n_diff_pfx02 1214 2 from_branch_id,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'stock_transfers' AND `innodb_index_stats`.`index_name` = 'idx_notified_at' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db stock_transfers idx_notified_at 2026-05-15 00:39:32 n_diff_pfx02 1214 1 notified_at,id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'products' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
pos_db products PRIMARY 2026-05-15 00:39:23 n_diff_pfx01 660 7 id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'pos_db' AND `innodb_index_stats`.`table_name` = 'products' AND `innodb_index_stats`.`index_name` = 'idx_name' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
pos_db products idx_name 2026-05-15 00:39:23 n_diff_pfx02 660 4 name,id
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query