Get in Touch

Course Outline

Introduction

  • Overview of MySQL, including products and services
  • MySQL service offerings and support structures
  • Supported operating systems
  • Recommended training curriculum paths
  • Accessing MySQL documentation resources

MySQL Architecture

  • The client/server model
  • Communication protocols
  • The SQL Layer
  • The Storage Layer
  • Server support for storage engines
  • MySQL memory and disk space utilization
  • The MySQL plug-in interface

System Administration

  • Selecting the appropriate MySQL distribution
  • Installing the MySQL Server
  • MySQL Server installation file structure
  • Starting and stopping the MySQL server
  • Upgrading MySQL instances
  • Running multiple MySQL servers on a single host

Server Configuration

  • MySQL server configuration options
  • System variables
  • SQL Modes
  • Available log files
  • Binary logging

Clients and Tools

  • Clients available for administrative tasks
  • MySQL administrative clients
  • The mysql command-line client
  • The mysqladmin command-line client
  • The MySQL Workbench graphical client
  • MySQL tools
  • Available APIs (drivers and connectors)

Data Types

  • Major categories of data types
  • The significance of NULL
  • Column attributes
  • Character set usage with data types
  • Selecting the appropriate data type

Obtaining Metadata

  • Methods for accessing metadata
  • Structure of INFORMATION_SCHEMA
  • Using commands to view metadata
  • Differences between SHOW statements and INFORMATION_SCHEMA tables
  • The mysqlshow client program
  • Using INFORMATION_SCHEMA queries to generate shell commands and SQL statements

Transactions and Locking

  • Using transaction control statements to execute concurrent SQL
  • The ACID properties of transactions
  • Transaction isolation levels
  • Using locking to protect transactions

Storage Engines

  • Overview of storage engines in MySQL
  • The InnoDB storage engine
  • InnoDB system and file-per-table tablespaces
  • NoSQL and the Memcached API
  • Efficient configuration of tablespaces
  • Achieving referential integrity using foreign keys
  • InnoDB locking mechanisms
  • Features of available storage engines

Partitioning

  • Partitioning and its application in MySQL
  • Reasons to implement partitioning
  • Types of partitioning
  • Creating partitioned tables
  • Subpartitioning
  • Obtaining partition metadata
  • Modifying partitions to enhance performance
  • Storage Engine Support for Partitioning

User Management

  • Requirements for user authentication
  • Using SHOW PROCESSLIST to view running threads
  • Creating, modifying, and dropping user accounts
  • Alternative authentication plugins
  • Requirements for user authorization
  • Levels of access privileges for users
  • Types of privileges
  • Granting, modifying, and revoking user privileges

Security

  • Identifying common security risks
  • Security risks specific to MySQL installations
  • Mitigating security issues related to networks, OS, filesystems, and users
  • Data protection strategies
  • Using SSL for secure MySQL server connections
  • Enabling secure remote connections via SSH
  • Sourcing additional information for common security issues

Table Maintenance

  • Types of table maintenance operations
  • SQL statements for table maintenance
  • Client and utility programs for table maintenance
  • Maintaining tables for other storage engines
  • Exporting and Importing Data
  • Data Export procedures
  • Data Import procedures

Programming Inside MySQL

  • Creating and executing Stored Routines
  • Security considerations for stored routine execution
  • Creating and executing triggers
  • Creating, altering, and dropping events
  • Scheduling event execution

MySQL Backup and Recovery

  • Backup fundamentals
  • Types of backup
  • Backup tools and utilities
  • Performing binary and text backups
  • The role of log and status files in backups
  • Data Recovery processes

Replication

  • Managing the MySQL Binary Log
  • MySQL replication threads and files
  • Setting up a MySQL Replication Environment
  • Designing Complex Replication Topologies
  • Multi-Master and Circular Replication
  • Performing a Controlled Switchover
  • Monitoring and troubleshooting MySQL Replication
  • Replication with Global Transaction Identifiers (GTIDs)

Introduction to Performance Tuning

  • Using EXPLAIN to Analyze Queries
  • General Table Optimizations
  • Monitoring status variables that impact performance
  • Configuring and interpreting MySQL server Variables
  • Overview of Performance Schema

Conclusion

Q&A Session

Requirements

There are no strict prerequisites, though prior familiarity with database concepts is beneficial for students.

Audience:

IT professionals aspiring to become DBAs or database support specialists for MySQL databases on Linux or Windows platforms.

Format: 40% theoretical/lectures, 60% practical/hands-on labs

 28 Hours

Testimonials (1)

Related Categories