We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


Oracle 8i tuning

silviall asked
Medium Priority
Last Modified: 2013-12-19
I've a Windows 2000 server, with 2GB ram, RAID 5,... 2 CPU and a program 16 bit that is connected to Oracle 8.1.7 database. The program runs very slow. Could I do any tuning to Oracle 8i?
Watch Question

Guy Hengel [angelIII / a3]Billing Engineer
Most Valuable Expert 2014
Top Expert 2009

you need to check the queries that you run that take time, and tune them.
get the explain plan of those, and see if there are full table scans for example...
you have different ways to identify bad queries :

- add an "alter session set  sql_trace true;" to put the session in trace mode,  then, after the end of the oracle session, run, on the server side, the oracle command "tkprof " , located in the ORACLE_HOME/bin folder.
tkprof will create a text file with all sql statements executed during the session, with some metrics.

- the other way is to select the system view V$SQLAREA, sorted by buffer_gets (desc).

once you have the query, use the "explain plan" command to get the explain plan used.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.