Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications Kaj Arnö, VP Training, MySQL AB Stuttgart, Germany 2001-07-05 Belgrad, Serbia 2001-07-08 © MySQL AB 2001 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications Presentation Goals • • • • • What is MySQL? What are the MySQL Core Values? Where does MySQL fit into application development? MySQL, Open Source and the LAMP model Where is MySQL Development going? 2 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications Who am I? • • • • • Kaj Arnö (first name rhymes with "rye") Vice President, MySQL AB Training and Documentation Started 2001-06-01 Previously Polycon Ab, Official MySQL Training Materials • Followed Monty's coding since 1978 • Grankulla, Finland 3 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications Who are you? How many of you ... • Have not heard of MySQL? • Have used MySQL before? • Have installed MySQL yourself? • Run MySQL under Linux? • Run MySQL under Windows? Solaris? BSD? • Use MySQL with PHP? Perl? ODBC? Other? • Use MySQL on the Web? • Use MySQL also for non-Web systems? 4 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications What is the Purpose of the MySQL DBMS? • • • • • to store data to retrieve it quickly to change (insert, update, delete) it quickly to do this easily from wherever it is called 5 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL Core Product Values The MySQL Developers at MySQL AB want MySQL to be: • The best and the most used database in the world • Available and affordable for all • Easy to use • Continuously improving while remaining fast and safe • Fun to use and improve • Free from bugs 6 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL AB and Its People • Promote Open Source Philosophy and support the Open Source Community • Hence, work against software patents • Aim to be good citizens • Prefer partners that share our values and mind-set • Answer mail and give support • Are a virtual company, networking with others http://www.mysql.com/information 7 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL and Open Source • MySQL™ is Open Source – You can read every single line of code • MySQL™ is GPL – You can use it for free as long as you stay GPL • MySQL™ is Copyrighted © MySQL AB – MySQL AB can sell commercial licences to those who do not wish to stay GPL • Documentation is freely available on the web – You can read it for free • Documentation is © MySQL AB – Earning money requires agreement with MySQL AB 8 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications What do you get for free? • The right to use the MySQL Server itself • The right to view documentation on web • The right to print documentation on paper for your personal use • The possibility to read and post on mailing lists 9 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications So how does MySQL AB earn a living? We get this question all the time! • By Commercial Licences (such as embedded) • By Support Agreements • By Partnership Agreements • By Training Courses • By Professional Services (Consulting) 10 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications So does MySQL™ follow standards? • Short answer: Yes! • ANSI SQL 89 92 99 are recent standards • Much like other databases, – we have not yet implemented all features, especially against 99, but we strive to implement them all – we have added other features, MySQL Extensions, to the standard (e.g. LIMIT) • But we consider vendor lock-in unethical! – We want you to use MySQL Extensions consciously, saving time and effort, but not fool you into thinking all our extensions are portable 11 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications What are comparable DBMSes? Commercial Free • • • • • • PostgreSQL • Interbase • GnuSQL Oracle MS SQL Server Sybase DB2 mSQL 12 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications The History Of the MySQL DBMS • • • • • • • 1979 Unireg in Basic (32k RAM) 1984 Unireg in C/Unix (1M RAM) 1985-1994 Unireg on multiple Unixes 1995 MySQL DBMS development started 1996 MySQL™ 3.11.0 publicly released 1998-2000 MySQL™ receives various awards 2000 MySQL™ goes GPL 13 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL Installed Base • How many MySQL Servers are there? – – – – – Difficult to judge; user registration not required MySQL is part of all Linux distributions How many Linux Web Servers are there? We know >40 % of all Web servers have MySQL Our estimate is around 3.000.000 mysqld servers • 10.000+ downloads a day – In three days, 20.000 Linux 12.000 Windows 7.000 other (Solaris, HP UX, Mac OS, BSD) 5.000 source downloads 14 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications The LAMP Model Operating System Linux OS Windows Browser NS (Windows) Web Daemon Apache (IIS, Netscape Enterprise) http://www.yourdomain.com/ OS Windows Browser IE Database MySQL (Oracle, Postgres, DB2) SELECT price FROM Products OS NS Development Language PHP/Perl (ASP, Java Servlet, CGI) <? $res=mysql_query (” Linux Browser OS Windows Appl. ?? The Web Server The Clients 15 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL and Replication Updating Client Binary Log UPDATE INSERT DELETE Replication Master Slave 1 Updating Client Slave 4 Slave 2 Slave 3 Reading Clients 16 2001-07-05 | © MySQL AB 2001 | Kaj Arnö | www.mysql.com MySQL™: The Open Source Database for Mission-Critical, Heavy Load Applications MySQL and the Future MySQL 4.0 MySQL 4.1 • • Referential Integrity • Basic framework for stored procedures • Subselects • • • • • Enhanced InnoDB support (row level locking) mysqld lib: embedded Online Backup Unicode Multi-table UPDATEs and DELETEs SSL support for traffic to mysqld September 2001: alpha December 2001: alpha 17