Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
main.mysqlbinlog_raw_mode and main.mysqlbinlog_raw_mode_win covering this worklog: https://dev.mysql.com/worklog/task/?id=4783
MySQL needs a way of creating real-time backups. The current method of doing
|
this is to create a slave with using the blackhole engine as can be seen at the
|
following URL:
|
http://dev.mysql.com/doc/refman/5.1/en/blackhole-storage-engine.html
|
|
This method works rather well but has the disadvantage of requiring a whole
|
MySQL instance to run to make the real-time backups, this can be a burden on
|
resources and difficult to setup if you are trying to backup many MySQL servers.
|
|
We already have mysqlbinlog to talk to remote MySQL servers to retrieve binlog
|
data and translate it into SQL statements so in theory it should be easy enough
|
to create a raw mode for the output.
|
|
Solution
|
mysqlbinlog has been modified to have several new parameters, key to this is the
|
new --raw flag which writes the data out in raw binlog format rather than
|
translating it. The other parameter changes are designed to add more
|
functionality to the --raw flag so that it can easily be used in various backup
|
scenarios.
|
Attachments
Issue Links
Activity
Labels | mysqlbinlog |
Fix Version/s | 10.0.12 [ 15201 ] | |
Fix Version/s | 10.0.11 [ 15200 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Assignee | Rasmus Johansson [ ratzpo ] |
Fix Version/s | 10.1.0 [ 12200 ] | |
Fix Version/s | 10.0.12 [ 15201 ] |
Workflow | defaullt [ 37910 ] | MariaDB v2 [ 43691 ] |
Fix Version/s | 10.1 [ 16100 ] | |
Fix Version/s | 10.1.0 [ 12200 ] |
Labels | mysqlbinlog | gsoc15 mysqlbinlog |
Workflow | MariaDB v2 [ 43691 ] | MariaDB v3 [ 65755 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Labels | gsoc15 mysqlbinlog | gsoc16 mysqlbinlog |
Labels | gsoc16 mysqlbinlog | gsoc15 gsoc16 mysqlbinlog |
Affects Version/s | 10.0.10 [ 14500 ] | |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Status | Confirmed [ 10101 ] | Open [ 1 ] |
Labels | gsoc15 gsoc16 mysqlbinlog | gsoc15 mysqlbinlog |
Assignee | Rasmus Johansson [ ratzpo ] | Alexey Botchkov [ holyfoot ] |
Fix Version/s | 10.2.0 [ 20700 ] | |
Fix Version/s | 10.1 [ 16100 ] |
Component/s | Replication [ 10100 ] | |
Component/s | Scripts & Clients [ 11002 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 65755 ] | MariaDB v4 [ 132300 ] |
This is now documented here:
http://dev.mysql.com/doc/refman/5.6/en/mysqlbinlog-backup.html
This is in use by tools like MHA now as well: https://code.google.com/p/mysql-master-ha/wiki/Configuration#Binlog_server