MySQL vs. Oracle?

LuDaCriS66

Platinum Member
Nov 21, 2001
2,057
0
0
Can anyone list the general differences between using MySQL vs SQL*Plus in Oracle?

I know some things like how MySQL doesn't have views and that Oracle should be able to handle larger databases. What about in the actual coding and such?
 

Haircut

Platinum Member
Apr 23, 2000
2,248
0
0
Well, MySQL doesn't have stored procedures (although I believe they are coming in the next version)
So most of the stuff you do in Oracle PL/SQL wouldn't be possible in MySQL.

In terms of SQL then they can both do the ANSI standard stuff, Oracle has things like START WITH and CONNECT BY PRIOR (plus regular expression queries when Oracle 10g comes out) that MySQL doesn't have.
I believe you can't use in-line views in your SQL statements with MySQL either.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Haircut
Well, MySQL doesn't have stored procedures (although I believe they are coming in the next version)
So most of the stuff you do in Oracle PL/SQL wouldn't be possible in MySQL.

In terms of SQL then they can both do the ANSI standard stuff, Oracle has things like START WITH and CONNECT BY PRIOR (plus regular expression queries when Oracle 10g comes out) that MySQL doesn't have.
I believe you can't use in-line views in your SQL statements with MySQL either.

Regexp queries, as in 'WHERE blah REGEXP "^whatever";' ? Mysql has that.
 

cgott42

Member
Jan 6, 2002
156
0
71
I have a similar question:

I have to put together a proposal to our I.T. department outlining reasons we may want to switch from MS SQL Serveer to Oracle. I've used Oracle before and was very happy with it, but that won't be enough to sell it. I need to know what are the advantages and disadvantages of each (please feel free to give as much detail, as I can use it to add substance to the proposal.

thanks.
 

glugglug

Diamond Member
Jun 9, 2002
5,340
1
81
MySQL, a FREE DB allows you to have columns where numeric values are stored as binary 32-bit integers or in IEEE floating point formats both of which your CPU is made to work with rapidly and can efficiently compare or do math operations on (like summing in your SQL statement or whatever). Oracle, laughably for such a high profile database with such a large price tag, still to this day requires you to store numbers as strings of BCD digits that the server can't search nearly as efficiently.

Edit: well I suppose you could store them as decimal or other format strings in a VARCHAR2 column, but I think you get my point.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
MySQL is missing many important database features like triggers and stored procedures though, PostgreSQL would be a much better choice to replace MS SQL or Oracle.

I have to put together a proposal to our I.T. department outlining reasons we may want to switch from MS SQL Serveer to Oracle. I've used Oracle before and was very happy with it, but that won't be enough to sell it. I need to know what are the advantages and disadvantages of each (please feel free to give as much detail, as I can use it to add substance to the proposal.

Tell them you want to run the database on Linux and it's impossible to run MS SQL on anything but Windows. Or just the fact that you don't want to be tied to one hardware vendor, Oracle runs on everything so a database can easily be moved from Solaris to HP-UX to Linux without any conversion of the data.
 

ITJunkie

Platinum Member
Apr 17, 2003
2,512
0
76
www.techange.com
Originally posted by: Nothinman
MySQL is missing many important database features like triggers and stored procedures though, PostgreSQL would be a much better choice to replace MS SQL or Oracle.

I have to put together a proposal to our I.T. department outlining reasons we may want to switch from MS SQL Serveer to Oracle. I've used Oracle before and was very happy with it, but that won't be enough to sell it. I need to know what are the advantages and disadvantages of each (please feel free to give as much detail, as I can use it to add substance to the proposal.

Tell them you want to run the database on Linux and it's impossible to run MS SQL on anything but Windows. Or just the fact that you don't want to be tied to one hardware vendor, Oracle runs on everything so a database can easily be moved from Solaris to HP-UX to Linux without any conversion of the data.

Great point :beer:
 

RedFox1

Senior member
Aug 22, 2000
587
0
76
Find some way to tie the switch to some sort of dollar-amount in savings....that's usually much more effective when it comes to convincing management. It gives your manager a nice sound-byte to feed other managers who ask about the changeover.

Originally posted by: cgott42
I have a similar question:

I have to put together a proposal to our I.T. department outlining reasons we may want to switch from MS SQL Serveer to Oracle. I've used Oracle before and was very happy with it, but that won't be enough to sell it. I need to know what are the advantages and disadvantages of each (please feel free to give as much detail, as I can use it to add substance to the proposal.

thanks.

 

calpha

Golden Member
Mar 7, 2001
1,287
0
0
From experience, I'd not recommend postgres especially for larger dbs. it's good for small databases, and fairly efficient, but I worked on a gov't project where the database was about 22 Gigs, and postgres was Extremely Extremely slow. Free yes, efficient no. They waited a year, but when the next fiscal budget came out, they upgraded to Oracle on Solaris and have never looked back.

Completely agree that for large projects, Oracle is the way to go. Platform independent is a big feature. ON a project now with MS-SQL Dbs ranging in size from 12-40 GB and the quad server is overloaded. Currently it's a IT problem, not db, because we need more hardware to separate out the load. But the employer mentioned above, ended up with their multiple Oracle Databases much larger then my current project running on a single monster SUN Box, and have still yet to come close to maxing it out. Apples and oranges I know.
 

glugglug

Diamond Member
Jun 9, 2002
5,340
1
81
MS SQL Server is a lot faster than Oracle and T-SQL (MSSQL) is generally a lot more flexible than PL-SQL (Oracle). Scary, but MS actually did something right for once.

Oracle has 2 major advantages over SQL server:
1. You can run it on a UNIX box
2. Oracle clustering (RAC). Basically multiple computers act as one database server, all sharing the same EMC disk, for greater scalability. From what I've seen so far I'd consider this to be alpha version software though, regardless of whether its officially a finalized release.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |