Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> MySQL

โปรแกรมไคลเอนต์ MySQL (MySQL Client Programs)

มี Client Programs 7 ตัว:

โปรแกรมคำอธิบาย
mysqlSQL Shell แบบโต้ตอบ/แบทช์ ASCII Table Output
mysqladminAdmin Operations: สร้าง/ลบ DB, Reload Grant Tables, Flush, Status, Version
mysqlcheckTable Maintenance: Check, Repair, Analyze, Optimize (Lock Table ระหว่างประมวลผล)
mysqldumpLogical Backup: SQL/CSV/XML ต้องการ SELECT, SHOW VIEW, TRIGGER, LOCK TABLES, PROCESS
mysqlimportImport ข้อมูลจาก Text File (LOAD DATA Interface)
mysqlpumpParallel Backup: เร็วกว่า mysqldump, ควบคุม Object ได้ละเอียด, Dump User Accounts เป็น CREATE USER/GRANT
mysqlshowแสดง DB, Tables, Columns, Indexes (CLI สำหรับ SHOW Statements)
mysqlslapLoad Testing: จำลอง Multiple Clients, รายงาน Timing ทุก Stage

รายละเอียดเพิ่มเติม

mysqlpump Features

  • Parallel Processing Databases และ Objects
  • ควบคุม Databases/Objects ที่จะ Dump ได้ละเอียด
  • User Accounts -> CREATE USER, GRANT Statements
  • Compressed Output
  • Progress Indicator
  • Faster Secondary Index Creation (เพิ่ม Index หลัง Insert Rows)

mysqlimport

Options ตอบโจทย์ Clauses ของ LOAD DATA โดยตรง