{"id":2441,"date":"2010-05-18T19:29:05","date_gmt":"2010-05-18T17:29:05","guid":{"rendered":"http:\/\/code.openark.org\/blog\/?p=2441"},"modified":"2010-05-18T19:59:19","modified_gmt":"2010-05-18T17:59:19","slug":"a-myisam-backup-is-blocking-as-read-only-including-mysqldump-backup","status":"publish","type":"post","link":"https:\/\/code.openark.org\/blog\/mysql\/a-myisam-backup-is-blocking-as-read-only-including-mysqldump-backup","title":{"rendered":"A MyISAM backup is blocking as read-only, including mysqldump backup"},"content":{"rendered":"<p>Actually this is (almost) all I wanted to say. This is intentionally posted with all related keywords in title, in the hope that a related search on Google will result with this post on first page.<\/p>\n<p>I&#8217;m just still encountering companies who use MyISAM as their storage engine and are <em>unaware<\/em> that their nightly backup actually blocks their application, basically rendering their product unavailable for long minutes to hours on a nightly basis.<\/p>\n<p>So this is posted as a warning for those who were not aware of this fact.<\/p>\n<p>There is no hot (non blocking) backup for MyISAM. Closest would be file system snapshot, but even this requires flushing of tables, which may take a while to complete. If you must have a hot backup, then either use replication &#8211; and take the risk of the slave not being in complete sync with the master &#8211; or use another storage engine, i.e. InnoDB.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Actually this is (almost) all I wanted to say. This is intentionally posted with all related keywords in title, in the hope that a related search on Google will result with this post on first page. I&#8217;m just still encountering companies who use MyISAM as their storage engine and are unaware that their nightly backup [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[5],"tags":[7,14,13],"class_list":["post-2441","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-backup","tag-innodb","tag-myisam"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2bZZp-Dn","_links":{"self":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/2441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/comments?post=2441"}],"version-history":[{"count":7,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/2441\/revisions"}],"predecessor-version":[{"id":2448,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/2441\/revisions\/2448"}],"wp:attachment":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/media?parent=2441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/categories?post=2441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/tags?post=2441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}