You are on page 1of 8

Training - MySQL DBA (Version 5.6, 5.

7)

Training Period - 6 Days Training (Hands on training)

Trainer – Rajkumar Pomaji (Database Architect)

Course Synopsis
First of all, this course, MySQL DBA Training, is designed for MySQL Database Administrators who
have a basic understanding of a MySQL database and SQL commands. Therefore, the course
provides practical experience in setting up and maintaining a MySQL server, including backing up,
recovery, configuration and optimization.

Course Objectives
Objective of MySQL DBA Training Course is to give administrators the knowledge and skills needed
to maintain successful and efficient day-to-day operations of MySQL databases and services.
Hence, Administrators will gain practical experience in setting up, administering and troubleshooting
MySQL databases. As a result, they will have in depth knowledge on Replication, High
availability features of MySQL and in depth knowledge Security.

Practical Includes in MySQL DBA Training:


 Mysql 5.6 futures
 Starting, Stopping and Configuring MySQL
 Security-Related Configuration
 Database Creation
 Using Client Programs for DBA Work
 Setting up Character Set Support
 Transactions and Locking
 Using Storage Engines
 Table Maintenance
 Obtaining Data from the Information_Schema Database
 Backup and Recovery
 Using Stored Procedures for Database Administration Tasks
 User Management
 Securing the Server
 Upgrade-Related Security Issues
 Optimizing Queries and Schemas
 Optimizing the Server
 The Event Scheduler
 Partitioned Tables
 Interpreting Error Messages
 Optimizing the Environment
 Scaling MySQL
 MYSQL Cluster
Topics to be Covered in MySQL DBA Training Course
Section 1 Getting Started with MySQL
Session 1 Introduction to DBMS and RDBMS
 Flat File Databases
 Drawbacks of Flat File Databases
 Database Management System
 Usage of DBMS
 Functionalities of database system
 Data models
 RDBMS and 12 Rules
 Properties of Relations
 Keys and Referential Integrity

Session 2 Schema Normalization


 Normalization – Definition
 Implementation of Normalization Process
 A Practical Example on
 First Normal Form
 Second Normal Form
 Third Normal Foem

Session 3 Mysql 5.6 Features


 GTID Replication
 Multi threated slave
 Crash- safe slave configuration
 Delay replication
 Multi source replication
 No-SQL with MYSQL

Session 4 MySQL 8 Features


 Common Table Expressions
 Persistent runtime configuration changes
 MySQL privilege tables are now InnoDB
 Global Data Dictionary
 Optimizer Hints.
 Invisible indexes.
 Deadlock detection can now be disabled
 Innodb buffer pool mutex removed.
 Auto-increment counter value will now persist across server restarts
 UUID_TO_BIN() and BIN_TO_UUID() functions
 Default character set and collation
 Cost Model Improvements
Session 5. MySQL Architecture
 Client/Server Overview
 Communication Protocols
 The SQL Parser and Storage Engine Tiers
 How MySQL Uses Disk Space
 How MYSQL Uses Memory

Lab Assignment: Examining the Architecture

Session 6. Installing, Configuring, Starting and Stopping


 MySQL Distributions
 Installing on Windows
 Installing on Linux and UNIX
 Starting and Stopping on Windows
 Starting and Stopping on UNIX/Linux
 Configuration
 Log and Status Files
 The Default SQL Mode
 Time Zone Tables
 Some Security Issues
 Upgrading

Lab Assignment: Installing, configuring, stopping and starting

Session 7. Interpreting Error and Diagnostic Information


 MySQL Error Messages
 The SHOW Statement
 SQL Modes
 The PERROR Utility
 The Log
 The Error Log
 The Slow Query Log

Lab Assignment: Interpreting Error and Diagnostic Information

Section 2 Data Management in MySQL


Session 8. Storage Engines
 Introduction
 The MYISAM Engine
 Locking with MYISAM Tables
 The Merge Engine
 Other Engines

Lab Assignment: Using Storage Engines


Session 9. The Innodb Engine
 Introduction
 Features of Innodb
 Transactions
 Referential Integrity
 Physical Characteristics of Innodb Tables
 Tablespace Configuration
 Log File and Buffer Configuration
 Innodb Status

Lab Assignment: Using the InnoDB Engine

Session 10. Obtaining Metadata


 Available metadata access methods
 Structures of information_ schema
 Using available commands to view metadata
 Differences between SHOW statements and INFORMATION_SCHEMA tables
 The MYSQL show client program
 Using INFORMATION_SCHEMA queries to create shell commands and SQL statements

Session 11. Locking Concepts in MySQL


 Using Transaction control statement to run multiple SQL statement concurrently
 The ACID properties of transactions
 Using locking to protect transactions
 Explicit Table Locking
 Advisory Locking
 Preventing Locking Problems
 Transaction isolation levels

