Get in Touch

Course Outline

Introduction

  • Overview of MySQL, products, and services
  • MySQL services and support
  • Supported operating systems
  • Training curriculum paths
  • MySQL documentation resources

MySQL Architecture

  • The client/server model
  • Communication protocols
  • The SQL Layer
  • The Storage Layer
  • Server support for storage engines
  • Memory and disk space usage in MySQL
  • 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
  • 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

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

Data Types

  • Major categories of data types
  • Understanding NULL
  • Column attributes
  • Character set usage with data types
  • Selecting appropriate data types

Obtaining Metadata

  • Available methods for metadata access
  • 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 for concurrent SQL execution
  • ACID properties of transactions
  • Transaction isolation levels
  • Using locking to protect transactions

Storage Engines

  • Storage engines in MySQL
  • InnoDB storage engine
  • InnoDB system and file-per-table tablespaces
  • NoSQL and the Memcached API
  • Efficient tablespace configuration
  • Using foreign keys for referential integrity
  • InnoDB locking
  • Features of available storage engines

Partitioning

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

User Management

  • Requirements for user authentication
  • Using SHOW PROCESSLIST to monitor 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

  • Recognizing common security risks
  • Security risks specific to MySQL installations
  • Security problems and countermeasures for networks, operating systems, filesystems, and users
  • Protecting your data
  • Using SSL for secure MySQL server connections
  • How SSH enables secure remote connections to the MySQL server
  • Resources for resolving 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
  • Exporting Data
  • Importing Data

Programming Inside MySQL

  • Creating and executing Stored Routines
  • Describing stored routine execution security
  • Creating and executing triggers
  • Creating, altering, and dropping events
  • Event execution scheduling

MySQL Backup and Recovery

  • Backup basics
  • Types of backup
  • Backup tools and utilities
  • Making binary and text backups
  • Role of log and status files in backups
  • Data Recovery

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 affect performance
  • Setting and Interpreting MySQL server Variables
  • Overview of Performance Schema

Conclusion

Q&A Session

Requirements

No specific prerequisites are required, though prior knowledge of databases is beneficial.

 28 Hours

Testimonials (1)

Upcoming Courses

Related Categories