1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-6430: It is impossible to see if "filesort with small limit" optimization was used

- Add a Sort_priority_queue_sorts status variable.
This commit is contained in:
Sergey Petrunya
2014-07-09 13:09:41 +04:00
parent 16779f6069
commit c16c3b9e47
6 changed files with 72 additions and 0 deletions

View File

@ -45,6 +45,7 @@ FLUSH STATUS;
SHOW SESSION STATUS LIKE 'Sort%';
Variable_name Value
Sort_merge_passes 0
Sort_priority_queue_sorts 0
Sort_range 0
Sort_rows 0
Sort_scan 0
@ -153,6 +154,7 @@ f0 f1 f2
SHOW SESSION STATUS LIKE 'Sort%';
Variable_name Value
Sort_merge_passes 0
Sort_priority_queue_sorts 1
Sort_range 0
Sort_rows 100
Sort_scan 1