A comparison of MySQL And Oracle Jeremy Haubrich.

Slides:



Advertisements
Similar presentations
Reporting on Exchange made simple! PROMODAG REPORTS for Microsoft Exchange Server.
Advertisements

A Fast Growing Market. Interesting New Players Lyzasoft.
A Comparison of Database Software CS 616 April 8, 2004 Team 7 Mandar Patankar Jonathan Cohen B. Timothy Walsh.
Introduction to Structured Query Language (SQL)
Introduction to Structured Query Language (SQL)
SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin
Data and Database Administration CISB344 Database 2  At the end of this chapter, you should be able to:  Define terms related to data & database administration.
This presentation will guide you though the initial stages of installation, through to producing your first report Click your mouse to advance the presentation.
Acceleratio Ltd. is a software development company based in Zagreb, Croatia, founded in We create innovative software solutions for SharePoint,
Selecting and Implementing An Embedded Database System Presented by Jeff Webb March 2005 Article written by Michael Olson IEEE Software, 2000.
ASP.NET Programming with C# and SQL Server First Edition
Advanced Database Management System Lab no. 11. SQL Commands (for MySQL) –Update –Replace –Delete.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 10 Database Performance Tuning and Query Optimization.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Information Systems Today (©2006 Prentice Hall) MySQL 1CS3754 Class Note #8, Is an open-source relational database management system 2.Is fast and.
John Boland SCO Support 1 MySQL and SCAMP. 2 Overview  What is SCAMP?  What is MySQL?  Network Subscriptions  Downloading MySQL  Installation of.
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
Introduction to databases and SQL. What is a database?  A database is an organized way of holding together pieces of information  A database refers.
DBSQL 14-1 Copyright © Genetic Computer School 2009 Chapter 14 Microsoft SQL Server.
MySQL. Dept. of Computing Science, University of Aberdeen2 In this lecture you will learn The main subsystems in MySQL architecture The different storage.
SQL Server 2000 Acropolis Institute of Technology and Research Database fundamentals Prepared By: Rahul Patel.
1099 Why Use InterBase? Bill Todd The Database Group, Inc.
1 Copyright © 2004, Oracle. All rights reserved. Introduction.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Database structure and space Management. Database Structure An ORACLE database has both a physical and logical structure. By separating physical and logical.
Oracle's Distributed Database Bora Yasa. Definition A Distributed Database is a set of databases stored on multiple computers at different locations and.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Commercial RDBMSs Access and Oracle. Access DBMS Architchecture  Can be used as a standalone system on a single PC: -JET Engine -Microsoft Data Engine.
1 Oracle Enterprise Manager Slides from Dominic Gélinas CIS
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Using SQL Connecting, Retrieving Data, Executing SQL Commands, … Svetlin Nakov Technical Trainer Software University
Database Design And Implementation. Done so far… Started a design of your own data model In Software Engineering, recognised the processes that occur.
SQL/Lesson 7/Slide 1 of 32 Implementing Indexes Objectives In this lesson, you will learn to: * Create a clustered index * Create a nonclustered index.
MGA Duplica Replication Tool. 1. High Availability and Avoidance of Data Loss  Replicate to alternate databases 2. Split activities across databases.
What is MySQL? MySQL is a relational database management system (RDBMS) based on SQL (Structured Query Language). First released in January, Many.
CHAPTER 10 PHP MySQL Database
IS6146 Databases for Management Information Systems Lecture 1: Introduction to IS6146 Rob Gleasure robgleasure.com.
Database technology Introduction ER Modeling Database objects (intro) SQL.
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
SQL pepper. Why SQL File I/O is a great deal of code Optimal file organization and indexing is critical and a great deal of code and theory implementation.
Introduction to MySQL  Working with MySQL and MySQL Workbench.
uses of DB systems DB environment DB structure Codd’s rules current common RDBMs implementations.
 What is DB Testing ?  Testing at the Data Access Layer  Need for Testing DB Objects  Common Problems that affect the Application  Should Testers.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
Get the Most out of SQL Server Standard Edition Or How to be a SQL Miser.
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
BTM 382 Database Management Chapter 8 Advanced SQL Chitu Okoli Associate Professor in Business Technology Management John Molson School of Business, Concordia.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS. M.Sc. and B.Sc. of Information Technology Engineering Senior Lecturer in University of Somalia,
Lecture 1.21 SQL Introduction Steven Jones, Genome Sciences Centre.
1 Copyright © 2005, Oracle. All rights reserved. Oracle Database Administration: Overview.
 MySQL is a database system used on the web  MySQL is a database system that runs on a server  MySQL is ideal for both small and large applications.
SQL Introduction SQL stands for “Structured Query Language” and can be pronounced as “SQL” or “sequel – (Structured English.
SQL Database Management
Katowice,
CS320 Web and Internet Programming SQL and MySQL
Postgres MySQL Bakeoff
of our Partners and Customers
Database Systems: Design, Implementation, and Management Tenth Edition
Introduction to Web programming
Chapter 8 Advanced SQL Pearson Education © 2014.
ISC440: Web Programming 2 Server-side Scripting PHP 3
Traveling in time with SQL Server 2017
Database systems Lecture 3 – SQL + CRUD
CS3220 Web and Internet Programming SQL and MySQL
Database Systems: Design, Implementation, and Management Tenth Edition
CS3220 Web and Internet Programming SQL and MySQL
Presentation transcript:

A comparison of MySQL And Oracle Jeremy Haubrich

Importance of choosing the right database High cost for an enterprise system Databases can hold the “keys to the castle” Databases can give companies a competitive advantage

Direct comparison isn’t fair Oracle and MySQL are built for different markets Oracle is designed for the enterprise customer with a big enough budget and more complex business needs MySQL is a lower cost database that is most commonly used for database driven web sites and non mission critical applications Features that look identical in a brochure may be implemented very differently (ex. row level locking)

Cost Oracle  $36,000 per processor for Enterprise Edition + optional $8,000 for support and software updates  $5,000 per processor for Standard Edition + optional $1,100 for support and software updates MySQL  Free to download  $500 for a commercial license + optional $1,500- $62,000 for different levels of support

Oracle Features Oracle Management Server  Central administration, monitoring, and tuning of multiple databases  Schedule and share database tasks with other admins Oracle Change Manager  Allows you to create a change plan and see the effects of your changes before actually implementing them  Also shows any changes that cannot be applied Administrative Alerts  Oracle will contact the admin by or pager when an error condition occurs  Can be scheduled to reduce false positives

More Oracle Features Capacity Planning  Tracks usage patterns to help admins plan for upgrades  Feedback on CPU, disk and query performance Query Optimizer  Oracle chooses the most efficient way to execute a SQL statement  Analyzes tables and indexes to minimize the cost of the transaction

MySQL Features Easy to get started with Many free GUI management tools like PHPMyAdmin Speed is emphasized over lesser used features Uses very little overhead  MySQL uses just under 1MB of RAM on my laptop  My Oracle 9i installation uses 128MB while idle

More MySQL Features Beginning to support advanced features  Stored Procedures, Triggers, Views in the next version (5)  Select statements with sub-queries were introduced in the current version (4)  Transactional tables Cascading updates and deletes Available through the third-party InnoDB storage engine

Migragtion from MySQL to Oracle As your company grows Oracle may be a better fit Migration tools are available (Oracle Migration Kit) Companies may use both Oracle and MySQL

Differences in syntax Not all databases use the same SQL syntax Example: Returning the first 5 rows of a query  MySQL  Select columns FROM tablename ORDER BY key ASC LIMIT 5;  Oracle  Select * FROM ( SELECT columns FROM tablename ORDER BY key ASC ) WHERE ROWNUM <= 5;

Timestamps MySQL Create a field of type TIMESTAMP and enter an invalid date. In this case February mysql> insert into tester values (' :05:00'); Query OK, 1 row affected (0.07 sec) Notice that MySQL doesn't complain about the date. Checking to see what MySQL enters you see that it just changed the date to the first day in March. mysql> select * from tester; | time | | | row in set (0.00 sec)

Timestamps Oracle This will work, INSERT INTO tablename (columnname) VALUES (TIMESTAMP' :05:00') while this will fail: INSERT INTO tablename (columnname) VALUES (TIMESTAMP' :05:00')

Concatenation SQL Standard symbol for concat is || MySQL uses || as the OR operator  Uses concat(string1, string2)  More familiar to programmers  Breaks the standard Oracle uses || for concat  Ex. string1 || string2

Which is better? MySQL  For non mission-critical environments  Great for database enabled websites  Attractive price point Oracle  Rock solid dependability, reliability, and features  Steep learning curve and expensive  Designed with the enterprise in mind