FastTrack to MySQL Database Administration
This FastTrack to MySQL Database Administration course is designed for Database Administrators who already have substantial experience in the administration of another relational database management system such as Oracle or Microsoft SQL Server.
The course provides practical experience in setting up and maintaining a MySQL 8 database server, including backing up, recovery, configuration and tuning. This course is also suitable for administrators of MySQL 5.6 and 5.7
The delegate will learn and acquire skills as follows:
- Using Client Programs for MySQL DBA work
- Using MySQL Workbench
- Obtaining metadata
- Configuring the MySQL Server
- Install and configure the MySQL Server and client programs
- Administering and tuning a server
- Upgrading a server
- Setting up character set support
- Configuring log files and using them to monitor database activity
- Interpreting error messages
- Locking and transactions
- Using different storage engines
- Maintaining Tables
- Implementing a backup strategy
- Performing physical and logical backups of data
- Administering users and privileges
- Securing the Server from common security threats
- Identify and Optimise poorly tuned queries
- Tuning Tables and Indexes
- Using the Event Scheduler
- Creating partitioned tables
- Setting up a simple replication topology
Database Administrators, Database Developers and Technical Consultants with substantial experience of an alternative relational database management system who now need to administer, monitor and support MySQL databases and servers.
At the end of the FastTrack to MySQL Database Administration course, delegates will have the knowledge to use the features available to administer, monitor and support MySQL 5.6, 5.7 and 8 databases and servers.
The FastTrack to MySQL Database Administration course will teach the major topics required for the delegate to work towards achieving the following examination:
- Oracle Certified Professional MySQL 5.7 Database Administrator Exam (1Z0-888)
Before taking any exam, ensure you have the recommended experience. The Oracle website lists all exam requirements and these are updated regularly.
Exams are not included as part of the course.
Substantial experience of administering a relational database management system such as Oracle or Microsoft SQL Server is required. This course is not suitable for delegates who only have experience with databases such as Microsoft Access.
This course is run on a Linux operating system platform, therefore, a good working knowledge of Linux/UNIX is strongly recommended. This knowledge can be gained by attendance on the Linux Introduction course.
Delegates who are considering attending this 3 Day FastTrack to MySQL Database Administration course should note that fewer topics are covered on this course than in the MySQL Database Administration course. This course is delivered at a much faster pace with fewer practical exercises as delegates are assumed to already have substantial experience of administering other databases.
- Introduction to MySQL
- Linux Introduction
- MySQL Performance & Tuning
- Perl Programming
- Apache Web Server
- PHP & MySQL for Web Development
- Course technical content is subject to change without notice.
- Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.
------------------------------------------------------------
FastTrack to MySQL Database Administration
Course Contents - DAY 1
Course Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: THE SERVER, CLIENTS AND TOOLS
- Introduction
- The versions of MySQL
- An Overview of MySQL Architecture
- The MySQL Server
- MySQL Client Connections
- MySQL Client Programs
- MySQL Client Libraries
- The mysql Command Line Tool
- The mysqladmin Program
- Exercises: Using MySQL Client Programs
Session 2: MYSQL WORKBENCH
- Installation of MySQL Workbench
- Connecting to MySQL Workbench
- MySQL Workbench Screens
- Exercises: Using MySQL Workbench
Session 3: OBTAINING METADATA
- What is Metadata?
- The mysqlshow Client Program
- The SHOW and DESCRIBE Commands
- The INFORMATION_SCHEMA
- MySQL 8 INFORMATION_SCHEMA Changes
- The Show Command and INFORMATION_SCHEMA Differences
- Exercises: Obtaining Information about MySQL
Session 4: MYSQL SERVER INSTALLATION AND CONFIGURATION
- MySQL Distributions
- Installing on Linux and UNIX
- Starting and Stopping the Server on UNIX/Linux
- Status Files
- Time Zone Tables
- Exercises: Stopping and starting the server
Session 5: CONFIGURING THE SERVER
- MySQL Server Options and Variables
- MySQL Status Variables
- Configuring MySQL Enterprise Audit
- Exercises: Configuring the Server
Session 6: SQL MODES, LOG FILES AND BINARY LOGGING
- MySQL Error Messages
- The SHOW Errors Statement
- The SHOW Warnings Statement
- SQL Modes
- Note Messages
- The PERROR Utility
- The General Log
- The Error Log
- The Slow Query Log
- The Binary Logs
- Exercises: Configuring the Logs
Session 7: MYSQL ARCHITECTURE
- Client/Server Overview
- Communication Protocols
- The SQL Parser and Storage Engine Tiers
- How MySQL Uses Disk Space
- How MYSQL Uses Memory
- Exercises: Examining the Architecture of MySQL
Session 8: TRANSACTIONS AND LOCKING
- Locking Concepts
- Levels of Locking
- Implicit Table Locking with MyISAM and InnoDB
- Explicit Table Locking
- Advisory Locking
- Monitoring Locks
- Turning Autocommit on and off
- Using Transaction Blocks
- Handling Concurrency Problems and Deadlocks
Course Contents - DAY 2
Session 9: THE INNODB ENGINE
- Introduction
- Features of Innodb
- Transactions
- Referential Integrity
- Physical Characteristics of Innodb Tables
- System Tablespace Configuration
- Log File and Buffer Configuration
- Undo Logs and Undo Tablespaces
- General Tablespaces
- Temporary Table Tablespaces
- Innodb Status
- InnoDB Shutdown Options
- Exercises Using the InnoDB Engine
Session 10: OTHER STORAGE ENGINES
- MyISAM Engine
- Merge Engine
- Archive Engine
- Memory Engine
- Blackhole Engine
- CSV Engine
- Exercises: Storage Engine Performance
Session 11: TABLE MAINTENANCE
- Table Maintenance Operations
- Check Table
- Repair Table
- Analyze Table
- Optimize Table
- MySQL Check
- Repair InnoDB Tables
- MyISAM Table Maintenance and Repair Utilities
- Exercises: Maintaining Tables
Session 12: BACKUP AND RECOVERY
- Designing a Backup and Recovery Strategy
- The Advantages and Disadvantages of Different Backup Methods
- Backup Tool Overview
- Binary Backups of MYISAM Tables
- Binary Backups of Innodb Tables
- Performing Hot Backups
- Recovery
- Import and Export Operations
- Exporting and Importing using SQL
- Exporting from the Command Line using mysqldump
- Importing from the Command Line using mysqlimport
- Additional Backup Tools
- Exercises: Backing Up and Recovery
Session 13: USER MANAGEMENT
- Introduction
- User Accounts
- Creating Users
- Renaming Users
- Changing Passwords
- Dropping Users
- Granting Privileges
- The User Table
- Connection Validation
- Password Validation Plugins
- Exercises: Creating, Managing and Dropping Users
Session 14: PRIVILEGES
- Introduction
- Types of Privileges
- Granting and Revoking Privileges
- Setting Resource Limits
- MySQL 8 Resource Management
- MySQL 8 Role Management
- The MySQL Database
- The Show Grants Command
- Exercises: Granting and Revoking Privileges
Session 15: SECURITY AND UPGRADING
- Signs of Poor Security
- Security Risks
- Users, Operating System, File System and Network Security
- Using SSL With MySQL
- Remote Connecting to the MySQL Server Using SSH
- Upgrade the Server
- MySQL 8 Upgrade Checker
- Exercises: Securing the Server
Session 16: TUNING QUERIES
- Tuning Overview
- Identifying Candidates for Query Analysis
- Using Explain to Analyze Queries
- Meaning of Explain Output
- Explain Extended
- Exercises: Explaining and Tuning Queries
Session 17: TUNING AND INDEXES
- Indexes for Performance
- Creating and Dropping Indexes
- Obtaining Index Metadata
- Indexing Principles
- Indexing and Joins
- Prefixed Indexes
- Composite Indexes
- Fulltext Indexes
- Invisible Indexes
- Index Hints
- Conditions that Prevent Index Usage
- InnoDB Cached Indexes Information
- MyISAM Index Caching
- Exercises: Creating and Using Indexes
Course Contents - DAY 3
Session 18: TUNING AND TABLES
- General Table Optimizations
- Myisam Specific Optimizations
- Innodb Specific Optimizations
- Other Engine Specific Optimizations
- Exercises: Tuning Tables
Session 19: TUNING THE SERVER
- Status Variables
- Server Variables
- System Variables
- Per Client Variables
- Performance Schema Overview
- The Query Cache
- MySQL 8 Desupport of the Query Cache
- Exercises: Tuning the Server
Session 20: THE EVENT SCHEDULER
- Event scheduler concepts
- Event scheduler configuration
- Creating, altering and dropping events
- Event scheduler monitoring
- Events and privileges
- Exercises: Using the event scheduler
Session 21: PARTITIONED TABLES
- Partitioned tables concepts
- Obtaining Partitioned Table Metadata
- Types of Partitioning
- Subpartitioning
- Maintenance of partitioned tables
Session 22: OVERVIEW OF STORAGE ENGINES
- Overview of Clustering and Performance
- The NDBCluster Engine
- The Galera Cluster
- The Percona XtraDB Cluster
- MySQL InnoDB Cluster
- The Federated Engine
- Overview of Other High Availability Techniques
- NOSQL and Mencached Overview
Session 23: OVERVIEW OF REPLICATION
- Replication Overview
- When to Use Replication
- Disadvantages of Replication
- Replication Factors
- Replication Architecture
- Complex Replication Topologies
- Replicating from InnoDB to MyISAM Tables
- Testing Replication
- Monitoring and Troubleshooting Replication
- Files and Threads Involved in Replication
- Excluding Databases or Tables From Replication
- Example: Setting Up a Master Slave Replication
- Replication Using GTIDs
- MySQL Replication Utilities
- Exercises: Setting Up and Testing GTID Replication