1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
mariadb/support-files/magic
Kristian Nielsen 7081f2a58e Binlog-in-engine: New binlog implementation integrated in InnoDB
Implement an improved binlog implementation that is integrated into
the storage engine. The new implementation is enabled with the
--binlog-storage-engine option. Initially the InnoDB storage engine
implements the binlog.

Integrating the binlog in the storage engine improves performance,
since it makes the InnoDB redo log the single source of truth and
avoids the need for expensive two-phase commit between binlog and
engine. It also makes it possible to disable durability (set
--innodb-flush-log-at-trx-commit=0) to further improve performance,
while still preserving the ability to recover the binlog and database
into a consistent state after a crash.

The new binlog implementation also greatly improves the internal
design and implementation of the binlog, and enables future
enhancements for replication.

This is a squash of the original 11.4-based patch series.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2026-01-23 03:21:03 +01:00

31 lines
1.7 KiB
Plaintext

#
# Add the following to the end of your /etc/magic file to get the 'file'
# command to recognize some MariaDB / MySQL files.
#
0 beshort 0xfe01 MariaDB/MySQL table definition file
>2 byte x Version %d
0 belong&0xffffff00 0xfefe0700 MariaDB/MySQL MyISAM index file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0800 MariaDB/MySQL MyISAM compressed data file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0900 MariaDB Aaria index file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0A00 MariaDB Aaria compressed data file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0500 MariaDB/MySQL ISAM index file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0600 MariaDB/MySQL ISAM compressed data file
>3 byte x Version %d
0 string \376bin MariaDB/MySQL replication log
0 belong&0xffffff00 0xfefe0b00
>4 string MARIALOG MariaDB Aria transaction log file
>>3 byte x Version %d
0 belong&0xffffff00 0xfefe0c00 MariaDB Aria control file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0b00 MariaDB DDL recovery log
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0c00 MariaDB GTID index file
>3 byte x Version %d
0 belong&0xffffff00 0xfefe0d01 MariaDB InnoDB new binlog format
>3 byte x Version %d