Slashdot Log In
Ask Slashdot: On Oracle and Linux
Posted by
Cliff
on Mon Mar 22, 1999 04:12 PM
from the how-is-it dept.
from the how-is-it dept.
Dirk Elmendorf asks:
"A company I work with is looking at using
Oracle as the database backend for a number
of large scale intranet applications. They
would prefer to go with Oracle under Solaris.
I voted in favor of Oracle under Linux.
They think that it isn't stable. Can
anyone out there provide me proof
or testimonials that will help me choose
Linux?" How does the Linux version compare
with the NT and Solaris versions of Oracle?
This discussion has been archived.
No new comments can be posted.
Ask Slashdot: On Oracle and Linux
|
Log In/Create an Account
| Top
| 243 comments
(Spill at 50!) | Index Only
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
|
2
(1)
|
2
To those less informed... (Score:3)
The comments I make come from a great deal of experience. I have a Linux machine on my desk, and work with Solaris machines in our server farms. I use all manner of OS and platform (I'll explain why later). Now that I've gotten that out of the way, let me comment on some of the points made above.
For starters, NT sucks. Period.
Next, Linux is a baby, an infant. Solaris has been around. Regardless of how nicely Oracle may run on Linux, Solaris is a mature commercial product. Please don't misunderstand, I love open source software and contribute to many projects myself. But Solaris is mature and rock solid. Linux is a developmental product. I could see Linux taking a major portion of the Unix market in mission-critical applications, just not yet.
Several people have alluded to the possibility of running Solaris on Intel. I fail to see the advantage of this... Solaris is designed for Sparc hardware. Take this fact into consideration. Someone mentioned Linux having better hardware support, which I wholeheartedly agree with. But until very recently, Solaris didn't have to support anything other than Sun hardware, which has distinct advantages.
One of which is scalability. Solaris is designed to be virtually unlimited in scalability.. look at Sun's Starfire machine.
Many people mentioned other issues, such as better security on Solaris (VERY VERY true), the "cleaness" of Solaris compared with Linux (also true... Solaris has a nice polish, while Linux is very evidently a work in progress... you can feel this after working with both) and the superior Solaris hardware.
These are all valid points, and I personally agree with them for the most part. But here are some simple facts. I work for a company (who shall remain nameless for obvious reasons) that provides international Internet bandwidth services and high-end server co-location facilities.
In the facility I'm at, we have literally thousands of servers of every OS and platform... from a couple of Crays to SGIs to Solaris to Linux to BSD to NT to Mac. Every single machine is monitored via a proprietary network monitoring system that logs and alerts us to machine failures.
Basically, it comes down to this: Solaris on UltraSPARC hardware is BY FAR the most reliable choice. Very rarely does a Solaris machine appear on our monitor, yet the Linux machines are topping the fail lists daily. The facility I'm at handles 2.5 billion requests a day (if you haven't figured out where yet, I'm sorry!). I feel I am in a unique position to make a determination of which operating system is the most solid and reliable.
I can also say what truly mission-critical systems do. One in particular (a very large search engine, with a name similar to a chocolate drink) utilizes high-end Sun Enterprise systems to serve their database application to farms of low-end BSD webserver machines. This system (obviously) works very well. There is a reason it uses this system and has never changed.
So while I may agree with the opinions of many people, and the things I stated above I truly believe, the fact remains... Solaris is a better product for mission-critical applications, for now. It'll be a few years before Linux reaches the "polished" state that Solaris is currently at.
Linux could be fine for smaller applications (Score:4)
Sun can handle this without any problem. Also, as a shop who runs a very large Oracle application on non-Sun hardware, I can tell you that it is no fun trying to Oracle to fix something on their non-favorite platform.
New patches, fixes and product introductions for Oracle server will always happen first on Sun and sometimes that can be a real buzzkill.
My $1.59 worth (if that).
--Aaron Newsome
Different spin on your question ... (Score:3)
Oracle stability and speed vs. NT or solaris (Score:4)
OBSpeed: People doing informal speed tests on linux/oracle vs nt/oracle on the same hardware seem to show about a 3-5x speedup under linux.
Also solaris/x86's filesystem speed tends to be a lot slower then linux/x86 - same hardware. I expect that linux would be an ideal database server for many GB of data, as long as the SGA doesn't have to get over a GB or so (these are different things - one is disk space, the other memory. Both are dependant on the expeceted use profile of the database). This is an *estimate* from people I've spoken to - I'm not an oracle expert myself... I'm just learning how to program for it, etc.
Blow the extra money you'd have payed for a SPARC on a caching scsi controller and mirror all of your drives, and you'll have an increadibly reliable and fast server.
-Peter
Partial BZZZZZT! (Score:4)
Well, Spectra Logic gave me a demo of Alexandria (the backup product that claims the fastest network backup. In spec'ing it in the past it looks like a great product). That demo cd has the following printed on it:
Includeing... Hot Oracle Backup!
Look at spectra logic's home page [spectralogc.com] if you want more inf.
(Disclaimer - I don't work with or for them - I just think their product is worth evaluating).
As for multi-processor - well sun is still behind SGI for that degree of scaleability. If you're intereseted in going to 64 CPU's then go SGI or wait until a big vendor adds patches to linux to make it do 64 processors well. Or gives davem or alan cox a 64+ cpu box to use. Don't hold your breath for the latter
also...
New patches, fixes and product introductions for Oracle server will always happen first on Sun and sometimes that can be a real buzzkill.
But not on solaris/x86. This is one of the lowest platforms to oracle (at least in my experience in trying to get oracle (tm) consultants to put financial software on it). It seems that linux-specific patches do come out quite quickly. And the oracle 8i pre-release server for linux and sparc/solaris should supposedly arrive at around the same time.
Sparc/solaris is definetely the unix development platform for oracle, but linux is hot right now.
-Peter
Same Situation (Score:4)
The choices were solaris, and linux.... We choice linux because if we needed to upgrade, it was just a standard PC.... you can buy thoses a dime a dozen.... Solaris on the other hand.. gots lots of $$$ to upgrade..
DELL put us together a nice RedHat Certified PIII with a nice raid controller..... (rackmountable!)..
Email me if you need help in the process
ChiefArcher
Maturity... (Score:3)
Let's analyze this a bit.
How much are you going to save going with Linux over Solaris? Maybe $600, the price of a Solaris license. Considering hardware and database software is going to be the same price no matter which solution is chosen.
Is Linux signifigantly better than Solaris? No.
Is the version of Oracle available for Linux signifigantly better than that for Solaris? No.
In fact the opposite is true. Solaris is signifigantly better than Linux as a server platform, and Oracle has been available for Solaris for a signifigantly longer amount of time than Linux, which generally equates to a more stable product.
I'm having a hard time trying to identify what you see as being positive about the Linux solution? You save very little money, and instead increase your risk by a large margin. That risk factor outweighs the initial cost by a huge margin.
Please leave your religion at the door next time you go to work.
Oracle on Linux (Score:3)
Go for it.
Solaris vs. Linux (Score:3)
Why, you ask?
1. Oracle on Linux doesn't have a long enough track record yet. It was ported just 6 months ago. As quickly as Oracle jumped on the Linux bandwagon, Larry Ellison could change his mind and jump off again.
2. Oracle is developed on Solaris, then ported to other OS's. Any bugs get fixed in Solaris first.
3. Right now, only Oracle Standard Edition is available for Linux. If you need Oracle Enterprise Edition features (table partitioning, object support, advanced replication, parallel server), then you need Solaris.
4. Scalability. If you expect rapid growth in you database application, Sun will scale better than any current Pentium system (E10000 anyone?). Beowulf clustering is not a viable option for Oracle.
5. Solaris has journaled file system and logical volume manager (Veritas), and it will suport raw logical volumes for datafiles.
6. If you plan to use an Oracle application, like Oracle Financials, you can't use Linux, because no Oracle application is certified for Linux yet. Oracle Financials is a BIG pain. It is extremely sensitive to the particular Oracle rdbms release, patch level, application patches, OS release, and OS patches.
Note that these considerations have more to do with the current state of Oracle on Linux, and current Pentium hardware limits, than with Linux per se. Ask this question again a year from now, and I hope to give you a different answer than today's.
Meanwhile, you might still get the Linux foot in the door by starting off using Oracle on Linux for test and development. The good news is, if you do use Oracle on Linux and you find you've outgrown that Pentium, you can easily port your entire database to another Oracle system (Sun, HP, IBM, etc.)
There are glitches (Score:3)
I have installed Oracle for Linux and used it for some fairly grand things. I wouldn't use it again for a little while, however. Once things are right it's okay.
But, it's REALLY finicky. The install program itself would random crash every now and then with odd scripting errors that were never repeatable. You could re-run it immediately after and blow by the same point even though you haven't changed a thing.
The original Oracle for Linux CD came with almost completely non-shared libraries which means most executables, such as tnsping and svrmgr were 3-4 meg apiece. The re-linking process itself was a nightmare. I had tons of problems relinking executables which eventually came down to what I believe was a GNU linker or binutils bug but it could've been the library they distributed.
The documentation for Linux is not awful but not grand either. Documentation for other platforms is significantly better.
For awhile I would have trouble shutting down the database. It would refuse to shutdown with a 'shutdown immediate' even though there were no connections nor any rollback activity. Nothing short of a shutdown force would shut it down. This eventually went away for some unknown reason.
The listener would occasionally core dump for little to no reason (that I could see anyway) under light load.
However, mind you it was pretty damn fast and purred well once things got hammered out. The biggest problem I think is they really rushed to package the thing and just tested it to see that most things work.
And some advice. Don't go anywhere NEAR Oracle Application Server for Linux. Particularly, their piece-o-crap Apache module.. (used to make Apache the web listener).
StickBoy
Summary of Points.... (Score:3)
OK, I've read everyone's posts, and am going to summarize the arguments here, plus include my own short opinion/experience.
I'm looking at your original post, and the main advantage of Linux over Solaris is price. Intel hardware (even the quite heavy-duty stuff you should buy for a serious DB server) is less than equivalent SPARC hardware. However, there are other concerns:
If you are running a small database (ie, 2-3GB max) that doesn't get hit extremely hard, Linux is certainly fine. However, given that you seem to be wanting a enterprise-level solution, Solaris is simply the better way to go. You might spend 25% more on the hardware, but remember, TCO is so much more than just the hardware. In the long run, Solaris is the much better choice from a feature set, performance/scalability, and support/maintenace viewpoint.
Hopefully, in about 2 years, we can redo this comparison, and Linux will be a truly equal competitor. Right now, Linux really doesn't belong in the datacenter running hard-core enterprise apps. Soon, though.
-Erik
Different spin on your question ... (Score:3)
60% OF ORACLE SERVERS ARE NOW SHIPPING WITH LINUX!
Why? Because M$ does not allow top-tier vendors to bundle Oracle with Windows NT servers. This is designed so end-users are forced to go with M$ SQL Server. But the actual result is that the strategy is backfiring along a different path, people are chosing Linux over NT.
I mean, if you are a Dell, IBM, Compaq or HP customer, what would you choose?
The same goes for the other non-M$ DB players, Oracle, Sybase, Informix, IBM, etc...
Trust me, Oracle SQL Server on Linux is MUCH, MORE STABLE than NT! Against, Solaris, that is a completely different question (especially since it scales much higher). But for a workgroup/mid-enterprise server, I'd say you cannot got wrong with Linux.
Don't be surprise when Linux outsells NT PRE-INSTALLED on servers this year.
Think on it (Score:3)
I've never used Oracle on any platform but HP/UX, but let me inject a few general observations about Unixes and third party products in general:
Keep your critical systems away from anybody's first releases.
Keep your critical systems off of NT.
There are many fine *nixes out there, each with their own strengths and weaknesses. Linux is a fine *nix, but it has too many under-informed zealots that will tell you it's always the OS for the job at hand. It's not always that OS. In sheer years, it is way too young to offer the kind of feature set a more mature *nix might offer (of course it's also too young to offer the entrenched corporate philosophies and 10 years of backwards bug compatibility found in a more mature *nix :)
In short, don't count Linux out, but don't automatically decide to use it because a bunch of Internet 12 year olds tell you it "rool3s". Linux does rule for the home PC, or for the ISP, but it's missing so many basic elements, like LVM, RAID, and a slew of things in the process and memory management department... all these things are in active development (yes, even LVM) but once again... do you want beta software a the box that makes your beeper go off if it goes down? :)
Keep your eye on Oracle for Linux, though. It's a comer and I hope to be using it within a year
--Sync
Scalability would make sun a clear choice. (Score:4)
you will find a lot more people with solaris sysadmin experience with large solaris systems.
On the other hand if the database is a small one (1G) than a linux machine would be sufficent.
Just think why you choose linux instead of solaris in the first place. is it because linux is 'cool' and flavor of the month ? or is it for cost reasons ?
Try not to pick something just because it will be 'fun' and 'cool' to say you are working on it.
Another question you should ask is what other machines the site has expierence with, because you will probably costing them more on support than what you would save implementing on linux.
I am not saying that linux is bad, just make sure you choose it for the right reasons