Bug #68501 | InnoDB fails to merge under-filled pages depending on deletion order | ||
---|---|---|---|
Submitted: | 26 Feb 2013 23:13 | Modified: | 14 Jun 2013 8:37 |
Reporter: | Davi Arnaut (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 5.5,5.6 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | innodb, page, underfill |
[26 Feb 2013 23:13]
Davi Arnaut
[27 Feb 2013 11:01]
Mark Callaghan
Updates to secondary indexes are implemented by delete old - insert new. So can this also be an issue for secondary index pages that get many updates?
[28 Feb 2013 18:30]
Sveta Smirnova
Thank you for the report. Verified as described. In version 5.5 same thing happens if delete in ascending order as well.
[28 Feb 2013 18:31]
Sveta Smirnova
test case for MTR
Attachment: bug68501.test (application/octet-stream, text), 1.50 KiB.
[1 Mar 2013 14:28]
MySQL Verification Team
Mark, Yes, it can be an issue in that case too ...
[14 Jun 2013 8:37]
Erlend Dahl
[13 Jun 2013 10:49] Daniel T Price: Added changelog entry for 5.5.33, 5.6.13, 5.7.2: "Successive deletes in descending key order would lead to under-filled InnoDB index pages. When an InnoDB index page is under-filled, it is merged with the left or right sibling node. The check performed to determine if a sibling node is available for merging was not functioning correctly."