Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-32920

Innodb_buffer_pool_read_requests always 0

Details

    Description

      Hi, in MariaDB 10.11.6 the Variable_name Innodb_buffer_pool_read_requests, in output of "show global status", is always 0:

      Innodb_buffer_pool_read_requests 0
      Innodb_buffer_pool_reads 14975

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            MariaDB [test]> create table  test as select seq from seq_1_to_300;
            Query OK, 300 rows affected (0.003 sec)
            Records: 300  Duplicates: 0  Warnings: 0
             
            MariaDB [test]> show global status like 'innodb_buffer_pool_read%';
            +---------------------------------------+-------+
            | Variable_name                         | Value |
            +---------------------------------------+-------+
            | Innodb_buffer_pool_read_ahead_rnd     | 0     |
            | Innodb_buffer_pool_read_ahead         | 0     |
            | Innodb_buffer_pool_read_ahead_evicted | 0     |
            | Innodb_buffer_pool_read_requests      | 0     |
            | Innodb_buffer_pool_reads              | 165   |
            +---------------------------------------+-------+
            5 rows in set (0.001 sec)
             
            MariaDB [test]> shutdown;
            Query OK, 0 rows affected (0.001 sec)
             
            MariaDB [test]> show global status like 'innodb_buffer_pool_read%';
            ERROR 2006 (HY000): Server has gone away
            No connection. Trying to reconnect...
            Connection id:    3
            Current database: test
             
            +---------------------------------------+-------+
            | Variable_name                         | Value |
            +---------------------------------------+-------+
            | Innodb_buffer_pool_read_ahead_rnd     | 0     |
            | Innodb_buffer_pool_read_ahead         | 0     |
            | Innodb_buffer_pool_read_ahead_evicted | 0     |
            | Innodb_buffer_pool_read_requests      | 0     |
            | Innodb_buffer_pool_reads              | 169   |
            +---------------------------------------+-------+
            5 rows in set (0.005 sec)
             
            MariaDB [test]> select count(*) from test;
            +----------+
            | count(*) |
            +----------+
            |      300 |
            +----------+
            1 row in set (0.001 sec)
             
            MariaDB [test]> show global status like 'innodb_buffer_pool_read%';
            +---------------------------------------+-------+
            | Variable_name                         | Value |
            +---------------------------------------+-------+
            | Innodb_buffer_pool_read_ahead_rnd     | 0     |
            | Innodb_buffer_pool_read_ahead         | 0     |
            | Innodb_buffer_pool_read_ahead_evicted | 0     |
            | Innodb_buffer_pool_read_requests      | 0     |
            | Innodb_buffer_pool_reads              | 169   |
            +---------------------------------------+-------+
            5 rows in set (0.001 sec)
            

            danblack Daniel Black added a comment - MariaDB [test]> create table test as select seq from seq_1_to_300; Query OK, 300 rows affected (0.003 sec) Records: 300 Duplicates: 0 Warnings: 0   MariaDB [test]> show global status like 'innodb_buffer_pool_read%'; +---------------------------------------+-------+ | Variable_name | Value | +---------------------------------------+-------+ | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 0 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 0 | | Innodb_buffer_pool_reads | 165 | +---------------------------------------+-------+ 5 rows in set (0.001 sec)   MariaDB [test]> shutdown; Query OK, 0 rows affected (0.001 sec)   MariaDB [test]> show global status like 'innodb_buffer_pool_read%'; ERROR 2006 (HY000): Server has gone away No connection. Trying to reconnect... Connection id: 3 Current database: test   +---------------------------------------+-------+ | Variable_name | Value | +---------------------------------------+-------+ | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 0 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 0 | | Innodb_buffer_pool_reads | 169 | +---------------------------------------+-------+ 5 rows in set (0.005 sec)   MariaDB [test]> select count(*) from test; +----------+ | count(*) | +----------+ | 300 | +----------+ 1 row in set (0.001 sec)   MariaDB [test]> show global status like 'innodb_buffer_pool_read%'; +---------------------------------------+-------+ | Variable_name | Value | +---------------------------------------+-------+ | Innodb_buffer_pool_read_ahead_rnd | 0 | | Innodb_buffer_pool_read_ahead | 0 | | Innodb_buffer_pool_read_ahead_evicted | 0 | | Innodb_buffer_pool_read_requests | 0 | | Innodb_buffer_pool_reads | 169 | +---------------------------------------+-------+ 5 rows in set (0.001 sec)

            This bug had already been fixed once in MDEV-31309, but the fix had been merged incorrectly

            marko Marko Mäkelä added a comment - This bug had already been fixed once in MDEV-31309 , but the fix had been merged incorrectly

            People

              thiru Thirunarayanan Balathandayuthapani
              giponino Matteo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.