17
Welcome to MySQL Database Introduction

Mysql dba ppts | MySQL DBA Introduction | Basics

Embed Size (px)

Citation preview

Page 1: Mysql dba ppts | MySQL DBA Introduction | Basics

Welcome to MySQL Database

Introduction

Page 2: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

What is MySQL

MySQL is a freely available open source Relational Database Management System (RDBMS) that uses Structured Query Language (SQL). SQL is the most popular language for adding, accessing and managing content in a database. It is most noted for its quick processing, proven reliability, ease and flexibility of use.

Page 3: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Why MySQL ?• MySQL is a very popular, open source database.

• Officially pronounced “my Ess Que Ell” (not my sequel).

• Handles very large databases; very fast performance.

• Why are we using MySQL?– Free (much cheaper than Oracle!)– Anyone can install MySQL locally.– Easy to use Shell for creating tables, querying tables, etc.– Easy to use with Java JDBC

Page 4: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

History of MySQL

MySQL was created by a Swedish company, MySQL AB, founded by David Axmark, Allan Larsson and Michael "Monty" Widenius. The first version of MySQL appeared on 23 May 1995. It was initially created for personal usage from mSQL based on the low-level language ISAM.

January 2008, Sun Microsystems bought MySQL

In April 2009, Oracle Corporation entered into an agreement to purchase Sun Microsystems, then owners of MySQL copyright and trademark

Page 5: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Releases and Milestones•First internal release on 23 May 1995•Version 3.19: End of 1996, from www.tcx.se•Version 3.20: January 1997•Windows version was released on 8 January 1998 for Windows 95 and NT•Version 3.21: production release 1998, from www.mysql.com•Version 3.22: alpha, beta from 1998•Version 3.23: beta from June 2000, production release 22 January 2001•Version 4.0: beta from August 2002, production release March 2003•Version 5.0: beta from March 2005, production release October 2005•Version 5.1: production release 27 November 2008•MySQL Server 5.5 was generally available (as of December 2010)•MySQL 5.6 general availability was announced in February 2013

Page 6: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Database Market share

Page 7: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

MySQL Jobs Share in Market

Page 8: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Page 9: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Features and advantages of MySQL

1. Supports all major platforms

2. Easy to Administer / Manage

3. Open Source

4. ACID complaint

5. Pluggable Engines

6. Host based security

7. Multiple HA Techniques

Page 10: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

MySQL Architecture

Page 11: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Engines Supported

1. MyISAM

2. InnoDB

3. Memory

4. CSV

5. Blackhole

6. Federated

7. NDB

Page 12: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

HA Techniques

1.Replication

2.NDB Cluster

3.Galera Cluster

4.DRBD

Page 13: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

MySQL Graphical toolsMySQL administrator

Multi plataform, administration tool allows to:

• Manage users• Manage

databases and tables

• Perform maintenance tasks

• See server status

Page 14: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

MySQL Graphical toolsMySQL query browser

MySQL query browser is a simple query tool used to interact with a MySQL database.

Page 15: Mysql dba ppts | MySQL DBA Introduction | Basics

www.kerneltraining.com/mysql-database

Backup techniques

1. Native (mysqldump)

2. Third party MySQL Enterprise Backup

3. Xtrabackup from percona

Page 16: Mysql dba ppts | MySQL DBA Introduction | Basics

Questions?

www.kerneltraining.com/mysql-database

Page 17: Mysql dba ppts | MySQL DBA Introduction | Basics

THANK YOUfor attending Lessons of

MySQL DBA

www.kerneltraining.com/mysql-database