@Marcelo_Altmann , exporting only the affected table with
innobackupex --databases="demouk.catalogueitems" ./test
innobackupex --apply-log --export test/2022-11-23_16-23-06/
produced the following error
...
...
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File './ibtmp1' size is now 12 MB.
InnoDB: 96 redo rollback segment(s) found. 1 redo rollback segment(s) are active.
InnoDB: 32 non-redo rollback segment(s) are active.
InnoDB: page_cleaner: 1000ms intended loop took 16108ms. The settings might not be optimal. (flushed=0 and evicted=0, during the time.)
InnoDB: 5.7.35 started; log sequence number 253909627151
xtrabackup: export option is specified.
xtrabackup: export metadata of table 'demouk/catalogueitems' to file `./demouk/catalogueitems.exp` (9 indexes)
xtrabackup: name=PRIMARY, id.low=102506, page=3
xtrabackup: name=FTS_DOC_ID_INDEX, id.low=102512, page=4
xtrabackup: name=catalogue_object_idx, id.low=102513, page=5
xtrabackup: name=catalogue_search_idx, id.low=102514, page=6
xtrabackup: name=catalogues_modified_idx, id.low=102515, page=8
xtrabackup: name=catalogueitems_checklist_fk, id.low=102516, page=9
xtrabackup: name=catalogueitems_tax_code_fk, id.low=102517, page=10
xtrabackup: name=catalogueitems_matgroup_idx, id.low=102518, page=12
xtrabackup: name=catalogueitems_text, id.low=102519, page=4294967295
InnoDB: xtrabackup: Last MySQL binlog file position 89684162, file name db04-bin.000738
xtrabackup: starting shutdown with innodb_fast_shutdown = 0
2022-11-23 16:23:44 0x7f8e13fff700 InnoDB: Assertion failure in thread 140248197625600 in file pars0pars.cc line 830
InnoDB: Failing assertion: sym_node->table != NULL
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
16:23:44 UTC - xtrabackup got signal 6 ;
I have created a new database and have created the table using the exact structure.
innobackupex --databases="xbackup.catalogueitems" ./test
innobackupex --apply-log --export test/2022-11-23_16-23-06/
and the error is
...
...
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File './ibtmp1' size is now 12 MB.
InnoDB: 96 redo rollback segment(s) found. 1 redo rollback segment(s) are active.
InnoDB: 32 non-redo rollback segment(s) are active.
InnoDB: 5.7.35 started; log sequence number 253910756578
InnoDB: page_cleaner: 1000ms intended loop took 18515ms. The settings might not be optimal. (flushed=0 and evicted=0, during the time.)
xtrabackup: export option is specified.
xtrabackup: export metadata of table 'xbackup/catalogueitems' to file `./xbackup/catalogueitems.exp` (9 indexes)
xtrabackup: name=PRIMARY, id.low=102536, page=3
xtrabackup: name=FTS_DOC_ID_INDEX, id.low=102542, page=4
xtrabackup: name=catalogue_object_idx, id.low=102543, page=5
xtrabackup: name=catalogue_search_idx, id.low=102544, page=6
xtrabackup: name=catalogues_modified_idx, id.low=102545, page=8
xtrabackup: name=catalogueitems_checklist_fk, id.low=102546, page=9
xtrabackup: name=catalogueitems_tax_code_fk, id.low=102547, page=10
xtrabackup: name=catalogueitems_matgroup_idx, id.low=102548, page=12
xtrabackup: name=catalogueitems_text, id.low=102549, page=4294967295
InnoDB: xtrabackup: Last MySQL binlog file position 90506498, file name db04-bin.000738
xtrabackup: starting shutdown with innodb_fast_shutdown = 0
2022-11-23 16:32:46 0x7fd6c57fa700 InnoDB: Assertion failure in thread 140560413206272 in file pars0pars.cc line 830
InnoDB: Failing assertion: sym_node->table != NULL
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.7/en/forcing-innodb-recovery.html
InnoDB: about forcing recovery.
16:32:46 UTC - xtrabackup got signal 6 ;
It seems both errors are the same but different from the one if I backup the demouk
database. I also have tried to dump the xbackup
database, not only the table and prep and export worked without issues
innobackupex --databases="xbackup" ./test
innobackupex --apply-log --export test/2022-11-23_16-37-06/
produced the following output
...
...
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File './ibtmp1' size is now 12 MB.
InnoDB: 96 redo rollback segment(s) found. 1 redo rollback segment(s) are active.
InnoDB: 32 non-redo rollback segment(s) are active.
InnoDB: 5.7.35 started; log sequence number 253911297551
InnoDB: page_cleaner: 1000ms intended loop took 17159ms. The settings might not be optimal. (flushed=0 and evicted=0, during the time.)
xtrabackup: export option is specified.
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_DELETED' to file `./xbackup/FTS_000000000000a423_DELETED.exp` (1 indexes)
xtrabackup: name=FTS_COMMON_TABLE_IND, id.low=102540, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_5' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_5.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102554, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_2' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_2.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102551, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_1' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_1.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102550, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_3' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_3.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102552, page=3
xtrabackup: export metadata of table 'xbackup/checklists' to file `./xbackup/checklists.exp` (1 indexes)
xtrabackup: name=PRIMARY, id.low=102533, page=3
xtrabackup: export metadata of table 'xbackup/taxcodes' to file `./xbackup/taxcodes.exp` (2 indexes)
xtrabackup: name=PRIMARY, id.low=102534, page=3
xtrabackup: name=taxcodes_code_dates_idx, id.low=102535, page=4
xtrabackup: export metadata of table 'xbackup/cataloguefolders' to file `./xbackup/cataloguefolders.exp` (2 indexes)
xtrabackup: name=PRIMARY, id.low=102531, page=3
xtrabackup: name=cataloguefolders_modified_idx, id.low=102532, page=4
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_CONFIG' to file `./xbackup/FTS_000000000000a423_CONFIG.exp` (1 indexes)
xtrabackup: name=FTS_COMMON_TABLE_IND, id.low=102539, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_4' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_4.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102553, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_BEING_DELETED' to file `./xbackup/FTS_000000000000a423_BEING_DELETED.exp` (1 indexes)
xtrabackup: name=FTS_COMMON_TABLE_IND, id.low=102537, page=3
xtrabackup: export metadata of table 'xbackup/catalogueitems' to file `./xbackup/catalogueitems.exp` (9 indexes)
xtrabackup: name=PRIMARY, id.low=102536, page=3
xtrabackup: name=FTS_DOC_ID_INDEX, id.low=102542, page=4
xtrabackup: name=catalogue_object_idx, id.low=102543, page=5
xtrabackup: name=catalogue_search_idx, id.low=102544, page=6
xtrabackup: name=catalogues_modified_idx, id.low=102545, page=8
xtrabackup: name=catalogueitems_checklist_fk, id.low=102546, page=9
xtrabackup: name=catalogueitems_tax_code_fk, id.low=102547, page=10
xtrabackup: name=catalogueitems_matgroup_idx, id.low=102548, page=12
xtrabackup: name=catalogueitems_text, id.low=102549, page=4294967295
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_0000000000019095_INDEX_6' to file `./xbackup/FTS_000000000000a423_0000000000019095_INDEX_6.exp` (1 indexes)
xtrabackup: name=FTS_INDEX_TABLE_IND, id.low=102555, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_DELETED_CACHE' to file `./xbackup/FTS_000000000000a423_DELETED_CACHE.exp` (1 indexes)
xtrabackup: name=FTS_COMMON_TABLE_IND, id.low=102541, page=3
xtrabackup: export metadata of table 'xbackup/FTS_000000000000a423_BEING_DELETED_CACHE' to file `./xbackup/FTS_000000000000a423_BEING_DELETED_CACHE.exp` (1 indexes)
xtrabackup: name=FTS_COMMON_TABLE_IND, id.low=102538, page=3
InnoDB: xtrabackup: Last MySQL binlog file position 90953245, file name db04-bin.000738
xtrabackup: starting shutdown with innodb_fast_shutdown = 0
InnoDB: FTS optimize thread exiting.
InnoDB: Starting shutdown...
InnoDB: Shutdown completed; log sequence number 253947666872
InnoDB: Number of pools: 1
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup: innodb_data_home_dir = .
xtrabackup: innodb_data_file_path = ibdata1:12M:autoextend
xtrabackup: innodb_log_group_home_dir = .
xtrabackup: innodb_log_files_in_group = 2
xtrabackup: innodb_log_file_size = 268435456
InnoDB: PUNCH HOLE support available
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Uses event mutexes
InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
InnoDB: Compressed tables use zlib 1.2.7
InnoDB: Number of pools: 1
InnoDB: Using CPU crc32 instructions
InnoDB: Initializing buffer pool, total size = 100M, instances = 1, chunk size = 100M
InnoDB: Completed initialization of buffer pool
InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
InnoDB: Setting log file ./ib_logfile101 size to 256 MB
InnoDB: Progress in MB:
100 200
InnoDB: Setting log file ./ib_logfile1 size to 256 MB
InnoDB: Progress in MB:
100 200
InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
InnoDB: New log files created, LSN=253947666872
InnoDB: Highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 253947666956
InnoDB: Doing recovery: scanned up to log sequence number 253947666965 (0%)
InnoDB: Database was not shutdown normally!
InnoDB: Starting crash recovery.
InnoDB: xtrabackup: Last MySQL binlog file position 90953245, file name db04-bin.000738
InnoDB: Removed temporary tablespace data file: "ibtmp1"
InnoDB: Creating shared tablespace for temporary tables
InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
InnoDB: File './ibtmp1' size is now 12 MB.
InnoDB: 96 redo rollback segment(s) found. 1 redo rollback segment(s) are active.
InnoDB: 32 non-redo rollback segment(s) are active.
InnoDB: 5.7.35 started; log sequence number 253947666965
xtrabackup: starting shutdown with innodb_fast_shutdown = 0
InnoDB: FTS optimize thread exiting.
InnoDB: Starting shutdown...
InnoDB: Shutdown completed; log sequence number 253947666984
221123 16:37:50 completed OK!
So now it looks even more confusing for me.
P.S. Thanks to you I now know how to link the index file to its table .