สรุป Administrative และ Utility Programs ใน MySQL
ibd2sdi
Extract Serialized Dictionary Information (SDI) จาก InnoDB Tablespace Files ใช้ได้ทั้ง Runtime และ Offline
innochecksum
ตรวจสอบ Checksum ของ InnoDB Files:
- อ่าน Tablespace File คำนวณ Checksum ทุก Page
- เปรียบเทียบกับ Stored Checksum รายงาน Mismatch (Damaged Pages)
- ตั้งแต่แรกสำหรับ Verify Integrity หลัง Power Outage, ใช้หลัง Copy Files ได้
shell> innochecksum [options] file_name
myisam_ftdump
แสดงข้อมูล FULLTEXT Indexes ใน MyISAM Tables อ่าน Index File โดยตรง -> ต้องรันบน Server Host ที่ Table อยู่ ต้อง FLUSH TABLES ก่อน
shell> myisam_ftdump [options] tbl_name index_num
myisamchk
ข้อมูล/ตรวจสอบ/ซ่อมแซม/เพิ่มประสิทธิภาพ MyISAM Tables (.MYD, .MYI Files) ไม่รองรับ Partitioned Tables
shell> myisamchk [options] tbl_name ...
myisamlog
ประมวลผล MyISAM Log File (สร้างด้วย --log-isam=log_file)
shell> myisamlog [options] [file_name [tbl_name] ...]
myisampack
บีบอัด MyISAM Tables (บีบอัด Column แยกกัน) ปกติบีบอัดได้ 40-70%
shell> myisampack [options] file_name ...
mysqlbinlog
แสดง Binary Log (Events ที่แก้ไข Database Contents) แปลง Binary Format -> Text
shell> mysqlbinlog [options] log_file ...
mysqldumpslow
Parse Slow Query Log Files สรุปเนื้อหา
shell> mysqldumpslow [options] [log_file ...]