It is very difficult to make a performance comparison between SQL Server 2000 and Oracle 9i Database. The performance of your databases depend rather on the experience of the database developers and database administrator, than on the database's provider. You can use both of these RDBMS to build stable and efficient systems. It is possible to define the typical transactions, such as those used in inventory control systems, airline reservation systems and banking systems. After defining these typical transactions, it is possible to run them under different database management systems working on the different hardware and software platforms.
The Transaction Processing Performance Council (TPC.Org) is an independent organization that specifies the typical transactions (transactions used in inventory control systems, airline reservation systems and banking systems) and some general rules these transactions should satisfy.
The TPC produces benchmarks that measure transaction processing and database performance in terms of how many transactions a given system and database can perform per unit of time, e.g., transactions per second or transactions per minute.
The TPC organization made the specification for many tests. There are TPC-C, TPC-H, TPC-R, TPC-W and some old tests, such as TPC-A, TPC-B and TPC-D. The most popular test is the TPC-C test (OLTP test).
At the moment this article was written, SQL Server 2000 held the top TPC-C by performance results with Distributed Partitioned Views-based cluster systems. See Top Ten TPC-C by Performance Version 5 Results
At the moment this article was written, SQL Server 2000 held the top TPC-C by price/performance results. See Top Ten TPC-C by Price/Performance Version 5 Results
Note. Because most organizations really do not run very large databases, the key points on which SQL Server 2000 won the TPC-C benchmarks do not really matter to the vast majority of companies.
One of the main Microsoft SQL Server 2000 advantages in comparison with Oracle 9i Database is that SQL Server is cheaper. Another SQL Server advantage is that Microsoft includes the Online analytical processing (OLAP) and Data Mining as standard features in SQL Server 2000 Enterprise Edition. So, you can save up to four times with SQL Server 2000 Enterprise Edition if you use OLAP and Data Mining.
The price comparisons below were based on the Oracle and SQL Server 2000 Price Comparison article from Microsoft.
Compare pricing for SQL Server 2000 Standard Edition and Oracle9i Standard Edition:
|Number of CPUs||Oracle9i Standard Edition||SQL Server 2000 Standard Edition|
Compare pricing for SQL Server 2000 Enterprise Edition (which include OLAP and Data Mining) and Oracle9i Enterprise Edition with OLAP and/or Data Mining:
|Number of CPUs||Oracle9i Enterprise Edition||Oracle9i Enterprise Edition with OLAP or Data Mining||Oracle9i Enterprise Edition With OLAP and Data Mining||SQL Server 2000 Enterprise Edition|
Note. This is not a full price comparison between SQL Server 2000 and Oracle 9i Database. It is only a brief comparison. You can have any discounts and the prices can be increased or decreased in the future. See Microsoft and Oracle to get more information about the price of their products.
Both SQL Server 2000 and Oracle 9i Database support the ANSI SQL-92 entry level and do not support the ANSI SQL-92 intermediate level. In the Features comparison section of this article, I want to make a brief comparison of the Transact-SQL with PL/SQL and show some SQL Server 2000 and Oracle 9i Database limits.
The dialect of SQL supported by Microsoft SQL Server 2000 is called Transact-SQL (T-SQL). The dialect of SQL supported by Oracle 9i Database is called PL/SQL. PL/SQL is a more powerful language than T-SQL. This is the brief comparison of PL/SQL and T-SQL:
INSTEAD OF triggers
INSTEAD OF triggers
Here you can find some SQL Server 2000 and Oracle 9i Database limits:
|Feature||SQL Server 2000||Oracle 9i Database|
|database name length||128||8|
|column name length||128||30|
|index name length||128||30|
|table name length||128||30|
|view name length||128||30|
|stored procedure name length||128||30|
|max columns per index||16||32|
|max char() size||8000||2000|
|max varchar() size||8000||4000|
|max columns per table||1024||1000|
|max table row length||8036||255000|
|max query size||16777216||16777216|
|constant string size in SELECT||16777207||4000|
|constant string size in WHERE||8000||4000|
It is not true that SQL Server 2000 is better than Oracle 9i or vice versa. Both products can be used to build stable and efficient system and the stability and effectiveness of your applications and databases depend rather on the experience of the database developers and database administrator than on the database's provider. But SQL Server 2000 has some advantages in comparison with Oracle 9i and vice versa.
The SQL Server 2000 advantages:
- SQL Server 2000 is cheaper to buy than Oracle 9i Database.
- SQL Server 2000 holds the top TPC-C performance and price/performance results.
- SQL Server 2000 is generally accepted as easier to install, use and manage.
The Oracle 9i Database advantages:
- Oracle 9i Database supports all known platforms, not only the Windows-based platforms.
- PL/SQL is more powerful language than T-SQL.
- More fine-tuning to the configuration can be done via start-up parameters.
- SQL Server 2000 Books Online
- Oracle documentation
- Oracle and SQL Server 2000 Price Comparison
- Why is SQL Server better/worse than Oracle?
- Top Ten TPC-C by Performance Version 5 Results
- Top Ten TPC-C by Price/Performance Version 5 Results