[MDEV-26083] InnoDB Buffer Pool Statistics status completely wrong Created: 2021-07-02 Updated: 2021-07-02 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Oli Sennhauser | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux, Ubuntu 18.04, n.a. |
||
| Attachments: |
|
| Description |
|
When we dropped the Primary Key of some partitioned tables the InnoDB Buffer Pool Statistics status became completely wrong: 1. Restart the database to resize the InnoDB Buffer Pool SQL> alter table history drop primary key, add index (`itemid`,`clock`); SQL> alter table history_str drop primary key, add index (`itemid`,`clock`); SQL> alter table history_uint drop primary key, add index (`itemid`,`clock`); 3. Get Status: SQL> SHOW GLOBAL STATUS LIKE 'innodb_buffer_pool_pag%';
----------------------------------------
So all the number for a proper monitoring are completely wrong! |
| Comments |
| Comment by Oli Sennhauser [ 2021-07-02 ] |
|
The system was NOT swapping. So the InnoDB number cannot be correct: free -h |