Commit b3a4a6a
PS-10232 [9.x]: MySQL 8.0.40+ is about 2-3x times slower than 8.0.39 in
particular index scan scenario
A follow up fix for "Bug#36775910: Record buffer not set in index range scans"
[2969af5] caused a performance regression by failing to respect the handler's
recommendation to cap the number of rows in the record buffer (at the time of
writing hard-coded to 100 for InnoDB). This caused a performance regression
which is most pronounced when using a small LIMIT.
Fixed by re-introducing the line implementing cap.1 parent e04d1e2 commit b3a4a6a
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
772 | 775 | | |
773 | 776 | | |
774 | 777 | | |
| |||
0 commit comments