Update for last week (2019-08-19 ~ 2019-08-25)
月曜日に先週一週間のMySQL関連の更新を再確認するのにご活用ください。
Release note
(https://dev.mysql.com/doc/relnotes/mysql/8.0/en/)
- Nothing
Bugs
serverity >= S5(Performance)
でupdatedでdesc sort、結果の今週分を見る
Bug #96622 batch update with rewriteBatchedStatements&useServerPrepStmts send fail request
- Category: Connector/J, Status: Verified, Version: 8.0.15, 8.0.17
- batch updateを
rewriteBatchedStatements=true&useServerPrepStmts=true&useConfigs=maxPerformance&allowMultiQueries=false
のオプションで実行すると、間違ったコマンドが送られる- com_stmt_prepareでは複数のクエリ(report中のupdate...)を受けず、jdbcがcom_queryで投げ直すことで成功する
- このあと、batch rewriteに対応できるようにするオプションをつけてPRを送っているので、もしかしたら入るかも
Organization blogs
MySQL server blog: https://mysqlserverteam.com/
- Compiling MySQL in Visual Studio. On a remote linux box.
- Visual Studioを使って、リモートのLinuxサーバのMySQLをデバッグビルド、実行する方法の解説
- 一つ一つ手順を書いてくれているので、なぞっていくだけで環境が作れそう
- 僕は直接local(Ubuntu)でClionを使って環境を作ってあるので、試さないつもり
- この記事自体がMSのC++ Team Blogに紹介されている https://devblogs.microsoft.com/cppblog/build-and-debug-mysql-on-linux-with-visual-studio-2019/
- Compiling MySQL in Visual Studio. On a remote linux box.
MySQL High Availability blog: https://mysqlhighavailability.com/
- Nothing
Percona blog (MySQL): https://www.percona.com/blog/
- Percona Live Europe 2019 Schedule
- Percona Live Europe 2019のスケジュールがでたらしい
- The Impact of Downtime on Your Business
- Gartnerの調査によると平均的に1分間のDBのdowntimeは$5600、1時間のdowntimeは$300,000の損失になるらしい
- Perconaが出したdisaster recoveryに対する戦略のwhite paperの宣伝とdowntime cost計算サイトが紹介されている
- https://www.percona.com/calculators
- これらのcalculatorのアルゴリズム教えてほしい...
- Percona Server for MySQL 5.6.45-86.1 Now Available
- ProxySQL 2.0.6 and proxysql-admin tool Now Available
- ProxySQL 2.0.6のリリース
- 変更分はReleases pageを確認するようにリンクがある
- Cleaning Docker Disk Space Usage
- docker適当に使っているとボリュームが増えて困るよねという話
- docker rmしてもボリュームがあまり減らないと思ったらdocker image/system pruneとかで消しましょう
- Percona Server for MySQL 5.7.27-30 Is Now Available
- Percona Server for MySQL 5.7.27-30のリリース
- 使っている人はBugs Fixed要確認
- Percona Live Europe 2019 Schedule
MySQL道普請: https://gihyo.jp/dev/serial/01/mysql-road-construction-news
- Nothing
SmartStyle TECH BLOG (MySQL): https://www.s-style.co.jp/blog/category/tech/mysql/ & https://www.s-style.co.jp/blog/category/tech/percona/
- Nothing
Severalnines Database Blog: https://severalnines.com/database-blog
- A Guide to MySQL Galera Cluster Restoration Using mysqldump
- Galera Clusterでのmysqldumpをつかったrestoreはおそいので、一旦シングルノードに適用してからrejoinさせるのが最速だよという実験結果付き説明
- The Easy Way to Deploy a MySQL Galera Cluster on AWS
- Building a MySQL or MariaDB Database Cold Standby on Amazon AWS
- A Guide to MySQL Galera Cluster Restoration Using mysqldump
Yakst MySQL-tag: https://yakst.com/ja/tags/mysql
- Nothing
Personal blogs
-
- Dave Stokes-san
- どうもcheck制約の使い方が悪い場合の問い合わせを受けて一言言っておきたかった様子
- 最後にMy Gripe(ぼやき)という節で、適当にggってないでマニュアル読んでくれ的なことが書いてあって、まあねという感じ
FROMDUAL RECOVERY MANAGER (RMAN) WITH PROGRESS INDICATOR
- Shinguz-san
FromDual Recovery Manager (rman)
というツールでは論理バックアップのリストア時に進捗表示ができるよという紹介- テーブル単位で進捗を表示してくれる模様
- MARIADB AND MYSQL CHARACTER SET CONVERSION
- Shinguz-san
- Character setのそもそもの説明から始まって、asciiからutf8mb4をデフォルトにするまでの変更の手順、確認事項が整理されている
このブログ記事はGitHub上で管理されていますMySQL-weekly repository。Issue, pull-request歓迎です。(完全に同期できているわけではありません)