Difference between revisions of "MariaDB Binary Log Formats"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* Statement-Based Logging: <code>[[STATEMENT]]</code> (Default until [[MariaDB 10.2.3]], [https://mariadb.org/download/?t=mariadb&o=true&p=mariadb&r=10.2.3 2016]) | * Statement-Based Logging: <code>[[STATEMENT]]</code> (Default until [[MariaDB 10.2.3]], [https://mariadb.org/download/?t=mariadb&o=true&p=mariadb&r=10.2.3 2016]) | ||
− | * Row-Based Logging: <code>[[ROW]]</code> (default) | + | * Row-Based Logging: <code>[[ROW]]</code> (default), <code>[[SET GLOBAL binlog_format]]='ROW';</code> |
* Mixed Logging: <code>[[MIXED]]</code> | * Mixed Logging: <code>[[MIXED]]</code> | ||
Revision as of 09:15, 18 December 2024
https://mariadb.com/kb/en/binary-log-formats/
- Statement-Based Logging:
STATEMENT
(Default until MariaDB 10.2.3, 2016) - Row-Based Logging:
ROW
(default),SET GLOBAL binlog_format='ROW';
- Mixed Logging:
MIXED
Related
- MariaDB binary log
- /etc/mysql/mariadb.conf.d/50-server.cnf
- binlog_format
- mysql -e "SHOW VARIABLES;" | grep binlog_format
(Warning) Unsafe statement written to the binary log using statement format since BINLOG FORMAT = STATEMENT
- mariadb --version
See also
- MariaDB:
mariadbcheck
,mariabackup
,mysqldump
, MyRocks,show (MariaDB)
MariaDB Changelog,50-server.cnf
, MariaDB engines, .ibd, .myd, .myi,/var/log/mysql/error.log, /var/log/mysql/mariadb-slow.log
, MariaDB files:.frm
,.ibd
,/etc/mysql/mariadb.conf.d/50-server.cnf
, replication, MariaDB slow queries,show databases;
, Aria, MyISAM, MariaDB SkySQL, binary log, 3306,/etc/mysql/
Advertising: