MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned...

23
MySQL Presentation Group members: Marco Tony Kassis Nourhan Sakr Roba Bairakdar

Transcript of MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned...

Page 1: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

MySQL Presentation

Group members:

Marco Tony Kassis

Nourhan Sakr

Roba Bairakdar

Page 2: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Outline

S  What is MySQL?

S  History

S  Uses

S  Platforms and Interfaces

S  GUIs

S  Syntax

S  Why MySQL?

Page 3: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

What is MySQL?

S  It is the world’s most commonly used RDBMS

S  It is named after developer Michael Widenius; daughter, MY

S  Its source code is available under the terms of the GNU General Public License.

S  MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation

S  MySQL is used in high-profile, large-scale World Wide Web products, including Wikipedia, Google, Facebook and Twitter.

Page 4: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

History

S  Originally developed by Michael Widenius and David Axmark in 1994

S  First release on 23rd of May 1995

S  Windows version was released in 1998

S  …

S  MySQL server 5.5 was released in December 2010

Page 5: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Uses

S  It is the most popular choice of database for use in web applications

S  It is a central component of the widely used LAMP open source web application software stack (LAMP: Linux, Apache, MySQL, Perl/PHP/Python)

Page 6: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Platforms and interfaces

S  MySQL is written in C and C++

S  It works on many different system platforms, including Linux, Mac OS X, Solaris, etc.

S  Some programming languages include libraries for accessing MySQL databases. These include MySQL Connector/Net for integration with Microsoft’s Visual Studio and JDBC driver for Java

Page 7: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Graphical User Interface

S  MySQL has no GUI tools to administer the databases or manage the data contained

S  Official MySQL Workbench enables users to graphically administer MySQL databases and visually design database structures

S  MySQL Workbench allows the users to manage the following: S  Database design & modeling S  SQL Development S  Database Administration

Page 8: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

MySQL Demo

S The video is a demonstration done on MySQL on campus

S http://youtu.be/K6sQL39qYnk

Page 9: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Syntax

Point of Comparison Similarity or difference

DDL Almost the same

DML The same in everything except for the outer join

DCL The same

Page 10: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Why MySQL?

MYSQL has proven itself to be fast, reliable and cost effective to

other competitors such as MS SQL Server and Oracle

Page 11: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Why MySQL?

Page 12: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Open Source

S  It is free and developers can amend its code to suit their requirements, which makes MYSQL highly customizable.

Page 13: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Fast Development

S  New modules are constantly being developed for integration with MYSQL. This presents a wider and faster circle of patches, upgrades and fixes available.

Page 14: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Scalability

S  MySQL supports the capacity to handle deeply embedded application running massive data and holding terabytes of information.

Page 15: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Flexibility

S  compatible with Windows, Linux, OS2 and Solaris. It also includes APIs for integration with C, C++, PHP, Java, Perl, Python, Tcl, Ruby, etc.

Page 16: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Performance

S  A unique storage-engine architecture allows server configuration according to the application type - whether high-speed transactional processing system or high-volume web site servicing millions of queries a day.

Page 17: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Availability

S  According to a MS Case Study: Stratus Technologies, SQL Server delivers “six nines”. That is 99.9999% uptime availability.

S  High availability options vary

Page 18: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Robust Transactional Support

S  Complete ACID (atomic, consistent, isolated, durable) transaction support, distributed transaction capability, and multi-version transaction support where readers never block writers and vice-versa.

S  Full data integrity is also assured through server-enforced referential integrity, specialized transaction isolation levels, and instant deadlock detection.

Page 19: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Security

S  All access passwords are stored in an encrypted format and unauthorized accesses are restricted. It also encrypts the transactions so eavesdroppers (=listeners/spies) and data harvest tools cannot replicate or regenerate the database transactions once they are processed.

Page 20: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Favorable for…

S  Small Businesses: free, easy to learn and operate

S  High traffic websites: high performance, fast data insert capability, support for web functions

S  Data Warehouse: scales up into the terabyte range featuring main memory tables, B-tree and hash indexes and compressed archive tables that reduce storage requirements by up to 80%

Page 21: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Sources

S http://www.quotebean.co.uk/buying-services/database-development/help-to-buy-guides/advantages-of-mysql-in-database-development/

S http://www.mysql.com/

Page 22: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Questions?

Page 23: MySQL Presentation - cs.aucegypt.educsci253/Presentations S12/CSCE253-Present… · MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned

Thank you!