MySQL Utilities工具介紹和命令列總結

chenfeng發表於2017-03-10
MySQL Utilities是官方提供的MySQL管理工具,使用python開發,功能面面俱到,主要有五個層面的工具:資料庫層面(複製、比較、差異、匯出、匯入)、稽核日誌層面、伺服器層面(例項克隆、例項資訊)、系統層面(磁碟使用情況、冗餘索引、搜尋後設資料、程式)、高可用性層面(主從複製、故障轉移、主從同步)。
主要有以下命令,分別介紹如下:
mysqlauditadmin — Allows users to perform maintenance action on the audit log
mysqlauditgrep — Allows users to search the current or an archived audit log
mysqlbinlogmove — Binary log relocate utility
mysqlbinlogpurge — Binary log purge utility
mysqlbinlogrotate — Binary log rotate utility
mysqldbcompare — Compare Two Databases and Identify Differences
mysqldbcopy — Copy Database Objects Between Servers
mysqldbexport — Export Object Definitions or Data from a Database
mysqldbimport — Import Object Definitions or Data into a Database
mysqldiff — Identify Differences Among Database Objects
mysqldiskusage — Show Database Disk Usage
mysqlfailover — Automatic replication health monitoring and failover
mysqlfrm — File reader for .frm files.
mysqlgrants — Display grants by object
mysqlindexcheck — Identify Potentially Redundant Table Indexes
mysqlmetagrep — Search Database Object Definitions
mysqlprocgrep — Search Server Process Lists
mysqlreplicate — Set Up and Start Replication Between Two Servers
mysqlrplms — Set Up and Start Replication Among a Slave and Multiple Masters
mysqlrpladmin — Administration utility for MySQL replication
mysqlrplcheck — Check Replication Prerequisites
mysqlrplshow — Show Slaves for Master Server
mysqlrplsync — Replication synchronization checker
mysqlserverclone — Clone Existing Server to Create New Server
mysqlserverinfo — Display Common Diagnostic Information from a Server
mysqlslavetrx — Slave transaction skip utility
mysqluc — Command line client for running MySQL Utilities
mysqluserclone — Clone Existing User to Create New User

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15498/viewspace-2135076/,如需轉載,請註明出處,否則將追究法律責任。

相關文章