CertCities.com -- The Ultimate Site for Certified IT Professionals
Free CertCities.com Newsletter via E-mail Share share | bookmark | e-mail
  Microsoft®
  Cisco®
  Security
  Oracle®
  A+/Network+"
  Linux/Unix
  More Certs
  Newsletters
  Salary Surveys
  Forums
  News
  Exam Reviews
  Tips
  Columns
  Features
  PopQuiz
  RSS Feeds
  Press Releases
  Contributors
  About Us
  Search
 

Advanced Search
  Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on
Redmondmag.com!

Cover Story: IE8: Behind the 8 Ball

Tech-Ed: Let's (Third) Party!

A Secure Leap into the Cloud

Windows Mobile's New Moves

SQL Speed Secrets


CertCities.com
Let us know what you
think! E-mail us at:



 
 
...Home ... Editorial ... Columns ..Column Story Saturday: April 5, 2014


 SELECTions  
Damir Bersinic
Damir Bersinic


 A Decision More Difficult Than the Presidency
SQL v. Oracle: How do you decide?
by Damir Bersinic  
12/12/2000 -- I have to admit that when teaching an Oracle class, the one question I dread the most is "Which is better: SQL Server or Oracle?" This is the proverbial $64,000 question and the answer is not an easy one to give. With the recent top performance of Microsoft SQL Server 2000 on the TPC-C benchmarks (http://www.tpc.org/new_result/tpcc_perf_results.asp), many more of my clients are considering whether they should switch from Oracle to SQL Server 2000, while many new ones are asking for advice on which of these competing databases to choose to run their business.

The Technical Angle
In comparing SQL Server 2000 and Oracle from a technical perspective, one can do a feature-by-feature comparison, which, quite frankly, doesn't really mean much in the end. There are things that each does better than the other, and there are things that each to equally well. The real issue is can the database do the job? On the flip side, how big the job is and what is needed is just as important. Both Oracle and SQL Server 2000 will do the basic chore needed of a database -- manage data. Where they differ is how they manage large amounts of data and what operating system and hardware platforms they run on.

In releasing SQL Server 2000, Microsoft took dead aim at Oracle. One key feature is the capability to run more than one instance of SQL Server 2000 on the same machine so that memory and other resources can be properly allocated to those databases the need it. Although SQL Server 2000 and Oracle still differ in the fundamental architecture of their respective products (Oracle instances manage resources tied to one database only, whereas SQL Server 2000 instance can manage memory and other resources for more than one database at the same time), the capability to have more then one copy of SQL Server 2000 on the same machine allows SQL Server 2000 to be more "Oracle-like."

Data Partitioning: Microsoft Leaps Ahead
The biggest leap forward made by Microsoft with SQL Server 2000 has to do with partitioning of data. This is an important factor in very large database (VLDB) environments where the amount of data is several tens of gigabytes or more. Oracle 8i provides for sub-partitioning of data by ranges and hashing; however, the disk drives on which the partitions are stored must all be attached to the machine on which the instance is running. To spread out the work of retrieving data from these partitions, Oracle Parallel Server can be used to allow more than one instance to access the database, but both instances must share the same disks.

SQL Server 2000 implements partitioning by means of federated databases. This means that a portion of the data to be partitioned (e.g. customers) resides in a table on a separate SQL Server 2000 computer (e.g. the New York customers are on the New York server, the Chicago customers are on the Chicago server, etc.). Each of these SQL Server 2000 computers knows about the others by adding them as a linked server. To allow any user on any of these servers to get a complete picture on the federated table, a view is created which performs a UNION of all the tables on all of the servers. In performing the UNION operation, each of the SQL Server 2000 computers performs part of the work to satisfy the query (e.g. applies the WHERE clause to data on its server) and sends the SQL Server to which the user is connected its portion of the data. That SQL Server then combines the results received from each of the servers in the federation and returns the result set to the user. From the user's perspective, everything came from the server she was connected to, but much of the work got parceled off. This is why SQL Server 2000 won the TPC-C benchmark mentioned earlier - many machines can work to satisfy the same query, thereby increasing the raw processing power available.

Platforms: The Oracle Edge
Aside from partitioning and architectural considerations, a technical consideration has to be the platforms that these products run on. SQL Server 2000 only works on Windows-based platforms, including Windows 2000, Windows 9x, Windows NT and Windows CE. Oracle 8i runs on Windows-based platforms as well as many Unix variants, including Solaris, HP-UX, AIX, and many flavors of Linux, plus others.

The question then becomes: Which platform do you trust your data on? Although Microsoft has made great strides in making the Windows platform more reliable with Windows 2000, there are far more Unix system administrators that can state with conviction that their systems have not had to be rebooted in months than Windows NT administrators making similar statements. In all fairness to Microsoft, Windows 2000 Datacenter Server is designed to make Windows more reliable by ensuring any vendor of that variation of Windows 2000 must guarantee a 99 percent up-time. Perhaps Windows 2000 will be a mission-critical platform after all.

An Oracle shop needed to purchase licenses for several thousand users. They asked Oracle for pricing on the licenses and were told that it would cost them several million dollars. Not only was SQL Server 2000 cheaper, the price quoted was less than 10 percent of what Oracle wanted to charge them.

However, like I said before, we can compare technical elements of each product for a very long time. Realistically, where SQL Server has an edge today Oracle will introduce new features in Oracle 9i and future releases later. Most organizations today really don't run very large databases so the key points on which SQL Server 2000 won the TPC-C benchmarks don't really matter to the vast majority of companies. The truth is, technical factors are only one part of the overall equation that would make a company choose one database product over another. Some of the key reasons for picking Oracle over SQL Server, and vice versa, are not technical at all - they are business issues.

It Always Comes Down to This...
In a recent SQL Server class that I was teaching, a student related to me the reason that his company decided to make the switch from Oracle to SQL Server 2000. Their decision was not technical at all, but something far easier to understand: price. He told me how his company, an Oracle shop for a rather long time, needed to purchase licenses for several thousand users to run their enterprise resource planning (ERP) and other applications that required a database back end. They asked Oracle for pricing on the licenses and were told that it would cost them several million dollars to acquire a sufficient number of licenses for the hardware they intended to run their Oracle databases on. After recovering from sticker shock, they wanted to get a second opinion and asked Microsoft for pricing on the same number of SQL Server 2000 licenses. Not only was SQL Server 2000 cheaper, the price quoted was less than 10 percent of what Oracle wanted to charge them. That was it: They made the switch right then and there. Assuming all the costs of conversion, their costs for SQL Server 2000 would be less than half of what comparable Oracle licenses would cost.

But price is only one consideration. Other factors that need to be considered are things such as training costs, current staff competencies, platform stability, applications to be used and many more. You should also not forget medium- and long-term strategic direction for your IT infrastructure, as well as general comfort with the product and the vendor. Basically, the things that often sway us to decide on a product are rarely technical, but rather the business and human factors in the decision.

So, should you switch to SQL Server 2000? That's something I can't answer for you. You'll need to make a list with the pros and cons of each product, and then choose. It will probably take longer to decide between SQL Server and Oracle than it takes to elect the President of the United States!

Have you gone down this road, or are you in the process of making a database decision? Send me an e-mail at and let me know what factors you used in your deliberations.


Damir Bersinic is an Infrastructure Consultant with Trecata Corporation, a systems integration consultancy in Toronto, Canada. He has more than 20 years of industry experience and has written a number of books on Oracle, Windows, SQL Server and Active Directory. His most recent book is "Portable DBA: SQL Server" from Osborne McGraw-Hill. He is also an Oracle Certified Professional (DBA), MCSE, MCDBA and MCT. He can be reached by e-mail at .

 


More articles by Damir Bersinic:

-- advertisement --


There are 183 CertCities.com user Comments for “A Decision More Difficult Than the Presidency ”
Page 1 of 19
12/26/00: Jose says: When writing about Data Partitioning I think the autor has forgotten the possibility of creating a database link in Oracle. Oracle allows database links for a long time, and you can connect databases, running on diferent machines and different plataforms, and exchange data in the way written in the article for SQL Server. If you don't like database links, you can use replication in two aways: synchronous or asynchronous. Comments welcome
12/26/00: Damir says: Jose, I did not forget about database links. However, they do not preovide the same functionality as a federated database in SQL Server 2000. The way the optimizer is tweaked and used in the SQL Server 2000 scenario is not something that Oracle is capable of today. I believe that it is something we might see in 9i. Thanks for your input.....Damir
1/10/01: Jim says: One of the biggest advantages of SQL Server 2000 not mentioned in the article is the tight integration with Active Directory, allowing for a single security database. I suspect that dual certification MCSE/MCDBA will become very popular once the SQL 2000 exams are released (70-028, 70-029). The savings in admin salaries could be substantial. The tight integration with the OS also makes high end features like failover clustering affordable for smaller companies. I suspect that Oracle and other Microsoft competitors like Novell have a lot to worry about.
1/26/01: Michael says: I think the only question to answer is: How critical is your data and what kind of up time does your organization require? If you need availablity you are going to choose UNIX and Oracle, regardless of the cost. Just like when you have cancer...you really dont give a damn what the doctor charges as long as your healed. On the other hand if you can handle running Windows as your OS and dont need the extra availabilty, flexibility and recoverabily Oracle provides definately go with SQL Server 2000 and save your money. Just keep in mind that SQL Server only runs on Windows and it has not had the time to prove its self in the real world. (Sorry Microsoft your Marketing machine is the best but it doesnt have a time machine) The only thing SQL Server 2000 has is some lab tests saying that its slices and dices, but lab tests are not always a good indicator of real performance. Read the white papers and see if the equipment matches your companies...I bet it doesnt even come close. Just remember, Oracle is expensive but you get what you pay for.
2/16/01: austin says: l want the past examination question paper.at present am studing oracle client&server application.am find bit,difficult to understand.lf there is way,you can email previous or pass question paper.because l want to take examine,to be certified.
3/9/01: James says: SQL Server is better from the technology perspective. Oracle is better for the resume.
3/16/01: Francois says: No one can beat a good open-source Database like PostgreSQL. lol! Only trying to make you laugh!
3/16/01: Winston says: Ever called Oracle for support??? What a bunch of no nothing techs. At the absolute least, Microsoft stands behind their work and will help you when you need it most. Oracle? Good Luck, maybe Mr. Ellison should go into BioTech and get out of the con game.
3/19/01: Jolanta says: I have two simple questions (not enough to put it to forum : SQL statements for: 1. Getting a list of all table_names available for current user. 2. List of all column names and column types for every table. Jola
3/20/01: Victor says: If anyone out there thinks that Oracle is more stable than SQL Server, their not particularly familiar with the term "core dump (by the way, I got some swamp land here in FL. to sell ya cheap)! The message in all of this is the mere fact that such a debate is possible, meaning that the technologies/benefits of each - with the advent of the upgrades to SQL Server - are now similar enough to even compare at all. This makes the argument of price that much more valid. Sun and Oracle WANT us to keep believing that we must pay thru the nose for their proprietary (Sun) hardware and db (Oracle) solutions. It just ain't so! You get OLAP, OLTP, data mining services, and distributed trx capabilitites out of the box with SQL Server; any additional ribustness from Oracle, and - you guessed it! - you'll pay thru the nose. Probably the primary benefit of the technology inherent in server federations is the implementation of "Shared-Nothing" clustering; Oracle still uses "Shared-Disk" clustering, which places the point of failure right on the shared resource. Using federations (thereby dispersing the data across servers) and "Shared-Nothing" increases the uptime and recovery considerably in SQL Server by spreading out the failure points.
First Page   Next Page   Last Page
Your comment about: “A Decision More Difficult Than the Presidency ”
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comment:
   

-- advertisement (story continued below) --

top