InnoDB incorrectly reports pages as evicted without access although read_ahead is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Triaged
|
Medium
|
Unassigned | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
InnoDB regularly reports pages as being "evicted without access" as below:
Pages read ahead 0.00/s, evicted without access 3.12/s, Random read ahead 0.00/s
This happens, although read_ahead is disabled:
| innodb_
| innodb_read_ahead | none |
| innodb_
Upon code analysis I found out that the status counter buf_pool-
buf_LRU_
...
accessed = buf_page_
if (freed) {
}
So the status counter buf_pool-
Upon discussion with Laurynas there seems to be a discrepancy in how access time for a page is set. May be Laurynas can comment further here.
tags: | added: i28124 |
buf_pool- >stat.n_ ra_pages_ evicted bump is unprotected, but that does not explain how do some pages fail to get their access times set.