[MDEV-27183] optimize std::map lookup in during crash recovery Created: 2021-12-07 Updated: 2021-12-07 Resolved: 2021-12-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5, 10.6, 10.7 |
| Fix Version/s: | 10.5.14, 10.6.6, 10.7.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Eugene Kosov (Inactive) | Assignee: | Eugene Kosov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
During parse phase a lot lot of recv_sys_t::pages lookups happen. It happens for every record in a redo log. And often changes for the same page goes in a row. In such case it's enough to do just one lookup but really it happens every time. And binary tree lookups are not fast. Let's optimize it. |