ha_innobase::records_in_range() accesses the index records actually
Bug #724734 reported by
Yasufumi Kinoshita
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
ha_innobase:
Though it is more accurate than using something stored statistics about the index,
it is very expensive for complicated queries which have very many candidates of query plans.
If ha_innobase:
we can choose behavior by option according to the system characteristics or the session characteristics.
The benchmark result about complicated queries (like TPC-H) should become better.
Changed in percona-server: | |
importance: | Undecided → Wishlist |
summary: |
- ha_innobase::records_in_range() accesses the table records actually + ha_innobase::records_in_range() accesses the index records actually |
To post a comment you must log in.
I think this would be a great feature. I see many cases where queries
spend a lot of time in the "statistics" state, and are waiting in the
InnoDB queue. If the stored statistics can be accessed without
entering the InnoDB kernel, then this could be significantly relieved.