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

Thread: Transaction Logs

  1. #1
    Join Date
    Jan 2000
    Posts
    387

    Post

    Hi,

    I am wondering where to search for all the transactions being made by an application in the database. I have searched through v$sql and v$sqltext, but I dun get to see the sql that I have executed from the application. Any help please? Thanks!

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by mooks
    Hi,

    I am wondering where to search for all the transactions being made by an application in the database
    All transactions since WHEN?
    Probably your SQL statement has been already flushed out.

    Check FIRST_LOAD_TIME in v$sqlarea. Note: it is not in DATE format but VARCHAR2!


  3. #3
    Join Date
    Jan 2000
    Posts
    387
    I am looking for a particular transcation being made a couple of weeks ago. When I checked for all the transcations for that day, it was not available. The v$sqlarea actually stores the transaction from april till now..... so may I know what happened to those transaction logs that I need to look for? ?? Thanks!

  4. #4
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    The v$sqlarea actually stores the transaction from april till now.....
    Wow, what kind of a LRU algorithm are you using :-) How big is your shared pool?




  5. #5
    Join Date
    Jan 2000
    Posts
    387
    Hi,

    Actually the table size and shared pool size is not very big... so I am also wondering what happened to those transaction records.... could Oracle remove or overwritten it? The table has about 2k records only..... so what happened to the rest? Any ideas? 8)

  6. #6
    Join Date
    Jun 2000
    Location
    Madrid, Spain
    Posts
    7,447
    I am totally lost... what do you mean transaction records in v$sqlarea???

    Do you mean the sql statement? Oracle will flush it out if it´s not used as often as other sql statements

    What do you mean what happened to the rest... rest of SQL?

  7. #7
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    342
    You want to know which statements have been executed ?
    If so, that info is in the archive logs.

    You can use logminer to examine those files.

    Regards
    Gert

  8. #8
    Join Date
    Jan 2000
    Posts
    387
    Hi,

    I am sorry for causing all the confusion! :P Yes, I am looking for all the sql statement being executed for the past 1 week. If I do not have archiving, can I still view those records or have they been flushed out by Oracle? Many thanks!

  9. #9
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by mooks
    Hi,

    I am sorry for causing all the confusion! :P Yes, I am looking for all the sql statement being executed for the past 1 week. If I do not have archiving, can I still view those records or have they been flushed out by Oracle? Many thanks!
    Since you are not in archivelog mode (why not?), then if Oracle has flushed out the SQL statements, then you will not be able to find them. Logminer is a very good tool, put your system in archivelog mode, use 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