Re: MySql vs. Oracle
Date: Wed, 18 Oct 2000 15:11:28 -0700
Message-ID: <8sl70i02bik_at_news2.newsguy.com>
"Erik Pedersen" <erik_at_bid2day.no> wrote:
> Hi, I wonder is MySql controlled by transactions like Oracle or is that
the
> reason that Oracle is much better on bigger systems.
>
> If thats not the reason can someone explain the differece for me?
At present, mySQL doesn't do transactions. It also doesn't support foreign keys, stored procedures, or sub-selects. These restrictions (their documentation suggests, and I have found it to be true) go a long way to keep you from doing wasteful things with your database.
Now, that said, let me say that there's a tradeoff between reliability/robustness and speed in the DB world. One one end, you've got mySQL that requires about 5MB of space to install, doesn't require a whole lot of RAM, and runs really, really fast. Also, mySQL works on top of your existing filesystem (it doesn't require it's own partition with strange format), so moving the database to another machine is as easy as stopping the server, copying the files from the old machine to the new machine, and starting the daemon on the new machine.
On the other end you've got Oracle that is absolutely gargantuan. One of our faculty is always asking us to install some new Oracle app on his machine and the requirements border on the bizarre: 256MB of RAM, 10BG of hard disk space.... that kinda thing. However, Oracle probably has every topping you can get on a DB pizza.
In between those two, you have postgreSQL, Interbase, MS-SQL, DB2, etc...
Lately, PostgreSQL has seemed to compete very tightly with mySQL for the top spot as far as speed goes, and PostgreSQL offers transaction support and some other features that snobs consider essential parts of a "real" DBMS. In fact, I saw a recent benchmark that shows PostgreSQL outperforming mySQL when the concurrent connections gets past about 6 or 7. So, if mySQL ever doesn't cut the mustard for me, I'm going to PostgreSQL.
I wouldn't use Oracle if it were free. It's a hog.
- Joe