[MDEV-7472] Implementation of user statements for handling the xtradb changed page bitmaps Created: 2015-01-15 Updated: 2017-10-28 Resolved: 2015-06-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - XtraDB |
| Fix Version/s: | 10.1.6 |
| Type: | Task | Priority: | Major |
| Reporter: | Stoykov (Inactive) | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | xtradb | ||
| Issue Links: |
|
||||||||||||
| Sprint: | 10.1.6-1 | ||||||||||||
| Description |
|
There are user statements available at Percona server for maintenance the bitmap files that keep the changed pages. |
| Comments |
| Comment by Sergei Golubchik [ 2015-02-03 ] | |||||
|
<bytee> serg: we do have bitmap changed page tracking in XtraDB | |||||
| Comment by Alex Boag-Munroe [ 2015-04-02 ] | |||||
|
Any chance of this being implemented quicker than 10.2? Percona's latest backup release now means incremental backups are not possible on MariaDB: https://github.com/percona/percona-xtrabackup/pull/25/files Their check returns true on MariaDB:
Resulting in: Error executing 'FLUSH NO_WRITE_TO_BINLOG CHANGED_PAGE_BITMAPS': DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'CHANGED_PAGE_BITMAPS' at line 1 at /usr/bin/innobackupex line 3044. During an incremental backup. | |||||
| Comment by Sergei Golubchik [ 2015-04-04 ] | |||||
|
This is unlikely. 10.1 is already beta and we generally don't add new statements after alpha. We could add
statement though, because it doesn't change the parser — it's an internal change inside XtraDB (adding FLUSH support to the INFORMATION_SCHEMA.INNODB_CHANGED_PAGES table). But I am not sure it'll help xtrabackup. | |||||
| Comment by Sergei Golubchik [ 2015-04-04 ] | |||||
|
Hmm. In fact, we could add INFORMATION_SCHEMA.CHANGED_PAGE_BITMAP table to XtraDB — and then FLUSH will work. Which is a pretty silly solution (dummy I_S table with no content), but it might work. | |||||
| Comment by Jan Lindström (Inactive) [ 2015-06-23 ] | |||||
|
Adding just IS table CHANGED_PAGE_BITMAPS is not enough
| |||||
| Comment by Sergei Golubchik [ 2015-06-23 ] | |||||
|
See https://mariadb.com/kb/en/mariadb/information-schema-plugins-show-and-flush-statements/ For I_S table to support FLUSH, it must implement a reset_table callback. | |||||
| Comment by Jan Lindström (Inactive) [ 2015-06-23 ] | |||||
|
commit b7ff2f1b59c42171ff50fc682e8f723f0713d688 Introduce a new dummy INFORMATION_SCHEMA.CHANGED_PAGE_BITMAPS table to XtraDB | |||||
| Comment by Joffrey MICHAIE [ 2016-09-01 ] | |||||
|
Hi, Sorry to re-open this, I see that the following feature has been implemented:
Regards, | |||||
| Comment by Tomas Mozes [ 2016-09-08 ] | |||||
|
As Joffrey, I'd also like ask what about RESET CHANGED_PAGE_BITMAPS and PURGE | |||||
| Comment by Joffrey MICHAIE [ 2016-09-12 ] | |||||
|
Hi, to avoid polluting this task, I have created https://jira.mariadb.org/browse/MDEV-10798 Regards, |