Course Overview
This MySQL Database Administration course is designed for MySQL Database Administrators who have a basic understanding of a MySQL database and a good working knowledge of SQL commands.
Read More
The course provides an understanding of MySQL Architecture and practical experience in setting up, configuring and maintaining a MySQL server, and backing up and recovering data. This MySQL Database Administration course also covers MySQL replication and its role in high availability and scalability.
Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.
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
- Administer and tune a server
- Setting up Character Set Support
- Configuring log files and using them to monitor database activity
- Interpreting error messages
- Locking and transaction handling
- Using different storage engines
- Table Maintenance
- Implementing a backup strategy
- Performing physical and logical backups of data
- Administering Users and Privileges
- Using the Event Scheduler
- Configure simple replication topologies
- Administer a replication topology
Who will the course benefit?
Database Administrators, Database Developers and Technical Consultants who need to setup, administer, monitor and support MySQL databases and servers.
Read Less
Entry Requirements
A working knowledge of MySQL is required. Delegates should have knowledge of relational database concepts; have knowledge of MySQL data types; be able run Queries using SQL; join tables and run basic DDL and DML statements. This knowledge can be gained by attendance on the Introduction to MySQL course.
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.
Exam
The MySQL Database Administration course in conjunction with the MySQL Performance & Tuning course will teach the major topics required for the delegate to work towards achieving one of the following exams:
- Oracle Certified Professional MySQL 5.7 Database Administrator: 1Z0-888
- Oracle Certified Professional MySQL 8.0 Database Administrator: 1Z0-908
After passing the relevant exam, candidates will achieve one of the following certifications:
- Oracle Certified Professional, MySQL 5.7 Database Administrator
- Oracle Certified Professional, MySQL 8.0 Database Administrator
Attending this course will help delegates gain many of the skills and product knowledge requirements as outlined in the exams objectives. Studying these courses and their associated reference materials can form part of the preparation to achieve certification. Experience, practice, self-study and aptitude are also key requirements for exam success.
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.
Course Objectives
At the end of the MySQL Database Administration course, delegates will have the knowledge to use the features available to administer, monitor and support MySQL databases and servers.
Syllabus – Key points
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 and MariaDB
- An Overview of MySQL Architecture
- MySQL Server
- MySQL Tools
- MySQL Admin
- Exercises: Using Client Programs
Session 2: MYSQL WORKBENCH
- Installation
- Connecting
- Screens
- Exercises: Using MySQL Workbench
Session 3: OBTAINING METADATA
- What is Metadata?
- The mysqlshow Client Program
- The SHOW and DESCRIBE Commands
- The Information_Schema
- Show Command and Information_Schema Differences
- Exercises: Obtaining Information about MySQL
Session 4: MYSQL SERVER INSTALLATION AND CONFIGURATION
- MySQL Distributions
- Installing on Windows
- Installing on Linux and UNIX
- Starting and Stopping on Windows
- Starting and Stopping on UNIX/Linux
- Status Files
- Upgrading the Server
- Time Zone Tables
- Exercises: Installing, stopping and starting
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: Interpreting Errors and Configuring the Logs
Course Contents – DAY 2
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
Session 8: TRANSACTIONS AND LOCKING
- Locking Concepts
- Explicit Table Locking
- Advisory Locking
- Exercises: Locking
Session 9: THE INNODB STORAGE ENGINE
- Introduction
- Features of Innodb
- Transactions
- Referential Integrity
- Physical Characteristics of Innodb Tables
- System Tablespace Configuration
- Log File and Buffer Configuration
- Innodb Status
- Exercises: Using the InnoDB Engine
Session 10: OTHER STORAGE ENGINES
- Introduction
- The MYISAM Engine
- The Merge Engine
- Other Engines: Archive, Aria, Memory, Blackhole, CSV
- Cluster Engine Overview
- Overview of the ColumnStore, MyRocks and Spider Engines
- Exercises: Using Storage Engines
Session 11: TABLE MAINTENANCE
- Table Maintenance Operations
- Check Table
- Repair Table
- Analyze Table
- Optimize Table
- MySQL Check
- MyISAM Table Maintenance and Repair Utilitiesli>
- Exercises: Maintaining Tables
Course Contents – DAY 3
Session 12: BACKUP AND RECOVERY
- Designing a Backup and Recovery Strategy
- The Advantages and Disadvantages of Different Backup Methods
- Binary Backups of MYISAM Tables
- Binary Backups of Innodb Tables
- 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
- Exercises: Creating, Managing and Dropping Users
Session 14: PRIVILEGES
- Introduction
- Types of Privileges
- Revoking Privileges
- Resource Limits
- The MySQL Database
- The Show Grants Command
- Exercises: Granting and Revoking Privileges
Session 15: SECURITY AND UPGRADES
- 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
- Exercises: Securing the Server
Course Contents – DAY 4
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
- Fulltext Indexes
- MyISAM Index Caching
- Exercises: Creating and Using Indexes
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
- Performance Schema Overview
- 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
- Exercises: Using partitioned tables
Course Contents – DAY 5
Session 22: OVERVIEW OF CLUSTER STORAGE ENGINES
- Overview of Clustering and Performance
- NDBCluster Engine Overview
- The Galera Cluster
- The Percona XtraDB Cluster
- MySQL InnoDB Cluster
- The Federated Engine
- The FederatedX Engine
- Overview of Other High Availability Techniques
- NOSQL and MemCached Overview
- Features of Memcached with MySQL
Session 23: OVERVIEW OF HIGH AVAILABILITY
- High Availability Goals
- High Availability Concepts
- Design for High Availability
- Definition of Availability
- High Availability Terminology
Session 24: CONFIGURE MASTER SLAVE REPLICATION
- Replication Overview
- When to Use Replication
- Testing Replication
- Excluding Databases or Tables from Replication
- Example: Setting Up a Master Slave Replication
- Replication Using GTIDs
- Controlled Switchover
- Exercises: Setting Up and Testing Replication and Switchover
Session 25: ADMINISTER A REPLICATION TOPOLOGY
- Failover
- MySQL Replication and Failover Utilities
- Replication Files and Threads
- Monitoring Replication
- Troubleshooting Replication
- Exercises: Failover from Master to Slave
Session 26: GROUP REPLICATION
- Overview of Group Replication
- Single Primary Mode
- Multi-primary Mode
- Configure Group Replication
- Monitor Group Replication
Reviews
There are no reviews yet.