[MDEV-130] Counters for Index Condition Pushdown Created: 2012-01-31 Updated: 2012-02-23 Resolved: 2012-02-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | 5.3.5 |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
We need counters to track Index Condition Pushdown. In particular, we need to track
(Note: We had also an idea to change counters so that Proposed counter names: Handler_pushed_index_cond_checks N Implementation to filter a record
FYI: MySQL-5.6 has a feature called "InnoDB monitor" which exports there four counters: select name, count from information_schema.innodb_metrics where name like "icp%"; grep for MONITOR_ICP in the source or look at user interface in: |
| Comments |
| Comment by Sergei Petrunia [ 2012-01-31 ] |
|
Typical function: ICP_RESULT index_cond_func_maria(void *arg) //!! counting Handler_pushed_index_calls should be done here (that is: after out-of-range-check) |
| Comment by Sergei Petrunia [ 2012-01-31 ] |
|
Need also to check 5.6: they have some counters there. we need to be compatible. |