DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: SQL Tracing problems

  1. #1
    Join Date
    May 2002
    Posts
    7
    I have trouble understanding/using SQL Analyze and SQL Trace in Oracle 9, 8 Enterprise Manager.

    It doesn't seem to want to display the SQL that I am running in SQL*PLUS. I have seen it occasionally in SQL Analyze for Oracle 9.

    Is there some good explanation or experience anyone has to offer on using tools for tracing SQL? I'm not even interested in performance tuning yet, just seeing the SQL being sent to a database by connected applications.


  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Check v$sqlarea for SQL that is executing.
    Jeff Hunter

  3. #3
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    use TOP Sessions in performance pack and see if you can track the SQL statements

  4. #4
    Join Date
    May 2002
    Posts
    7

    Partial success

    In Oracle 9, SQL Analyze has started to show some SQL (after using update menu). Unfortunately, it can't sort it chronologically, which seems like an unfortunate omission for debugging.

    In Oracle 8, I can't get SQL Logging to put anything in the window (from the Enterprise Manager | Navigator | View SQL Logging menu).

    I will experiment with "oracle_trace_enable = true" in the init.ora file, but I'm not sure it is relevant.

    Has anybody gotten this to work or do anything?

    Thanks,

    -Randy

  5. #5
    Join Date
    May 2002
    Posts
    7

    Top Sessions Performance Pack

    How do I access the Top Sessions in Performance Pack?


  6. #6
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    I make a pardon, that is in Diagnostics Pack

  7. #7
    Join Date
    Jun 2001
    Location
    Dublin, Ireland
    Posts
    66
    I have been using a great application called TOAD. I recommend it highly. You can get a free/trial version with restricted functionality from http://www.quest.com
    You need the DBA Module to achieve what you require.
    For example you can check what sql any user is running on your database and get an instant explain plan for it.
    It really is a great tool ( saves me so much time! )so I dont mind giving free advertising for it.

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