We have an Oracle 8i system running on NT. We are having problems with performance. Hence I would like to know whether it is possible to see which SQL statements have been issued or are active, and accordingly find out which one is causing the system to slow down.
Any built in packages or Views that can be queried??
You should look at SQL queries which result in hign buffergets, buffergets/executions and buffergets/record. Tuning these will give you a big boost in performance.
The views V$SQL and V$SQLAREA have the columns for buffer_gets, executions, rows_processed etc.
Sort your result on buffer_gets colums and select only the queries resulting in high buffergets. Also look for statements which are executed a few times but having high buffergets. You should tune these.
Bookmarks