1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -704,6 +704,7 @@ typedef struct system_status_var
ulong filesort_range_count_;
ulong filesort_rows_;
ulong filesort_scan_count_;
ulong filesort_pq_sorts_;
/* Prepared statements and binary protocol */
ulong com_stmt_prepare;
ulong com_stmt_reprepare;