Lab Assignment: Working with Transactions and Locks

Session 12. Table Maintenance


 Table Maintenance Operations
 Check Table
 Repair Table
 Analyze Table
 Optimize Table
 MySQL Check
 MYISAMCHK
 Repairing Innodb Tables
 Enabling MYISAM AutoRepair
 Exercises: Maintaining Tables
Session 13. Backup and Recovery
 Planning and Implementing a Backup and Recovery Strategy
 Defining a Disaster Recovery Plan
 Testing a Backup and Recovery Plan
 The Advantages and Disadvantages of Different Methods
 Binary Backups of MYISAM Tables
 Binary Backups of Innodb Tables
 Recovery
 Import and Export Operations
 Exporting Using SQL
 Importing Using SQL
 Exporting from the Command Line
 Importing from the Command Line

Lab Assignment: Backing up and Recovery

Section 3. MySQL Security and Programming


Session 14. 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 15. Privileges


 Introduction
 Types of Privileges
 Revoking Privileges
 Resource Limits
 The MySQL Database
 The Show Grants Command
 Exercises: Granting and Revoking Privileges

Session 16. User Variables and Prepared Statements


 User Variables
 Prepared Statements
 Exercises: User Variables and Prepared Statements
Session 17. Stored Routines for Administration
 Types of Stored Routines
 Benefits of Stored Routines
 Stored Routines Features, Maintenance and Privileges and Execution Security
 Exercises: Creating and Using Stored Routine

Session 18. Triggers


 DML Triggers
 The Create Trigger Statement
 Managing Triggers
 Exercises: Creating and Using Triggers

Session 19. Partitioned tables


 Overview of portioning and reasons for portioning
 Range partitioning
 Hash partitioning
 Key partitioning
 List partitioning
 Composite partitioning or subpartitioning
 Creating a portioned tables
 Obtaining partitioned information
 Modifying and removing partitions
 Partition modification performance effects
 Partition pruning
 Storage engines partition information
 Partition and locking and Limitations

Exercises: Using partitioned tables

Session 20. Securing the Server


 Security Issues
 Recognizing common security risks
 Operating System Security
 Security risks specific to MYSQL installation
 Filesystem Security
 Log Files and Security
 Network Security
 Upgrade-related Security Issues
 Upgrading the Privilege Tables
 Security-Related SQL_Mode Values
 Security problems and counter measures for network, operating systems, file sys, and users
 Using SSL for secure MYSQL server connections
 How SSH enables a secure remote connection to the MySQL server
 Finding additional information for common security issues

Exercises: Securing the Server


Section 4 Optimization and Performance Tuning
Session 21. Optimizing MySQL Queries
 Optimization Overview
 Optimization Process
 Planning a Routine Monitoring Regime
 Setting Suitable Goals
 Identifying Candidates for Query Analysis
 Using Explain to Analyze Queries
 Meaning of Explain Output
 Using Explain Extended
 Exercises: Explaining and Optimizing Queries

Session 22. Optimization and Indexes


 Indexes for Performance
 Creating and Dropping Indexes
 Obtaining Index Metadata
 Indexing Principles
 Indexing and Joins
 MyIsam Index Caching
 Exercises: Using Indexes for Optimization

Session 23. Optimizing Schemas


 Normalisation
 General Table Optimizations
 Myisam Specific Optimizations
 Innodb Specific Optimizations
 Other Engine Specific Optimizations
 Exercises: Optimizing Schemas

Session 24. Optimizing the Server


 Measuring Server Load
 System Factors
 Server Parameters
 Query Optimizer Performance
 The Query Cache
 Exercises: Optimizing the Server

Session 25. Optimizing the Environment


 Choosing the Platform
 Hardware Configurations
 Disk Issues on Linux
 Symbolic Links
 Optimizing the Operating System
 Exercises: Optimizing the Environment

Section 5 Scaling and High Availability


Session 26. MySQL Replication Concepts

 Important HA terms
 High Availability Levels
 Major HA Solutions Using MySQL
 Advantages and Disadvantages
 How Replication Works

Session 27. GTID Based Replication


 How GTID Replication Works
 What is GTID?
 How to Configure GTID Replication?
 GTID Replication Basics
 Coordinate Replication Failover
 GTID Replication Failover

Session 28. MySQL Clusters Introduction


 Overview of MySQL Cluster
 Design Goals, Evolution, Workloads, Users
 Architecture and Core Technology
 New Features & Capabilities

Session 29. MySQL Cluster


 Cluster’s components;
 Management Node
 SQL/API Node
 Data/Storage Node
 Configurations File;
 Local
 Global
 Connect String
 Cluster Partitioning
 Partitions
 Fragments
 Disk Tables
 In-Memory Tables

Session 30. Fifty Tips for Optimization

You might also like