SlideShare ist ein Scribd-Unternehmen logo
1 von 32
MySQL
An Introduction
Databases 101
What is MySQL ?

• MySQL is an open source relational
  database management system.
• It includes the SQL server and client
  programs for accessing the server.
• Widely used by web application
  developers, together with PHP and
  APACHE
• It is pronounced My-es-que-el
  (Not My-Sequel)
MySQL AB
• MySQL AB is a commercial entity
• Marketing & Development
• Originally established in Sweden
• A virtual corporation
• Service, support, training and
  consulting
• Profitable since inception
Fact Sheet
• Most popular open source
  database
• over 100 million copies
  downloaded or distributed
• 6,000,000 active installations
• 35,000 downloads a day
• Certified for all SAP applications
• Elite client list—Yahoo!, NASA,
  Google
• Proven track record
Why learn MySQL?
•   Leading open source RDBMS
•   Ease of use – No frills
•   Fast
•   Robust
•   Security
•   Multiple OS support
•   Free
•   Technical support
•   Support large database– up to 50
    million rows, file size limit up to 8
    Million TB
The MySQL Value Proposition
IBM, ORACLE and Microsoft
                           “The top dogs”
                      The enterprise/SMB market

     Market Strength, Brand Equity, Track Record and Feature Variety




MySQL “The underdog” – Disruptive technology, Commoditized Market

          Performance, Reliability, Security, Performance
MySQL RDBMS SOURCE




Commercial License              GPL open source License




                                   Client-Server model
Embedded Database                   Standalone server
                                          FREE


       Service Support, training and Consulting
Which edition to use?
• MySQL Enterprise
  – most comprehensive offering of MySQL database
    software, services and support
• MySQL Cluster
  – a fault tolerant database clustering architecture
    for deploying highly available mission-critical
    database applications
• MySQL Embedded Database
  – most popular choice for OEMs/ISVs who want to
    cost-effectively embed or bundle a reliable and
    high-performance relational database
• MySQL community edition
MySQL Community vs. Enterprise
MySQL Enterprise
• MySQL Enterprise Monitor
  – a "Virtual DBA Assistant" to enforce MySQL
    recommended best practices
• MySQL Enterprise Server
• MySQL Production Support
  – get your toughest technical questions
    answered quickly
  – advise you on how to properly design and
    tune your MySQL servers, schema, queries,
    and replication set-up
Platinum   $4995/server/Year



Gold       $2995/server/Year



Silver     $1995/server/Year



Basic      $595/server/Year
Where can I get MySQL ?
• http://www.mysql.com/downloads/
• Make sure you pick the correct version
  for your OS
• Download MySQL 5.0 Community
  Server GA
• Download MySQL Administrator
• Download MySQL Migration Toolkit
• Download MySQL Query Browser
Installing the server
• Follow the screenshots
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
Installing the server
• If you have firewall, remember
  to unblock TCP port 3306
• If you prefer GUI operations,
  install Administrator, Migration
  Toolkit and Query Brower
• Configuration parameters
  stored in “C:Program
  FilesMySQLMySQL Server 5.0
  my.ini”
• Change configuration by
  “server instance configuration
  wizard”
MySQL administrator
Query browser
A set of command line utilities
• mysqld, mysql, mysqladmin, mysqldump
  (located in C:Program FilesMySQLMySQL
  Server 5.0bin)
• What is it ?
• Why do I want to use it ?
• For what all can I use it ?


• See handout later
About Data types …
• Detailed help in describing your
  fields can be found online at the
  MySQL user manual. These two
  links are very helpful

   http://dev.mysql.com/doc/refman/5.0/en/string-types.html

   http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html
In General:
Refer to chapter 11 of the user manual at
   www.mysql.com/doc/en/Reference.html
Quick Example of data types
privileges
Storage engine and table types
• ISAM
   – Indexed Sequential Access Method
   – Fastest table type in MySQL
   – Originally used in mSQL by TcX (the
     predecessor of MySQL AB)
   – Do not support transactions and
     foreign key
   – No longer supported after version 5.1
• InnoDB
   – Purchased by MySQL later
   – Large data volume, heavy-load
     production system
   – Support transactions and foreign key
Word of advice ..
•   Describe your fields correctly
•   Describe your data tightly
•   Secure your server well
•   Understand the mechanics
•   Use the manual
•   Use the mailing list
Questions ?

Weitere ähnliche Inhalte

Was ist angesagt?

MySQL 5.7 -- SCaLE Feb 2014
MySQL 5.7 -- SCaLE Feb 2014MySQL 5.7 -- SCaLE Feb 2014
MySQL 5.7 -- SCaLE Feb 2014
Dave Stokes
 
Introduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise MonitorIntroduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise Monitor
Mark Leith
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
Ted Wennmark
 
Performance schema and_ps_helper
Performance schema and_ps_helperPerformance schema and_ps_helper
Performance schema and_ps_helper
Mark Leith
 

Was ist angesagt? (20)

MySQL 5.6 Updates
MySQL 5.6 UpdatesMySQL 5.6 Updates
MySQL 5.6 Updates
 
MySQL Monitoring 101
MySQL Monitoring 101MySQL Monitoring 101
MySQL Monitoring 101
 
MySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA ToolMySQL Shell - The Best MySQL DBA Tool
MySQL Shell - The Best MySQL DBA Tool
 
2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
MySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & TuneMySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & Tune
 
MySQL 5.7 -- SCaLE Feb 2014
MySQL 5.7 -- SCaLE Feb 2014MySQL 5.7 -- SCaLE Feb 2014
MySQL 5.7 -- SCaLE Feb 2014
 
My sql 5.6&MySQL Cluster 7.3
My sql 5.6&MySQL Cluster 7.3My sql 5.6&MySQL Cluster 7.3
My sql 5.6&MySQL Cluster 7.3
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
 
MySQL sys schema deep dive
MySQL sys schema deep diveMySQL sys schema deep dive
MySQL sys schema deep dive
 
Introduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise MonitorIntroduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise Monitor
 
MySQL Document Store for Modern Applications
MySQL Document Store for Modern ApplicationsMySQL Document Store for Modern Applications
MySQL Document Store for Modern Applications
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL Tech Tour 2015 - 5.7 Security
MySQL Tech Tour 2015 - 5.7 SecurityMySQL Tech Tour 2015 - 5.7 Security
MySQL Tech Tour 2015 - 5.7 Security
 
Mysql security 5.7
Mysql security 5.7 Mysql security 5.7
Mysql security 5.7
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 
MySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema ImprovementsMySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema Improvements
 
MySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats newMySQL Tech Tour 2015 - 5.7 Whats new
MySQL Tech Tour 2015 - 5.7 Whats new
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
 
Performance schema and_ps_helper
Performance schema and_ps_helperPerformance schema and_ps_helper
Performance schema and_ps_helper
 

Andere mochten auch

OilCareers Media Pack
OilCareers Media PackOilCareers Media Pack
OilCareers Media Pack
megan_long84
 
Type 2 diabetes how i discovered my diabetes
Type 2 diabetes how i discovered my diabetesType 2 diabetes how i discovered my diabetes
Type 2 diabetes how i discovered my diabetes
Rodger Cresswell
 

Andere mochten auch (7)

OilCareers Media Pack
OilCareers Media PackOilCareers Media Pack
OilCareers Media Pack
 
notforsale
notforsalenotforsale
notforsale
 
Docker Demystified - Virtual VMs without the Fat
Docker Demystified - Virtual VMs without the FatDocker Demystified - Virtual VMs without the Fat
Docker Demystified - Virtual VMs without the Fat
 
Type 2 diabetes how i discovered my diabetes
Type 2 diabetes how i discovered my diabetesType 2 diabetes how i discovered my diabetes
Type 2 diabetes how i discovered my diabetes
 
NotForSaleCampaign
NotForSaleCampaignNotForSaleCampaign
NotForSaleCampaign
 
Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2Mysql cheatsheet - Part 2
Mysql cheatsheet - Part 2
 
Making Backups in Extreme Situations
Making Backups in Extreme SituationsMaking Backups in Extreme Situations
Making Backups in Extreme Situations
 

Ähnlich wie My sql

20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
Vinamra Mittal
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
IDG Romania
 
My sql roadmap 2008 2009
My sql roadmap 2008 2009My sql roadmap 2008 2009
My sql roadmap 2008 2009
xKinAnx
 

Ähnlich wie My sql (20)

Mysql an introduction
Mysql an introductionMysql an introduction
Mysql an introduction
 
MySQL 简要介绍
MySQL 简要介绍MySQL 简要介绍
MySQL 简要介绍
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
20090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp0220090425mysqlslides 12593434194072-phpapp02
20090425mysqlslides 12593434194072-phpapp02
 
与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库
 
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
MySQL for Oracle DBA -- Rocky Mountain Oracle User Group Training Days '15
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
Tutorial MySQL com Java
Tutorial MySQL com JavaTutorial MySQL com Java
Tutorial MySQL com Java
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)
 
Introduction to Mysql
Introduction to MysqlIntroduction to Mysql
Introduction to Mysql
 
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
MySQL Day Paris 2018 - MySQL InnoDB Cluster; A complete High Availability sol...
 
MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0MySQL - powering the web economy v1.0
MySQL - powering the web economy v1.0
 
My sql
My sqlMy sql
My sql
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
 
MySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich MasonMySQL State of the Dolphin - Rich Mason
MySQL State of the Dolphin - Rich Mason
 
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP ParisMySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
MySQL InnoDB Cluster - Meetup Oracle MySQL / AFUP Paris
 
My sql roadmap 2008 2009
My sql roadmap 2008 2009My sql roadmap 2008 2009
My sql roadmap 2008 2009
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

My sql

  • 3. What is MySQL ? • MySQL is an open source relational database management system. • It includes the SQL server and client programs for accessing the server. • Widely used by web application developers, together with PHP and APACHE • It is pronounced My-es-que-el (Not My-Sequel)
  • 4. MySQL AB • MySQL AB is a commercial entity • Marketing & Development • Originally established in Sweden • A virtual corporation • Service, support, training and consulting • Profitable since inception
  • 5. Fact Sheet • Most popular open source database • over 100 million copies downloaded or distributed • 6,000,000 active installations • 35,000 downloads a day • Certified for all SAP applications • Elite client list—Yahoo!, NASA, Google • Proven track record
  • 6. Why learn MySQL? • Leading open source RDBMS • Ease of use – No frills • Fast • Robust • Security • Multiple OS support • Free • Technical support • Support large database– up to 50 million rows, file size limit up to 8 Million TB
  • 7. The MySQL Value Proposition
  • 8. IBM, ORACLE and Microsoft “The top dogs” The enterprise/SMB market Market Strength, Brand Equity, Track Record and Feature Variety MySQL “The underdog” – Disruptive technology, Commoditized Market Performance, Reliability, Security, Performance
  • 9. MySQL RDBMS SOURCE Commercial License GPL open source License Client-Server model Embedded Database Standalone server FREE Service Support, training and Consulting
  • 10. Which edition to use? • MySQL Enterprise – most comprehensive offering of MySQL database software, services and support • MySQL Cluster – a fault tolerant database clustering architecture for deploying highly available mission-critical database applications • MySQL Embedded Database – most popular choice for OEMs/ISVs who want to cost-effectively embed or bundle a reliable and high-performance relational database • MySQL community edition
  • 11. MySQL Community vs. Enterprise
  • 12. MySQL Enterprise • MySQL Enterprise Monitor – a "Virtual DBA Assistant" to enforce MySQL recommended best practices • MySQL Enterprise Server • MySQL Production Support – get your toughest technical questions answered quickly – advise you on how to properly design and tune your MySQL servers, schema, queries, and replication set-up
  • 13. Platinum $4995/server/Year Gold $2995/server/Year Silver $1995/server/Year Basic $595/server/Year
  • 14. Where can I get MySQL ? • http://www.mysql.com/downloads/ • Make sure you pick the correct version for your OS • Download MySQL 5.0 Community Server GA • Download MySQL Administrator • Download MySQL Migration Toolkit • Download MySQL Query Browser
  • 15. Installing the server • Follow the screenshots
  • 23. Installing the server • If you have firewall, remember to unblock TCP port 3306 • If you prefer GUI operations, install Administrator, Migration Toolkit and Query Brower • Configuration parameters stored in “C:Program FilesMySQLMySQL Server 5.0 my.ini” • Change configuration by “server instance configuration wizard”
  • 26. A set of command line utilities • mysqld, mysql, mysqladmin, mysqldump (located in C:Program FilesMySQLMySQL Server 5.0bin) • What is it ? • Why do I want to use it ? • For what all can I use it ? • See handout later
  • 27. About Data types … • Detailed help in describing your fields can be found online at the MySQL user manual. These two links are very helpful http://dev.mysql.com/doc/refman/5.0/en/string-types.html http://dev.mysql.com/doc/refman/5.0/en/numeric-types.html In General: Refer to chapter 11 of the user manual at www.mysql.com/doc/en/Reference.html
  • 28. Quick Example of data types
  • 30. Storage engine and table types • ISAM – Indexed Sequential Access Method – Fastest table type in MySQL – Originally used in mSQL by TcX (the predecessor of MySQL AB) – Do not support transactions and foreign key – No longer supported after version 5.1 • InnoDB – Purchased by MySQL later – Large data volume, heavy-load production system – Support transactions and foreign key
  • 31. Word of advice .. • Describe your fields correctly • Describe your data tightly • Secure your server well • Understand the mechanics • Use the manual • Use the mailing list

Hinweis der Redaktion

  1. Future player in the SMB markets