View Issue Details

IDProjectCategoryView StatusLast Update
0000172FromDual Performance Monitor for MariaDB and MySQL (fpmmm)fpmmm Agentpublic2018-06-25 06:46
Reporterearl86 Assigned Tooli  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSCentosOS Version6.x
Product Version1.0.1 
Summary0000172: a bug for InnoDB Adaptive Hash Index Memory in fpmm/lib/InnoDbStatus.inc
DescriptionHi:
   I find a bug for InnoDB Adaptive Hash Index Memory in fpmm/lib/InnoDbStatus.inc

                if ( $section == 'INSERT BUFFER AND ADAPTIVE HASH INDEX' ) {
                        // Hash table size 276671, node heap has 810 buffer(s)
                        if ( preg_match("/node heap has (\d+) buffer/", $line, $matches) ) {
                                $aEngineInnodbStatus['Innodb_hash_node_size'] = 16384 * $matches[1];
                                continue;
                        }

the 16384 is a variable parameter for the innodb_page_size

so the $aEngineInnodbStatus['Innodb_hash_node_size'] = 16384 * $matches[1]; need changed to : $aEngineInnodbStatus['Innodb_hash_node_size'] = $innodb_page_size* $matches[1];
$innodb_page_size need to get from mysql system variables;

hope to fix this bug. thanks.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-06-25 06:46 earl86 New Issue
2018-06-25 06:46 earl86 Status new => assigned
2018-06-25 06:46 earl86 Assigned To => oli