-
Thirunarayanan Balathandayuthapani authored
INDEX APPLIED BY UNCOMMITTED ROW Problem: ======== row_search_for_mysql() does whole table traversal for range query even though the end range is passed. Whole table traversal happens when the record is not with in transaction read view. Solution: ========= Convert the innodb last record of page to mysql format and compare with end range if the traversal of row_search_mvcc() exceeds 100, no ICP involved. If it is out of range then InnoDB can avoid the whole table traversal. Need to refactor the code little bit to make it compile. Reviewed-by:
Jimmy Yang <jimmy.yang@oracle.com> Reviewed-by:
Knut Hatlen <knut.hatlen@oracle.com> Reviewed-by:
Dmitry Shulga <dmitry.shulga@oracle.com> RB: 14660
Thirunarayanan Balathandayuthapani authoredINDEX APPLIED BY UNCOMMITTED ROW Problem: ======== row_search_for_mysql() does whole table traversal for range query even though the end range is passed. Whole table traversal happens when the record is not with in transaction read view. Solution: ========= Convert the innodb last record of page to mysql format and compare with end range if the traversal of row_search_mvcc() exceeds 100, no ICP involved. If it is out of range then InnoDB can avoid the whole table traversal. Need to refactor the code little bit to make it compile. Reviewed-by:
Jimmy Yang <jimmy.yang@oracle.com> Reviewed-by:
Knut Hatlen <knut.hatlen@oracle.com> Reviewed-by:
Dmitry Shulga <dmitry.shulga@oracle.com> RB: 14660
Loading