listateofemployerbrandoct122-1351672933073-phpapp01-121031034418-phpapp01 (1)
Introductiontomysql 100420092731-phpapp01
-
Upload
sagaroceanic11 -
Category
Technology
-
view
349 -
download
0
Transcript of Introductiontomysql 100420092731-phpapp01
![Page 1: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/1.jpg)
<Insert Picture Here>
Introduction to MySQLGiuseppe MaxiaMySQL Community Team Lead at Oracle
Monday, 19 April 2010
![Page 2: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/2.jpg)
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
![Page 3: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/3.jpg)
If I wanted to make you invest in MySQL
If you were a VC
Using Guy Kawasaki's rules
Monday, 19 April 2010
![Page 4: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/4.jpg)
Introducing MySQL
10/20/304
Monday, 19 April 2010
![Page 5: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/5.jpg)
1. Why MySQL? (the problem)• Startup• Small business• Small budget• Need a open system
5
Monday, 19 April 2010
![Page 6: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/6.jpg)
2. MySQL: What is it? (the solution)• A lightweight database server• Fast• Stable• Easy to install• Easy to use
6
Monday, 19 April 2010
![Page 7: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/7.jpg)
3. Business model• Let everyone use it• When their business grow, sell them services and
additional software
7
Monday, 19 April 2010
![Page 8: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/8.jpg)
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
![Page 9: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/9.jpg)
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
![Page 10: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/10.jpg)
6. Competition• Small> PostgreSQL> SQLite> MySQL forks> NoSQL
• Big> Microsoft> IBM> Oracle?
10
Monday, 19 April 2010
![Page 11: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/11.jpg)
7. Team• Developers in house• Support closely tied to engineering• Carefully hired talents
11
Monday, 19 April 2010
![Page 12: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/12.jpg)
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
![Page 13: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/13.jpg)
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
![Page 14: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/14.jpg)
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
![Page 15: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/15.jpg)
What? No cash?
15
Then I should probably introduce a new element
Monday, 19 April 2010
![Page 16: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/16.jpg)
Introducing MySQL
Passion16
Monday, 19 April 2010
![Page 17: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/17.jpg)
MySQL• My - See - Quel• My - Ess - Kyu - Ell
• we make databases
17
Monday, 19 April 2010
![Page 18: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/18.jpg)
What is MySQL?• a noun?• a verb?• an abstract concept?• It's a PHENOMENON !• Let's ask Google.
18
Monday, 19 April 2010
![Page 19: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/19.jpg)
• “mysql” = 210,000,000
19
Monday, 19 April 2010
![Page 20: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/20.jpg)
• “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
![Page 21: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/21.jpg)
• “mysql” = 210,000,000
• “madonna” = 98,000,000
The show business competition
21
Monday, 19 April 2010
![Page 22: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/22.jpg)
• “mysql” = 210,000,000
• “berlusconi” = 28,300,000
The political competition
22
Monday, 19 April 2010
![Page 23: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/23.jpg)
• “mysql” = 210,000,000
• “sarkozy” = 31,100,000
The political competition
23
Monday, 19 April 2010
![Page 24: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/24.jpg)
• “mysql” = 210,000,000
• “obama” = 201,000,000
The political competition(november 2008)
24
Monday, 19 April 2010
![Page 25: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/25.jpg)
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
![Page 26: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/26.jpg)
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
![Page 27: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/27.jpg)
or, more practically ...• Let me give you an example• what about Facebook?
27
Monday, 19 April 2010
![Page 28: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/28.jpg)
Facebook. Powered by MySQL
Monday, 19 April 2010
![Page 29: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/29.jpg)
MySQL powers the Webaccording 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 Twitter2 Facebook 12 Yahoo.co.jp3 Youtube 13 Google.co.in4 Yahoo! 14 Google.de5 Live 15 Sina.com.cn6 Wikipedia 16 taobao.com7 Blogger 17 wordpress8 Baidu 18 myspace9 MSN 19 google.co.hk10 qq.com 20 google.co.uk
29
Monday, 19 April 2010
![Page 30: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/30.jpg)
most popular
30
Monday, 19 April 2010
![Page 31: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/31.jpg)
the LAMP stackL Linux
A Apache
M MySQL
P Perl/PHP/Python
31
Monday, 19 April 2010
![Page 32: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/32.jpg)
From ubiquity to business
MySQL User Base
Enterprise customers
32
Monday, 19 April 2010
![Page 33: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/33.jpg)
MySQL Enterprise
• Full control on your database
33
Monday, 19 April 2010
![Page 34: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/34.jpg)
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
![Page 35: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/35.jpg)
people
• freedom to work anywhere
35
Monday, 19 April 2010
![Page 36: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/36.jpg)
people
36
Monday, 19 April 2010
![Page 37: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/37.jpg)
Community
MySQL Forge
http://forge.mysql.com
ProjectsToolsCodeWorklogsWiki
37
Monday, 19 April 2010
![Page 38: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/38.jpg)
CommunityDownloadsArticlesBlogsBug reportsForumsEventsUniversity
http://dev.mysql.com 38
Monday, 19 April 2010
![Page 39: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/39.jpg)
Community
http://planet.mysql.com 39
Monday, 19 April 2010
![Page 40: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/40.jpg)
friends - Operating Systems• Linux• Solaris• Windows• Mac OS X• *BSD• *NIX
40
Monday, 19 April 2010
![Page 41: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/41.jpg)
C library
Java library
.NET library
C/C++
Perl
Python
ODBC
PHP
Java
C#
VB
friends - Connectors
41
MySQL server
Monday, 19 April 2010
![Page 42: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/42.jpg)
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
![Page 43: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/43.jpg)
More Engines
43
engine notes
Federated remote tables
Blackholerelay engineno storage
Archive compressed storage
Monday, 19 April 2010
![Page 44: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/44.jpg)
Federated
44
table t1ffederated
table t1MyISAM
MySQL server MySQL server
Monday, 19 April 2010
![Page 45: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/45.jpg)
Black hole
45
recordrecordrecordrecord binary log
triggers
Monday, 19 April 2010
![Page 46: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/46.jpg)
Archive
46
recordrecordrecordrecord
Monday, 19 April 2010
![Page 47: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/47.jpg)
Plugin
47Monday, 19 April 2010
![Page 48: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/48.jpg)
MySQL Proxy
48Monday, 19 April 2010
![Page 49: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/49.jpg)
MySQL Core Values• Stability• Performance• Ease of use
49
Monday, 19 April 2010
![Page 50: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/50.jpg)
Stability• tested by millions • built to last
50
Monday, 19 April 2010
![Page 51: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/51.jpg)
Performance
• designed to be fast• The web wants
instant responses• MySQL provides
them
51
Monday, 19 April 2010
![Page 52: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/52.jpg)
Ease of use
• the "15 minutes rule"> you should be up and running
with MySQL within 15 minutes
52
Monday, 19 April 2010
![Page 53: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/53.jpg)
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
![Page 54: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/54.jpg)
Scalability
MySQL Cluster
data nodedata node
data node
data node
R/W
R/W
R/W
R/W
54
MySQL serverMySQL server
MySQL server
For write intensive high concurrency and HA
Monday, 19 April 2010
![Page 55: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/55.jpg)
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 partitionsWednesday, April 21, 20101:00 PMROOM: SURF C
Monday, 19 April 2010
![Page 56: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/56.jpg)
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
![Page 57: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/57.jpg)
From community: the Spider engine
57
host1 MySQL serverwith SPIDER
table employeestable employeestable employeespartition 1 year 1997 host2partition 2 year 1998 host3partition 3 year 1999 host4partition 4 year 2000 host5partition 5 year 2001 host6partition 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 projectsTuesday, April 20, 201011:45AM ROOM: SURF B
Monday, 19 April 2010
![Page 58: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/58.jpg)
Usability: MySQL Workbench
58
Monday, 19 April 2010
![Page 59: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/59.jpg)
Usability: MySQL Workbench
59
Monday, 19 April 2010
![Page 60: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/60.jpg)
Usability: MySQL Workbench
60
Monday, 19 April 2010
![Page 61: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/61.jpg)
Usability: MySQL Workbench
61
Monday, 19 April 2010
![Page 62: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/62.jpg)
Get involved
• http://dev.mysql.com• Downloads• Documentation• Articles• Blogs• Forums• Mailing lists• Bugs database• And more!
62
Monday, 19 April 2010
![Page 63: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/63.jpg)
More sessions on MySQL
63
Sharding for the masses. MySQL for large projectsTuesday, April 20, 201011:45AM ROOM: SURF B
Boosting performance with MySQL partitionsWednesday, April 21, 20101:00 PMROOM: SURF C
Monday, 19 April 2010
![Page 64: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/64.jpg)
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
![Page 65: Introductiontomysql 100420092731-phpapp01](https://reader034.fdocuments.in/reader034/viewer/2022052618/554f74e6b4c905bb178b53eb/html5/thumbnails/65.jpg)
THANKS!
Q&AComment on Twitter: @datacharmer
Monday, 19 April 2010