Performance problems
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Performance problems

Hybrid View

  1. #1
    Join Date
    Jan 2000
    Location
    Manama, Bahrain
    Posts
    50
    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

  2. #2
    Join Date
    Sep 2000
    Location
    Calcutta / Ahmedabad, India
    Posts
    137
    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

  3. #3
    Join Date
    Jan 2001
    Posts
    126
    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

  4. #4
    Join Date
    Jan 2000
    Location
    Manama, Bahrain
    Posts
    50
    thanks for the reply!

    how do i see the buffer/gets or buffer/executions?

    Lynn

  5. #5
    Join Date
    Jan 2001
    Posts
    126
    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
  •  



Click Here to Expand Forum to Full Width