![Page 1: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/1.jpg)
DBA TutorialKai VoigtSenior MySQL InstructorSun [email protected] Clara, April 12, 2010
Donnerstag, 8. April 2010
![Page 2: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/2.jpg)
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
Donnerstag, 8. April 2010
![Page 3: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/3.jpg)
MySQL Certification Study Guide http://www.mysql.com/certification/studyguides
Donnerstag, 8. April 2010
![Page 4: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/4.jpg)
New DBA 5.1 Hands On Exams Online real life tasks Need to pass 5 out of 5 mandatory tasks Need to pass 5 out of 10 optional tasks
Donnerstag, 8. April 2010
![Page 5: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/5.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 6: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/6.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 7: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/7.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 8: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/8.jpg)
Client/Server Overview OS independancy C Client Library Connectors
Donnerstag, 8. April 2010
![Page 9: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/9.jpg)
Communication Protocols Windows Only: Named Pipes, Shared Memory --skip-networking Unix Sockets vs TCP/IP
Donnerstag, 8. April 2010
![Page 10: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/10.jpg)
SQL Parser & Storage Engines Two Tiers Storage Engines Independance
Donnerstag, 8. April 2010
![Page 11: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/11.jpg)
How MySQL uses Disk Space Data Directory InnoDB Table Space
Donnerstag, 8. April 2010
![Page 12: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/12.jpg)
How MySQL Uses Memory One Connection = One Thread Grant Table Buffer Key Buffer Cache Table Cache
Donnerstag, 8. April 2010
![Page 13: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/13.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 14: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/14.jpg)
Types of MySQL Distributions tar & RPM Binaries vs self-built
Donnerstag, 8. April 2010
![Page 15: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/15.jpg)
Starting and Stopping, Windows Pre-initialized Data Directory Multiple mysqld Binaries --console Option Running mysql command line client Install mysqld as a service
Donnerstag, 8. April 2010
![Page 16: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/16.jpg)
Starting and Stopping, Unix RPM: user, group, data directory Data Directory: /var/lib/mysql mysqld, mysqld_safe, mysql.server How to stop a MySQL server mysqld writes to stdout
Donnerstag, 8. April 2010
![Page 17: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/17.jpg)
Runtime MySQL Configuration my.cnf / my.ini Option File vs Command Line General Startup Options
Donnerstag, 8. April 2010
![Page 18: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/18.jpg)
Log and Status Files Problems with Logging General Log Slow Query Log Queries not using indexes
Donnerstag, 8. April 2010
![Page 19: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/19.jpg)
Loading Time Zone Tables mysql_tzinfo_to_sql script
Donnerstag, 8. April 2010
![Page 20: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/20.jpg)
Security-Related Configuration Passwords Filesystem Access
Donnerstag, 8. April 2010
![Page 21: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/21.jpg)
SQL Mode Use How to configure
Donnerstag, 8. April 2010
![Page 22: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/22.jpg)
Upgrading MySQL Manual and Release Notes Basic Procedure
Donnerstag, 8. April 2010
![Page 23: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/23.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 24: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/24.jpg)
Client Programs mysql Command Line Client mysqladmin mysqlimport mysqldump
Donnerstag, 8. April 2010
![Page 25: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/25.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 26: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/26.jpg)
Character Set Support Performance Issues Disk Usage, Disk I/O, Memory Usage CHAR vs VARCHAR
Donnerstag, 8. April 2010
![Page 27: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/27.jpg)
Break
Donnerstag, 8. April 2010
![Page 28: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/28.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 29: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/29.jpg)
Locking Concepts Read vs Write Locks Explicit vs Implicit Locks Advisory Locks Table vs Row Level Locks Deadlocks
Donnerstag, 8. April 2010
![Page 30: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/30.jpg)
Explicit Table Locking LOCK TABLE READ LOCAL Releasing Table Locks Locking multiple tables
Donnerstag, 8. April 2010
![Page 31: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/31.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 32: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/32.jpg)
MySQL Storage Engines Things to consider Default Engine Determine the storage engine Required Engines: MyISAM, Memory
Donnerstag, 8. April 2010
![Page 33: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/33.jpg)
The MyISAM Engine MERGE, FULLTEXT features LOW_PRIORITY, HIGH_PRIORITY Out of Disk Space No Deadlocks Fixed Format Compressed Format
Donnerstag, 8. April 2010
![Page 34: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/34.jpg)
The MERGE Engine Table Locking No Deadlocks
Donnerstag, 8. April 2010
![Page 35: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/35.jpg)
The InnoDB Engine Tablespace Multiversioning Deadlocks Auto-Recovery Foreign Keys Per-Table Tablespace Transactions SAVEPOINT Implicit Commits Isolation Levels
Donnerstag, 8. April 2010
![Page 36: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/36.jpg)
The MEMORY Engine General Characteristics BTREE vs HASH Indexes
Donnerstag, 8. April 2010
![Page 37: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/37.jpg)
The FEDERATED Engine Concepts of FEDERATED Engine How to define
Donnerstag, 8. April 2010
![Page 38: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/38.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 39: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/39.jpg)
SQL Statements CHECK TABLE REPAIR TABLE ANALYZE TABLE OPTIMIZE TABLE Table Statistics
Donnerstag, 8. April 2010
![Page 40: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/40.jpg)
Client and Utility Programs myisamchk mysqlcheck
Donnerstag, 8. April 2010
![Page 41: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/41.jpg)
MyISAM Auto-Repair --myisam-recover
Donnerstag, 8. April 2010
![Page 42: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/42.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 43: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/43.jpg)
INFORMATION_SCHEMA List of Tables Read-Only INFORMATION_SCHEMA vs SHOW Limitations
Donnerstag, 8. April 2010
![Page 44: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/44.jpg)
Exam Content DBA 1 MySQL Architecture (10%) Starting, Stopping, and Configuring MySQL (20%) Client Programs for DBA Work (5%) Character Set Support (5%) Locking (10%) Storage Engines (20%) Data (Table) Maintenance (10%) The INFORMATION_SCHEMA Database (5%) Data Backup and Recovery Methods (15%)
Donnerstag, 8. April 2010
![Page 45: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/45.jpg)
Introduction Recovery = Backup + Binary Log Principles of MySQL Backup Binary vs Text Backup
Donnerstag, 8. April 2010
![Page 46: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/46.jpg)
Making Binary Backups MyISAM Tables InnoDB Tables Binary Portability
Donnerstag, 8. April 2010
![Page 47: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/47.jpg)
Making Text Backups SELECT INTO OUTFILE mysqldump
Donnerstag, 8. April 2010
![Page 48: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/48.jpg)
Replication as an Aid to Backup Hot Backup How to Backup a Slave
Donnerstag, 8. April 2010
![Page 49: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/49.jpg)
Data Recovery Load mysqldump File Binary Log mysqlbinlog --start-position --stop-position
Donnerstag, 8. April 2010
![Page 50: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/50.jpg)
End of Part 1
Donnerstag, 8. April 2010
![Page 51: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/51.jpg)
DBA TutorialKai VoigtSenior MySQL InstructorSun [email protected]
Santa Clara, April 20, 2009
Donnerstag, 8. April 2010
![Page 52: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/52.jpg)
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
Donnerstag, 8. April 2010
![Page 53: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/53.jpg)
MySQL Certification Study Guide http://www.mysql.com/certification/studyguides
Donnerstag, 8. April 2010
![Page 54: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/54.jpg)
New DBA 5.1 Hands On Exams Online real life tasks Need to pass 5 out of 5 mandatory tasks Need to pass 5 out of 10 optional tasks
Donnerstag, 8. April 2010
![Page 55: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/55.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 56: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/56.jpg)
Stored Procedures DEFINER/INVOKER Check incoming Data Restrict incoming Data Reduce Amount of Data Exchange
Donnerstag, 8. April 2010
![Page 57: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/57.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 58: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/58.jpg)
User Account Management Username + Hostname Wildcards Grant Tables in mysql Database Global, Database, Table, Column, Routine Level ALL PRIVILEGES USAGE Privilege Grants Cache GRANT/REVOKE CREATE/DROP USER IDENTIFIED BY WITH GRANT OPTION SHOW GRANTS SET PASSWORD
Donnerstag, 8. April 2010
![Page 59: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/59.jpg)
Client Access Control Two Stages Wildcards Hostnames, then Usernames
Donnerstag, 8. April 2010
![Page 60: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/60.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 61: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/61.jpg)
Filesystem Security Don‘t run mysql as root Log Files should be kept secret
Donnerstag, 8. April 2010
![Page 62: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/62.jpg)
Network Security MySQL user names != OS user names mysql_secure_installation Script mysql Database FILE Privilege SHOW PROCESSLIST SUPER Privilege --skip-networking --bind-address
Donnerstag, 8. April 2010
![Page 63: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/63.jpg)
FEDERATED Table Security Connect String Storage Prevent Users from seeing password
Donnerstag, 8. April 2010
![Page 64: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/64.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 65: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/65.jpg)
Upgrade-Related Security Issues Upgrading Privilege Tables Strict SQL Mode Error for Division by Zero Zero Dates, Null Dates
Donnerstag, 8. April 2010
![Page 66: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/66.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 67: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/67.jpg)
Identifying Candidates for Analysis Binary Log Slow Query Log SHOW PROCESSLIST
Donnerstag, 8. April 2010
![Page 68: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/68.jpg)
EXPLAIN columns: possible_keys, key, ref, id Joins: Multiply row numbers Order of Tables type: eq_ref, range, const Multi-Column Indexes STRAIGHT JOIN
Donnerstag, 8. April 2010
![Page 69: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/69.jpg)
MyISAM Index Caching Global vs Table Level Key Buffer SET, CACHE INDEX, LOAD INDEX INTO
Donnerstag, 8. April 2010
![Page 70: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/70.jpg)
Break
Donnerstag, 8. April 2010
![Page 71: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/71.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 72: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/72.jpg)
General Table Optimization PROCEDURE ANALYSE() Normalization vs Denormalization
Donnerstag, 8. April 2010
![Page 73: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/73.jpg)
MyISAM-Specific Optimizations Compressed Tables Dynamic vs Fixed Row Format Split Table into Dynamic and Fixed Parts
Donnerstag, 8. April 2010
![Page 74: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/74.jpg)
InnoDB-Specific Optimizations Size of Primary Keys SELECT COUNT(*) Group Statements into Transactions OPTIMIZE TABLE
Donnerstag, 8. April 2010
![Page 75: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/75.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 76: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/76.jpg)
Tuning Memory Parameters Table Cache Small Default Values MyISAM Key Buffer InnoDB Buffer Pool Disabling InnoDB read_buffer_size Sort Buffer Join Buffer max_allowed_packet
Donnerstag, 8. April 2010
![Page 77: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/77.jpg)
Using the Query Cache Characteristics query_cache_size query_cache_limit SHOW STATUS LIKE „qcache_%“
Donnerstag, 8. April 2010
![Page 78: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/78.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 79: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/79.jpg)
Diagnostics Error Log long_query_time Slow Query Log mysqldumpslow
Donnerstag, 8. April 2010
![Page 80: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/80.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 81: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/81.jpg)
Memory and Disks Memory is important Disk Seek Time is important RAID Seperate Log Files and Data Directory Using Symlinks Filesystem Selection
Donnerstag, 8. April 2010
![Page 82: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/82.jpg)
Network and OS Latency and Throughput Process Limits max_connections
Donnerstag, 8. April 2010
![Page 83: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/83.jpg)
Exam Content DBA 2 Stored Routines (5%) User Management (20%) Securing the Server (10%) Upgrade-Related Security Issues (5%) Optimizing Queries (15%) Optimizing Schemas (15%) Optimizing the Server (10%) Interpreting Error Messages (5%) Optimizing the Environment (5%) Scaling MySQL (10%)
Donnerstag, 8. April 2010
![Page 84: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/84.jpg)
Using Multiple Servers Requirements Shared InnoDB tables
Donnerstag, 8. April 2010
![Page 85: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/85.jpg)
Replication General Features Master-Slave MASTER_LOG_FILE, MASTER_LOG_POS master.info Relay Log Binary Log IO Thread, SQL Thread Unique Server IDs
Donnerstag, 8. April 2010
![Page 86: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/86.jpg)
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 Oracle’s products remains at the sole discretion of Oracle.
Donnerstag, 8. April 2010
![Page 87: MySQL DBA Certification Tutorial, Part 1 Presentation 1.pdf](https://reader033.vdocuments.mx/reader033/viewer/2022042615/55cf9d8c550346d033ae1deb/html5/thumbnails/87.jpg)
Good Luck!
Donnerstag, 8. April 2010