~maria-captains/maria/5.3

Viewing all changes in revision 3406.

  • Committer: Igor Babaev
  • Date: 2012-02-03 06:22:27 UTC
  • Revision ID: igor@askmonty.org-20120203062227-a6uowyulqt411k7y
Applied the patch from mysql-5.6 code line that fixed
a significant performance drop for high concurrency bechmarks
(bug #11765850 - 58854).

Here's the comment of the patch commit:

The bug is that the InnoDB pre-fetch cache was not being used in
row_search_for_mysql().  Secondly the changeset that planted the
bug also introduced some inefficient code. It would read an extra
row, convert it to MySQL row format (for ICP==off), copy the row
to the pre-fetch cache row buffer, then check for cache overflow
and dequeue the row that was pushed if there was a possibility of
a cache overflow.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: