Vous êtes sur la page 1sur 25

Introduction to MySQL

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Course Goals

After completing this course, you should be able to:


• Describe the MySQL architecture
• Install MySQL
• Upgrade to MySQL 5.6
• Perform the MySQL start and shutdown operations
• Configure MySQL server options at run time
• Activate and manage numerous server logs
• Perform common DBA tasks by using MySQL programs
• Use INFORMATION_SCHEMA to access metadata
• Evaluate data types and character sets
• Understand data locking in MySQL

1-2 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Course Goals

• Understand the multiple storage engines available in


MySQL
• Maintain and manage MySQL tables
• Perform backup and restore operations
• Manage user maintenance and security
• Maintain the integrity of a MySQL installation
• Understand the DBA’s role concerning stored routines
• Use triggers for administration tasks
• Verify the security of the server

1-3 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Course Goals

• Understand table partitioning


• Set up and schedule events for maintenance
• Describe introductory performance-tuning techniques
• Describe high-availability techniques
• Configure and troubleshoot MySQL replication
• Troubleshoot some of the most common DBA problems

1-4 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Course Lesson Map

Day 1
1. Introduction to MySQL
2. Architecture
3. System Administration
4. Server Configuration
Day 2
5. Clients and Tools
6. Data Types
7. Obtaining Metadata
8. Transactions and Locking

1-5 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Course Lesson Map

Day 3
9. Storage Engines
10. Partitioning
11. User Management
12. Security
Day 4
13. Table Maintenance
14. Exporting and Importing Data
15. Programming Inside MySQL
16. MySQL Backup and Recovery

1-6 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Course Lesson Map

Day 5
17. Replication
18. Introduction to Performance Tuning
19. Conclusion

1-7 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Introductions

• Name
• Company affiliation
• Title, function, and job responsibilities
• Experience related to topics covered in this course
• Reason for enrolling in this course
• Expectations for this course

1-8 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Classroom Environment

• Logistics
– Restrooms
– Break rooms and designated smoking areas
– Cafeterias and restaurants in the area
• Emergency evacuation procedures
• Instructor contact information
• Mobile phone usage
• Online course attendance confirmation form

1-9 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
MySQL Is Everywhere

• The world’s most popular open-source database


• Over 15 million estimated active installations
• The M of the LAMP stack
• Used by 9 of the top 10 websites in the world
• Embedded by over 3,000 ISVs and OEMs
• The leading database in the cloud
• Highly popular on social media (Facebook, Twitter, and so
on)

1 - 10 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Why MySQL Makes Sense for Oracle

• Complete solutions
• Best-of-breed at every level
• On-premises and in the cloud
• MySQL: web, mobile, and embedded

Oracle drives MySQL innovation.

1 - 11 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Industry Leaders Rely on MySQL

Web & Enterprise OEM & ISVs

Cloud

1 - 12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Database Server Editions
• MySQL Community Edition
– Open source, noncommercial
GPL • MySQL Cluster Community Edition
– Open source, noncommercial, cluster

• MySQL Classic Edition


– Embedded database for OEMs, ISVs, VARs*
• MySQL Standard Edition
– High-performance, scalable OLTP
applications, MySQL Workbench SE
• MySQL Enterprise Edition
Commercial – Enterprise features: monitor, backup,
scalability, security, high availability
– Oracle product integrations
• MySQL Cluster Carrier Grade Edition
– High-availability, fault-tolerant database
– MySQL Cluster Manager
– Superset of all MySQL commercial editions

1 - 13 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Enterprise Edition
Highest levels of MySQL scalability, security, and up time

Oracle Premier
Lifetime Support
MySQL Enterprise Oracle Product
Security Certifications/Integrations

MySQL Enterprise MySQL Enterprise


Audit Monitor/Query Analyzer

MySQL Enterprise MySQL Enterprise


Scalability Backup

MySQL Enterprise
MySQL Workbench
High Availability

1 - 14 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Connectors and APIs

Connectors APIs
ODBC C

JDBC PHP

Perl
NET
Python
Python
Ruby
C
Tcl

C++ Eiffel Wrapper

1 - 15 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Services

MySQL training
• Comprehensive set of MySQL training courses

MySQL certification
• High-quality certification for MySQL developers and database
administrators

MySQL consulting
• Full range of consulting services from startup to optimization

Oracle Premier Lifetime Support


• Offerings to save you time and ensure that you achieve the
highest levels of performance, reliability, and up time

1 - 16 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Community Support

• Mailing lists
• Forums
• Community articles
• PlanetMySQL blogs
• Twitter
• Physical and virtual events, including:
– Developer days
– MySQL Tech Tours
– Webinars
• Bug tracking
• Launchpad repositories

1 - 17 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Oracle Premier Support for MySQL

Rely on the experts and get unique benefits:


• Straight from the source
• Largest team of MySQL experts
• Backed by MySQL developers Only from
• Forward-compatible hot fixes Oracle
• MySQL maintenance releases
• MySQL support in 29 languages
• 24/7/365
"The MySQL support service has been
• Unlimited incidents essential in helping us with
troubleshooting and providing
• Knowledge base recommendations for the production
cluster. Thanks."
• MySQL consultative support
– Carlos Morales (Playfulplay.com)

1 - 18 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL-Supported Operating Systems

MySQL:
• Provides control and flexibility for users
• Supports multiple commodity platforms, including:
– Windows (x86, x86_64)
– Linux (x86, x86_64, IA64)
– Oracle Solaris (SPARC, x86_64, x86)
– Mac OS X (x86, x86_64)

1 - 19 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Websites

• http://dev.mysql.com includes:
– Developer Zone (articles, forums, PlanetMySQL, and more)
– Downloads (GA and development release)
– Documentation
• http://www.mysql.com includes:
– Downloads (GA)
– Services
– Consulting
– Resources
– White papers
– Webinars

1 - 20 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Oracle University: MySQL Curriculum
Database developers Database administrators
MySQL and PHP MySQL for Beginners Introductory
ILT/LVC ILT/LVC/TOD

Intermediate

MySQL for Database


MySQL for Developers
Administrators
I LT/LVC
ILT/LVC/TOD

Advanced

MySQL Advanced MySQL Developer MySQL Performance MySQL High


MySQL Cluster
Stored Procedures Techniques Tuning Availability
ILT
ILT/LVC ILT/LVC ILT/LVC/TOD ILT

1 - 21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Certification

The Oracle Certification Program validates your expertise in the


following areas:
• Oracle Certified Professional: MySQL 5.6 Database
Administrator
• Oracle Certified Professional: MySQL 5.6 Developer

1 - 22 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


MySQL Online Documentation

• MySQL Reference Manual


• Topic guides
• Expert guides
• MySQL help tables
• Example databases
• Meta documentation
• Community-contributed documentation
• Printed books
• Additional resources

1 - 23 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Example Databases

• MySQL provides several example databases:


– world_innodb
– world
– employee
– menagerie
– sakila
• Available for download from the MySQL Developer Zone
website: http://dev.mysql.com/doc/index-other.html
• The world_innodb and sakila databases are used for
demonstrations and practices in this course.

1 - 24 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.


Summary

In this lesson, you should have learned how to:


• Describe the course goals
• Explain the origin and status of the MySQL product
• List the available MySQL products and professional
services
• List the currently supported operating systems
• Describe how to access MySQL information and services
on Oracle and MySQL websites
• List the available MySQL courses
• Describe the Oracle Certification Program offerings for
MySQL
• Obtain MySQL online documentation and example
databases
1 - 25 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.

Vous aimerez peut-être aussi