MySQL DBA Certification Tutorial, Part 1 Presentation 1 PDF
MySQL DBA Certification Tutorial, Part 1 Presentation 1 PDF
MySQL DBA Certification Tutorial, Part 1 Presentation 1 PDF
Certification Details
http://www.mysql.com/certification/ Registration at Conference Closed Book Exams Non-Disclosure and Logo Usage Agreements 70 multiple-choice questions 90 minutes
Client/Server Overview
OS independancy C Client Library Connectors
Communication Protocols
Windows Only: Named Pipes, Shared Memory --skip-networking Unix Sockets vs TCP/IP
Security-Related Configuration
Passwords Filesystem Access
SQL Mode
Use How to configure
Upgrading MySQL
Manual and Release Notes Basic Procedure
Client Programs
mysql Command Line Client mysqladmin mysqlimport mysqldump
Break
Locking Concepts
Read vs Write Locks Explicit vs Implicit Locks Advisory Locks Table vs Row Level Locks Deadlocks
SQL Statements
CHECK TABLE REPAIR TABLE ANALYZE TABLE OPTIMIZE TABLE Table Statistics
MyISAM Auto-Repair
--myisam-recover
INFORMATION_SCHEMA
List of Tables Read-Only INFORMATION_SCHEMA vs SHOW Limitations
Introduction
Recovery = Backup + Binary Log Principles of MySQL Backup Binary vs Text Backup
Data Recovery
Load mysqldump File Binary Log mysqlbinlog --start-position --stop-position
End of Part 1
DBA Tutorial
Kai Voigt Senior MySQL Instructor Sun Microsystems [email protected] Santa Clara, April 20, 2009
Certification Details
http://www.mysql.com/certification/ Registration at Conference Closed Book Exams Non-Disclosure and Logo Usage Agreements 70 multiple-choice questions 90 minutes
Stored Procedures
DEFINER/INVOKER Check incoming Data Restrict incoming Data Reduce Amount of Data Exchange
Filesystem Security
Dont run mysql as root Log Files should be kept secret
Network Security
MySQL user names != OS user names mysql_secure_installation Script mysql Database FILE Privilege SHOW PROCESSLIST SUPER Privilege --skip-networking --bind-address
EXPLAIN
columns: possible_keys, key, ref, id Joins: Multiply row numbers Order of Tables type: eq_ref, range, const Multi-Column Indexes STRAIGHT JOIN
Break
MyISAM-Specific Optimizations
Compressed Tables Dynamic vs Fixed Row Format Split Table into Dynamic and Fixed Parts
InnoDB-Specific Optimizations
Size of Primary Keys SELECT COUNT(*) Group Statements into Transactions OPTIMIZE TABLE
Diagnostics
Error Log long_query_time Slow Query Log mysqldumpslow
Network and OS
Latency and Throughput Process Limits max_connections
Replication
General Features Master-Slave MASTER_LOG_FILE, MASTER_LOG_POS master.info Relay Log Binary Log IO Thread, SQL Thread Unique Server IDs
The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle.
Good Luck!