{"id":7799,"date":"2017-09-14T09:26:16","date_gmt":"2017-09-14T07:26:16","guid":{"rendered":"http:\/\/code.openark.org\/blog\/?p=7799"},"modified":"2017-09-15T07:52:34","modified_gmt":"2017-09-15T05:52:34","slug":"gh-ost-1-0-42-released-json-support-optimizations","status":"publish","type":"post","link":"https:\/\/code.openark.org\/blog\/mysql\/gh-ost-1-0-42-released-json-support-optimizations","title":{"rendered":"gh-ost 1.0.42 released: JSON support, optimizations"},"content":{"rendered":"<p><strong>gh-ost<\/strong> 1.0.42 is <a href=\"https:\/\/github.com\/github\/gh-ost\/releases\/tag\/v1.0.42\">released and available for download<\/a>.<\/p>\n<h3>JSON<\/h3>\n<p>MySQL 5.7&#8217;s <code>JSON<\/code> data type is now supported.<\/p>\n<p>There is a soft-limitation, that your <code>JSON<\/code> may not be part of your <code>PRIMARY KEY<\/code>. Currently this isn&#8217;t even supported by MySQL anyhow.<\/p>\n<h3>Performance<\/h3>\n<p>Two noteworthy changes are:<\/p>\n<ul>\n<li>Client side prepared statements reduce network traffic and round trips to the server.<\/li>\n<li>Range query iteration avoids creating temporary tables and filesorting.<\/li>\n<\/ul>\n<p>We&#8217;re not running benchmarks at this time to observe performance gains.<\/p>\n<h3>5.7<\/h3>\n<p>More tests validating <code>5.7<\/code> compatibility (at this time GitHub runs MySQL <code>5.7<\/code> in production).<\/p>\n<h3>Ongoing<\/h3>\n<p>Many other changes included.<\/p>\n<p>We are grateful for all community feedback in form of open Issues, Pull Requests and questions!<\/p>\n<p><code>gh-ost<\/code> is authored by <a href=\"http:\/\/github.com\/\">GitHub<\/a>. It is free and open source and is available under the MIT license.<\/p>\n<h3>Speaking<\/h3>\n<p>In two weeks time, <a href=\"https:\/\/github.com\/jonahberquist\">Jonah Berquist<\/a> will present <a href=\"https:\/\/www.percona.com\/live\/e17\/sessions\/gh-ost-triggerless-painless-trusted-online-schema-migrations\">gh-ost: Triggerless, Painless, Trusted Online Schema Migrations<\/a> at Percona Live, Dublin.<\/p>\n<p><a href=\"https:\/\/github.com\/tomkrouper\">Tom Krouper<\/a> and myself will present <a href=\"https:\/\/www.percona.com\/live\/e17\/sessions\/mysql-infrastructure-testing-automation-at-github\">MySQL Infrastructure Testing Automation at GitHub<\/a>, where, among other things, we describe how we test <code>gh-ost<\/code> in production.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gh-ost 1.0.42 is released and available for download. JSON MySQL 5.7&#8217;s JSON data type is now supported. There is a soft-limitation, that your JSON may not be part of your PRIMARY KEY. Currently this isn&#8217;t even supported by MySQL anyhow. Performance Two noteworthy changes are: Client side prepared statements reduce network traffic and round trips [&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":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[5],"tags":[125,57],"class_list":["post-7799","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-gh-ost","tag-open-source"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2bZZp-21N","_links":{"self":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/7799","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=7799"}],"version-history":[{"count":4,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/7799\/revisions"}],"predecessor-version":[{"id":7803,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/posts\/7799\/revisions\/7803"}],"wp:attachment":[{"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/media?parent=7799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/categories?post=7799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code.openark.org\/blog\/wp-json\/wp\/v2\/tags?post=7799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}