0
<Insert Picture Here>
Introduction to MySQL
Giuseppe Maxia
MySQL Community Team Lead at Oracle
Monday, 19 April 2010
about me -Giuseppe Maxia
 a.k.a. The Data Charmer
 MySQL Community Team Lead
 Long time hacking with MySQL features
 F...
If I wanted to make you invest in MySQL
If you were a
VC
Using Guy
Kawasaki's
rules
Monday, 19 April 2010
Introducing MySQL
10/20/30
4
Monday, 19 April 2010
1. Why MySQL? (the problem)
• Startup
• Small business
• Small budget
• Need a open system
5
Monday, 19 April 2010
2. MySQL: What is it? (the solution)
• A lightweight database server
• Fast
• Stable
• Easy to install
• Easy to use
6
Mon...
3. Business model
• Let everyone use it
• When their business grow, sell them services and
additional software
7
Monday, 1...
4. MySQL Technology
• Multiple storage engines
• Full ACID compliant (with InnoDB)
• Stored routines, views, triggers
• Bu...
5. Marketing and sales
• Open the doors
• Optional registration on downloads
• Registration on some additional contents
• ...
6. Competition
• Small
> PostgreSQL
> SQLite
> MySQL forks
> NoSQL
• Big
> Microsoft
> IBM
> Oracle?
10
Monday, 19 April 2...
7. Team
• Developers in house
• Support closely tied to engineering
• Carefully hired talents
11
Monday, 19 April 2010
8. Projection and milestones
• World domination achieved for ubiquity
> Via other open source projects (e.g. Linux, PHP)
•...
9. Status and timeline
• MySQL 5.1 current G.A.
• MySQL 5.5 in the making
> Performance and scalability enhancements
> Sem...
10. Summary and call to action
• MySQL is a phenomenon (You'll see soon)
• Go get it!
> And give me $1 billion, pretty ple...
What? No cash?
15
Then I should probably
introduce a new element
Monday, 19 April 2010
Introducing MySQL
Passion
16
Monday, 19 April 2010
MySQL
• My - See - Quel
• My - Ess - Kyu - Ell
• we make databases
17
Monday, 19 April 2010
What is MySQL?
• a noun?
• a verb?
• an abstract concept?
• It's a PHENOMENON !
• Let's ask Google.
18
Monday, 19 April 20...
• “mysql” = 210,000,000
19
Monday, 19 April 2010
• “mysql” = 210,000,000
• “postgresql” = 19,700,000
• “db2” = 19,800,000
• “sql server” = 75,900,000
• “oracle” = 102,000,...
• “mysql” =
210,000,000
• “madonna” =
98,000,000
The show business competition
21
Monday, 19 April 2010
• “mysql” =
210,000,000
• “berlusconi”
= 28,300,000
The political competition
22
Monday, 19 April 2010
• “mysql” =
210,000,000
• “sarkozy” =
31,100,000
The political competition
23
Monday, 19 April 2010
• “mysql” =
210,000,000
• “obama” =
201,000,000
The political competition
(november 2008)
24
Monday, 19 April 2010
a phenomenon!
MySQL is twice as popular as
Madonna and has almost the
same chance as Obama for US
President.
25
Monday, 19...
OK.
But really, what is it?
• a piece of database software
• the backbone of the web economy
• a community of millions of ...
or, more practically ...
• Let me give you an example
• what about Facebook?
27
Monday, 19 April 2010
Facebook. Powered by MySQL
facebook
Monday, 19 April 2010
MySQL powers the Web
according to Alexa - Apr. 18, 2010
...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJ...
most popular
30
Monday, 19 April 2010
the LAMP stack
L
Linux
A
Apache
M
MySQL
P
Perl/PHP/Python
31
Monday, 19 April 2010
From ubiquity to business
MySQL User Base
Enterprise
customers
32
Monday, 19 April 2010
MySQL Enterprise
• Full control
on your
database
33
Monday, 19 April 2010
MySQL Query Analyzer
• Part of MySQL Enterprise
• finds and solves
performance problems on
the spot
• find out more:
www.m...
people
• freedom to
work
anywhere
35
Monday, 19 April 2010
people
36
Monday, 19 April 2010
Community
MySQL
Forge
http://forge.mysql.com
Projects
Tools
Code
Worklogs
Wiki
37
Monday, 19 April 2010
Community
Downloads
Articles
Blogs
Bug reports
Forums
Events
University
http://dev.mysql.com 38
Monday, 19 April 2010
Community
http://planet.mysql.com 39
Monday, 19 April 2010
friends - Operating Systems
• Linux
• Solaris
• Windows
• Mac OS X
• *BSD
• *NIX
40
Monday, 19 April 2010
C library
Java library
.NET library
C/C++
Perl
Python
ODBC
PHP
Java
C#
VB
friends - Connectors
41
MySQL server
Monday, 19 ...
Engines
42
engine Notes
MyISAM fast, non-transactional, full-text
InnoDB transactions, FK, concurrent
HEAP In memory
MERGE...
More Engines
43
engine notes
Federated remote tables
Blackhole
relay engine
no storage
Archive compressed storage
Monday, ...
Federated
44
table t1f
federated
table t1
MyISAM
MySQL server MySQL server
Monday, 19 April 2010
Black hole
45
recordrecordrecordrecord
binary log
triggers
Monday, 19 April 2010
Archive
46
recordrecordrecordrecord
Monday, 19 April 2010
Plugin
47
Monday, 19 April 2010
MySQL Proxy
48
Monday, 19 April 2010
MySQL Core Values
• Stability
• Performance
• Ease of use
49
Monday, 19 April 2010
Stability
• tested by millions
• built to last
50
Monday, 19 April 2010
Performance
• designed to be
fast
• The web wants
instant
responses
• MySQL provides
them
51
Monday, 19 April 2010
Ease of use
• the "15 minutes rule"
> you should be up and running
with MySQL within 15 minutes
52
Monday, 19 April 2010
Scalability
master
slave
slave
REPLICATION
R/W
R
R
53
MySQL server
MySQL server
MySQL server
For read intensive high concu...
Scalability
MySQL Cluster
data node
data node
data node
data node
R/W
R/W
R/W
54
MySQL server
MySQL server
MySQL server
Fo...
Performance : partitioning
55
select *
from
table_name
where colx =
120
100-199
1-99
200-299
300-399
400-499
500-599
Boost...
Performance: InnoDB 1.0
• Faster
• More scalable
• Available as plugin in MySQL 5.1
• Built-in in MySQL 5.5
56
Monday, 19 ...
From community:
the Spider engine
57
host1 MySQL server
with SPIDER
table employeestable employeestable employees
partitio...
Usability: MySQL Workbench
58
Monday, 19 April 2010
Usability: MySQL Workbench
59
Monday, 19 April 2010
Usability: MySQL Workbench
60
Monday, 19 April 2010
Usability: MySQL Workbench
61
Monday, 19 April 2010
Get involved
•http://dev.mysql.com
• Downloads
• Documentation
• Articles
• Blogs
• Forums
• Mailing lists
• Bugs database...
More sessions on MySQL
63
Sharding for the masses. MySQL for large projects
Tuesday, April 20, 2010
11:45AM
ROOM: SURF B
B...
The preceding is intended to outline our
general product direction. It is intended for
information purposes only, and may ...
THANKS!
Q&A
Comment on Twitter:
@datacharmer
Monday, 19 April 2010
Upcoming SlideShare
Loading in...5
×

Introductiontomysql 100420092731-phpapp01

370

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
370
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Introductiontomysql 100420092731-phpapp01"

  1. 1. <Insert Picture Here> Introduction to MySQL Giuseppe Maxia MySQL Community Team Lead at Oracle Monday, 19 April 2010
  2. 2. about me -Giuseppe Maxia  a.k.a. The Data Charmer  MySQL Community Team Lead  Long time hacking with MySQL features  Formerly, database consultant, designer, coder.  A passion for QA  An even greater passion for open source  ... and community  Passionate blogger  http://datacharmer.blogspot.com Monday, 19 April 2010
  3. 3. If I wanted to make you invest in MySQL If you were a VC Using Guy Kawasaki's rules Monday, 19 April 2010
  4. 4. Introducing MySQL 10/20/30 4 Monday, 19 April 2010
  5. 5. 1. Why MySQL? (the problem) • Startup • Small business • Small budget • Need a open system 5 Monday, 19 April 2010
  6. 6. 2. MySQL: What is it? (the solution) • A lightweight database server • Fast • Stable • Easy to install • Easy to use 6 Monday, 19 April 2010
  7. 7. 3. Business model • Let everyone use it • When their business grow, sell them services and additional software 7 Monday, 19 April 2010
  8. 8. 4. MySQL Technology • Multiple storage engines • Full ACID compliant (with InnoDB) • Stored routines, views, triggers • Built-in replication • Built-in partitioning • Event scheduler • Plugin architecture • MySQL Cluster 8 Monday, 19 April 2010
  9. 9. 5. Marketing and sales • Open the doors • Optional registration on downloads • Registration on some additional contents • Events • Offers and campaigns • MySQL Enterprise tools • Excellent support 9 Monday, 19 April 2010
  10. 10. 6. Competition • Small > PostgreSQL > SQLite > MySQL forks > NoSQL • Big > Microsoft > IBM > Oracle? 10 Monday, 19 April 2010
  11. 11. 7. Team • Developers in house • Support closely tied to engineering • Carefully hired talents 11 Monday, 19 April 2010
  12. 12. 8. Projection and milestones • World domination achieved for ubiquity > Via other open source projects (e.g. Linux, PHP) • World domination in business on the way > Through Oracle stewardship 12 Monday, 19 April 2010
  13. 13. 9. Status and timeline • MySQL 5.1 current G.A. • MySQL 5.5 in the making > Performance and scalability enhancements > Semi-synch replication > Partitioning enhancements > Better usability 13 Monday, 19 April 2010
  14. 14. 10. Summary and call to action • MySQL is a phenomenon (You'll see soon) • Go get it! > And give me $1 billion, pretty please! • http://dev.mysql.com 14 Monday, 19 April 2010
  15. 15. What? No cash? 15 Then I should probably introduce a new element Monday, 19 April 2010
  16. 16. Introducing MySQL Passion 16 Monday, 19 April 2010
  17. 17. MySQL • My - See - Quel • My - Ess - Kyu - Ell • we make databases 17 Monday, 19 April 2010
  18. 18. What is MySQL? • a noun? • a verb? • an abstract concept? • It's a PHENOMENON ! • Let's ask Google. 18 Monday, 19 April 2010
  19. 19. • “mysql” = 210,000,000 19 Monday, 19 April 2010
  20. 20. • “mysql” = 210,000,000 • “postgresql” = 19,700,000 • “db2” = 19,800,000 • “sql server” = 75,900,000 • “oracle” = 102,000,000 The business competition 20 Monday, 19 April 2010
  21. 21. • “mysql” = 210,000,000 • “madonna” = 98,000,000 The show business competition 21 Monday, 19 April 2010
  22. 22. • “mysql” = 210,000,000 • “berlusconi” = 28,300,000 The political competition 22 Monday, 19 April 2010
  23. 23. • “mysql” = 210,000,000 • “sarkozy” = 31,100,000 The political competition 23 Monday, 19 April 2010
  24. 24. • “mysql” = 210,000,000 • “obama” = 201,000,000 The political competition (november 2008) 24 Monday, 19 April 2010
  25. 25. a phenomenon! MySQL is twice as popular as Madonna and has almost the same chance as Obama for US President. 25 Monday, 19 April 2010
  26. 26. OK. But really, what is it? • a piece of database software • the backbone of the web economy • a community of millions of users • the employer that gives me a pay check • All of the above 26 Monday, 19 April 2010
  27. 27. or, more practically ... • Let me give you an example • what about Facebook? 27 Monday, 19 April 2010
  28. 28. Facebook. Powered by MySQL facebook Monday, 19 April 2010
  29. 29. MySQL powers the Web according to Alexa - Apr. 18, 2010 ...and many more: Flickr, Second Life, Craigslist, Slashdot, LiveJournal, Digg, Del.icio.us, Pricegrabber.com, Weather.com etc. 1 Google 11 Twitter 2 Facebook 12 Yahoo.co.jp 3 Youtube 13 Google.co.in 4 Yahoo! 14 Google.de 5 Live 15 Sina.com.cn 6 Wikipedia 16 taobao.com 7 Blogger 17 wordpress 8 Baidu 18 myspace 9 MSN 19 google.co.hk 10 qq.com 20 google.co.uk 29 Monday, 19 April 2010
  30. 30. most popular 30 Monday, 19 April 2010
  31. 31. the LAMP stack L Linux A Apache M MySQL P Perl/PHP/Python 31 Monday, 19 April 2010
  32. 32. From ubiquity to business MySQL User Base Enterprise customers 32 Monday, 19 April 2010
  33. 33. MySQL Enterprise • Full control on your database 33 Monday, 19 April 2010
  34. 34. MySQL Query Analyzer • Part of MySQL Enterprise • finds and solves performance problems on the spot • find out more: www.mysql.com 34 Monday, 19 April 2010
  35. 35. people • freedom to work anywhere 35 Monday, 19 April 2010
  36. 36. people 36 Monday, 19 April 2010
  37. 37. Community MySQL Forge http://forge.mysql.com Projects Tools Code Worklogs Wiki 37 Monday, 19 April 2010
  38. 38. Community Downloads Articles Blogs Bug reports Forums Events University http://dev.mysql.com 38 Monday, 19 April 2010
  39. 39. Community http://planet.mysql.com 39 Monday, 19 April 2010
  40. 40. friends - Operating Systems • Linux • Solaris • Windows • Mac OS X • *BSD • *NIX 40 Monday, 19 April 2010
  41. 41. C library Java library .NET library C/C++ Perl Python ODBC PHP Java C# VB friends - Connectors 41 MySQL server Monday, 19 April 2010
  42. 42. Engines 42 engine Notes MyISAM fast, non-transactional, full-text InnoDB transactions, FK, concurrent HEAP In memory MERGE merges many MyISAM tables Monday, 19 April 2010
  43. 43. More Engines 43 engine notes Federated remote tables Blackhole relay engine no storage Archive compressed storage Monday, 19 April 2010
  44. 44. Federated 44 table t1f federated table t1 MyISAM MySQL server MySQL server Monday, 19 April 2010
  45. 45. Black hole 45 recordrecordrecordrecord binary log triggers Monday, 19 April 2010
  46. 46. Archive 46 recordrecordrecordrecord Monday, 19 April 2010
  47. 47. Plugin 47 Monday, 19 April 2010
  48. 48. MySQL Proxy 48 Monday, 19 April 2010
  49. 49. MySQL Core Values • Stability • Performance • Ease of use 49 Monday, 19 April 2010
  50. 50. Stability • tested by millions • built to last 50 Monday, 19 April 2010
  51. 51. Performance • designed to be fast • The web wants instant responses • MySQL provides them 51 Monday, 19 April 2010
  52. 52. Ease of use • the "15 minutes rule" > you should be up and running with MySQL within 15 minutes 52 Monday, 19 April 2010
  53. 53. Scalability master slave slave REPLICATION R/W R R 53 MySQL server MySQL server MySQL server For read intensive high concurrency Monday, 19 April 2010
  54. 54. Scalability MySQL Cluster data node data node data node data node R/W R/W R/W 54 MySQL server MySQL server MySQL server For write intensive high concurrency and HA Monday, 19 April 2010
  55. 55. Performance : partitioning 55 select * from table_name where colx = 120 100-199 1-99 200-299 300-399 400-499 500-599 Boosting performance with MySQL partitions Wednesday, April 21, 2010 1:00 PM ROOM: SURF C Monday, 19 April 2010
  56. 56. Performance: InnoDB 1.0 • Faster • More scalable • Available as plugin in MySQL 5.1 • Built-in in MySQL 5.5 56 Monday, 19 April 2010
  57. 57. From community: the Spider engine 57 host1 MySQL server with SPIDER table employeestable employeestable employees partition 1 year 1997 host2 partition 2 year 1998 host3 partition 3 year 1999 host4 partition 4 year 2000 host5 partition 5 year 2001 host6 partition 6 year 2002 host7 host2 MySQL server without SPIDER host3 MySQL server without SPIDER host4 MySQL server without SPIDER host5 MySQL server without SPIDER host6 MySQL server without SPIDER host7 MySQL server without SPIDER Sharding for the masses. MySQL for large projects Tuesday, April 20, 2010 11:45AM ROOM: SURF B Monday, 19 April 2010
  58. 58. Usability: MySQL Workbench 58 Monday, 19 April 2010
  59. 59. Usability: MySQL Workbench 59 Monday, 19 April 2010
  60. 60. Usability: MySQL Workbench 60 Monday, 19 April 2010
  61. 61. Usability: MySQL Workbench 61 Monday, 19 April 2010
  62. 62. Get involved •http://dev.mysql.com • Downloads • Documentation • Articles • Blogs • Forums • Mailing lists • Bugs database • And more! 62 Monday, 19 April 2010
  63. 63. More sessions on MySQL 63 Sharding for the masses. MySQL for large projects Tuesday, April 20, 2010 11:45AM ROOM: SURF B Boosting performance with MySQL partitions Wednesday, April 21, 2010 1:00 PM ROOM: SURF C Monday, 19 April 2010
  64. 64. The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 64 Monday, 19 April 2010
  65. 65. THANKS! Q&A Comment on Twitter: @datacharmer Monday, 19 April 2010
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×