-
Task
-
-
Major
-
Resolution:
Fixed
-
-
-
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.
|
{"report":{"fcp":834.5,"ttfb":198.29999923706055,"pageVisibility":"visible","entityId":34110,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"9e6a8c1e-2380-4ead-aec5-49c29b3a338b","navigationType":0,"readyForUser":910.6999998092651,"redirectCount":0,"resourceLoadedEnd":965.6999998092651,"resourceLoadedStart":203.5,"resourceTiming":[{"duration":65.89999961853027,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":203.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":269.3999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":65.80000019073486,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":203.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":203.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":269.69999980926514,"responseStart":0,"secureConnectionStart":0},{"duration":118.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":204,"connectEnd":204,"connectStart":204,"domainLookupEnd":204,"domainLookupStart":204,"fetchStart":204,"redirectEnd":0,"redirectStart":0,"requestStart":204,"responseEnd":322.5,"responseStart":322.5,"secureConnectionStart":204},{"duration":194.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":204.19999980926514,"connectEnd":204.19999980926514,"connectStart":204.19999980926514,"domainLookupEnd":204.19999980926514,"domainLookupStart":204.19999980926514,"fetchStart":204.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":204.19999980926514,"responseEnd":398.5,"responseStart":398.5,"secureConnectionStart":204.19999980926514},{"duration":197.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":204.5,"connectEnd":204.5,"connectStart":204.5,"domainLookupEnd":204.5,"domainLookupStart":204.5,"fetchStart":204.5,"redirectEnd":0,"redirectStart":0,"requestStart":204.5,"responseEnd":402.19999980926514,"responseStart":402.19999980926514,"secureConnectionStart":204.5},{"duration":198,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":204.69999980926514,"connectEnd":204.69999980926514,"connectStart":204.69999980926514,"domainLookupEnd":204.69999980926514,"domainLookupStart":204.69999980926514,"fetchStart":204.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":204.69999980926514,"responseEnd":402.69999980926514,"responseStart":402.69999980926514,"secureConnectionStart":204.69999980926514},{"duration":259.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":204.89999961853027,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":204.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":464.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":198.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":204.89999961853027,"connectEnd":204.89999961853027,"connectStart":204.89999961853027,"domainLookupEnd":204.89999961853027,"domainLookupStart":204.89999961853027,"fetchStart":204.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":204.89999961853027,"responseEnd":403,"responseStart":403,"secureConnectionStart":204.89999961853027},{"duration":198.19999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":205.19999980926514,"connectEnd":205.19999980926514,"connectStart":205.19999980926514,"domainLookupEnd":205.19999980926514,"domainLookupStart":205.19999980926514,"fetchStart":205.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":205.19999980926514,"responseEnd":403.3999996185303,"responseStart":403.3999996185303,"secureConnectionStart":205.19999980926514},{"duration":259.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":205.29999923706055,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":205.29999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":464.79999923706055,"responseStart":0,"secureConnectionStart":0},{"duration":198.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":205.5,"connectEnd":205.5,"connectStart":205.5,"domainLookupEnd":205.5,"domainLookupStart":205.5,"fetchStart":205.5,"redirectEnd":0,"redirectStart":0,"requestStart":205.5,"responseEnd":403.8999996185303,"responseStart":403.8999996185303,"secureConnectionStart":205.5},{"duration":332.80000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":210.79999923706055,"connectEnd":210.79999923706055,"connectStart":210.79999923706055,"domainLookupEnd":210.79999923706055,"domainLookupStart":210.79999923706055,"fetchStart":210.79999923706055,"redirectEnd":0,"redirectStart":0,"requestStart":210.79999923706055,"responseEnd":543.5999994277954,"responseStart":543.5999994277954,"secureConnectionStart":210.79999923706055},{"duration":741.1999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":210.89999961853027,"connectEnd":210.89999961853027,"connectStart":210.89999961853027,"domainLookupEnd":210.89999961853027,"domainLookupStart":210.89999961853027,"fetchStart":210.89999961853027,"redirectEnd":0,"redirectStart":0,"requestStart":210.89999961853027,"responseEnd":952.0999994277954,"responseStart":952.0999994277954,"secureConnectionStart":210.89999961853027},{"duration":67.90000057220459,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":476.0999994277954,"connectEnd":476.0999994277954,"connectStart":476.0999994277954,"domainLookupEnd":476.0999994277954,"domainLookupStart":476.0999994277954,"fetchStart":476.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":476.0999994277954,"responseEnd":544,"responseStart":544,"secureConnectionStart":476.0999994277954},{"duration":215.9000005722046,"initiatorType":"link","name":"https://jira.mariadb.org/s/d5715adaadd168a9002b108b2b039b50-CDN/lu2cib/820016/12ta74/be4b45e9cec53099498fa61c8b7acba4/_/download/contextbatch/css/jira.project.sidebar,-_super,-project.issue.navigator,-jira.general,-jira.browse.project,-jira.view.issue,-jira.global,-atl.general,-com.atlassian.jira.projects.sidebar.init/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":749.7999992370605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":749.7999992370605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":965.6999998092651,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":45,"responseStart":199,"responseEnd":204,"domLoading":202,"domInteractive":974,"domContentLoadedEventStart":974,"domContentLoadedEventEnd":1018,"domComplete":2078,"loadEventStart":2078,"loadEventEnd":2080,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":953.7999992370605},{"name":"bigPipe.sidebar-id.end","time":954.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":954.7999992370605},{"name":"bigPipe.activity-panel-pipe-id.end","time":957.2999992370605},{"name":"activityTabFullyLoaded","time":1029.5}],"measures":[],"correlationId":"72b4b0ff918047","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":92,"dbReadsTimeInMs":10,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}