Q
Problem solve Get help with specific problems with your technologies, process and projects.

Test server much slower than production server

We have a new server, similar to our production server. The databases are exactly the same, as a matter of fact, the databases are using the same init.ora file (different DB names though in Oracle v7.3.4 on Sun 5.6). When I do a create table as select from Y on production, it takes 5 minutes, whereas on test it takes 20 minutes. Also, when I create an index on the production table, it takes 5 minutes, on test server takes 20+ minutes. Our systems admin folks says that from the O/S point of view, everything is fine. So my question is what could it be about Oracle that maks it so much slower on test compared to production. Also, we ARE NOT USING CBO, we are using rule based optimizer.

If you ask the SysAdmins, everything is always fine!! Same story with the network guys as well. It always seems to be the database's fault.

What you need to do is figure out where the bottleneck is on your second server. Oracle provides the V$SESSION_EVENT and V$SESSION_WAIT views to determine exactly where the bottleneck lies in your session. Luckily, your production server can provide a baseline for determine what good performance should be. Run a process in production (like creating an index). Query V$SESSION_EVENT to see all of the wait events for that process. Do the same thing on your second server. The difference in V$SESSION_EVENT will show you where your bottleneck is on the second server! Each wait event is described in the Oracle 8i Reference Guide. Once you know what the process is waiting on, you will know what to tune.

For More Information


Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close