-
Hi!!
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??
Thanks
Lynn
-
you can query the V$SQL view and select the SQL_TEXT,FIRST_LOAD_TIME,MODULE.
ordering the query by FIRST_LOAD_TIME DESC will give you the list of queries which were last submitted
Suvashish
-
Hi,
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.
Baliga
-
thanks for the reply!
how do i see the buffer/gets or buffer/executions?
Lynn
-
Hi,
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.
Baliga
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|