It is great to be able to build small utilities on top of an excellent RDBMS. Thank you MySQL. This is a small but complex utility to perform online schema change for MySQL. We call it OSC and the source is here. Some ALTER TABLE statements take too…
Check OGG until no data queuing in replication process:testRO:a)login test5 –l oggmgrb)oggc)#ggsci> lag *check lag=0{note: when check lag result = 0, proceed next step] [GGSCI的lag命令可以查询复制延迟, 如: GGSCI> lag <replicat>](At EOF, no more reco…
原文地址:https://www.percona.com/blog/2013/08/12/want-to-archive-tables-use-pt-archiver/ Percona Toolkit’s pt-archiver is one of the best utilities to archive the records from large tables to another tables or files. One interesting thing is that pt-arch…
使用Percona Toolkit的工具连接MySQL 8.x数据库时,会遇到类似"failed: Plugin caching_sha2_password could not be loaded: lib64/mariadb/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory at /usr/bin/pt-show-grants line 1367"这样的…
安装 percona-toolkit perl Makefile.PL make make test make install 默认安装到 /usr/local/bin 目录下 可能需要 DBI-1.632.tar.gz DBD-mysql-4.033.tar.gz ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/DBI/ 安装方式同上 查看都安装了哪些命令 man percona-toolkit 查找重复索引: pt-d…
New Features: 1221372: pt-online-schema-change now aborts with an error if the server is a slave, because this can break data consistency in case of row-based replication. If you are sure that the slave will not use row-based replication, you can dis…
percona-toolkit是一组高级命令行工具的集合,用来执行各种通过手工执行非常复杂和麻烦的mysql和系统任务,这些任务包括: l 检查master和slave数据的一致性 l 有效地对记录进行归档 l 查找重复的索引 l 对服务器信息进行汇总 l 分析来自日志和tcpdump的查询 l 当系统出问题的时候收集重要的系统信息 percona-toolkit源自Maatkit 和Aspersa工具,这两个工具是管理mysql的最有名的工具,现在Maatkit工具已经不维护了,请…
http://severalnines.com/blog/online-schema-upgrade-mysql-galera-cluster-using-toi-method As a follow-up to the Webinar on Zero Downtime Schema Changes in Galera Cluster, we’ll now walk you through the detailed steps on how to update your schema.…
-----------------Migration Toolkit-----------------Migration Toolkit is a command line utility that imports data or schema objectdefinitions immediately, or generates scripts that can be used at a later timeto duplicate data and database objects. Mig…
MySQL Study之--Percona Server版本号 1.简单介绍 Percona 为 MySQL 数据库server进行了改进.在功能和性能上较 MySQL 有着非常显著的提升.该版本号提升了在高负载情况下的 InnoDB 的性能.为 DBA 提供一些非常实用的性能诊断工具:另外有很多其它的參数和命令来控制server行为. 2.特点 Percona Server 仅仅包括 MySQL 的server版,并没有提供对应对 MySQL 的 Connector 和 GUI 工具…