Differences Between Oracle and MySQL
Differences Between Oracle and MySQL
Oracle is the leading database management system released by Oracle Corporation. MySQL is a
database management system sponsored by a company named MySQL AB. Now, MySQL is also acquired
by Oracle Corporation. Compare the major differences between Oracle and MySQL points wise.
MySQL Oracle
1. MySQL is an open source and MySQL is available 1.Only Oracle Express Edition is free of cost. But
for free download and installation. Oracle Express Edition has very limited features
when compared to MySQL. For extensive features,
either Oracle Standard Edition or Oracle Enterprise
Edition has to be purchased.
3. Flexibility of creating stored procedures and 3.Oracle provides more flexible features for
functions using PL/SQL is very less in MySQL. creating stored procedures and functions using
PL/SQL.
4. MySQL offers very few commands related to 4.Oracle includes extensive SQL commands in
generating output as report and defining variables. SQL*Plus including commands for generating
MySQL includes only very simple SQL commands. output as report and defining variables.
5. MySQL does not have the audit vault feature in 5.Oracle provides audit vault facility.
the server.
6. MySQL does not offer tools at enterprise level. 6.Oracle offers tools at enterprise level.
7. MySQL has only table locking facility. 7.Oracle provides the row locking facility as well.
8. MySQL does not have extensive storage features 8.Oracle has a very extensive storage feature.
like tablespace, synonym, packages and many Oracle supports tablespace, synonym, packages
others. and all other features.
9. MySQL database does not support XML. 9.Oracle supports and uses XML.
10.MySQL supports only two characters types 10.Oracle supports four different character data
namely CHAR and VARCHAR. types namely: CHAR, VARCHAR2, NCHAR,
NVARCHAR2.
11.MySQL, temporary tables are visible only within 11. In Oracle, temporary tables are persistent
the current active session. When the session across sessions. The temporary table has to be
expires, the temporary tables are removed explicitly removed by the User.
automatically.
12.MySQL has only two backup mechanisms 12.Oracle offers many backup mechanisms
namely mysqlhotcopy and mysqldump. including hot backup, backup, import, export and
many others.