How to check archive generation?

Hi,
lot of archives generating in my db.
how can i know which session is generating more archives? is there any sql for it?
please suggest me how to face these kind of issue?

Hi,
To find sessions generating lots of redo, you can use either of the following methods. Both methods examine the amount of undo generated. When a transaction generates undo, it will automatically generate redo as well.
The methods are:
1) Query V$SESS_IO. This view contains the column BLOCK_CHANGES which indicates how much blocks have been changed by the session. High values indicate a session generating lots of redo.
The query you can use is:
       SQL> SELECT s.sid, s.serial#, s.username, s.program,
         2  i.block_changes
         3  FROM v$session s, v$sess_io i
         4  WHERE s.sid = i.sid
         5  ORDER BY 5 desc, 1, 2, 3, 4;Run the query multiple times and examine the delta between each occurrence of BLOCK_CHANGES. Large deltas indicate high redo generation by the session.
2) Query V$TRANSACTION. These view contains information about the amount of undo blocks and undo records accessed by the transaction (as found in the USED_UBLK and USED_UREC columns).
The query you can use is:
      SQL> SELECT s.sid, s.serial#, s.username, s.program,
        2  t.used_ublk, t.used_urec
        3  FROM v$session s, v$transaction t
        4  WHERE s.taddr = t.addr
        5  ORDER BY 5 desc, 6 desc, 1, 2, 3, 4;Run the query multiple times and examine the delta between each occurrence of USED_UBLK and USED_UREC. Large deltas indicate high redo generation by the session.
You use the first query when you need to check for programs generating lots of redo when these programs activate more than one transaction. The latter query can be used to find out which particular transactions are generating redo
Regards,
Francisco Munoz Alvarez
www.oraclenz.com

Similar Messages

  • How to check Business Partner for archiving ?

    Hi friends,
    I want to check the BP for Archiving.
    So I am trying to set the Archiving Flag in BP Status Tab
    But the Archiving Falg Check box is never in Display Mode and so I am not able to check the BOx. What is the use of that box if it can't be accessed ? Any clues on how to check it ?
    Many thanks
    C.K.

    Hi,
    You can run DACONTROL transaction to set the deletion flag for business partner.
    -Thanks,
    Ajay

  • How to check the data of an archived table.

    I have archived a table created by me. I have executed the write program for the archiving object in SARA. Now how can check the data of my archived table.

    Hello Vinod,
    One thing to check in the customizing settings is your "Place File in Storage System" option.  If you have selected the option to Store before deleting, the archive file will not be available for selection within the delete job until the store job has completed successfully.
    As for where your archive file will be stored - there are a number of things to check.  The archive write job will place the archive file in whatever filesystem you have set up within the /nFILE transaction.  There is a logical file path (for example ARCHIVE_GLOBAL_PATH)where you "assign" the physical path (for example UNIX: /sapmnt/<SYSID>/archivefiles).  The logical path is associated with a logical file name (for example ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK).  This is the file name that is used within the customizing settings of the archive object.
    Then, the file will be stored using the content repository you defined within the customizing settings as well.  Depending on what you are using to store your files (IXOS, IBM Commonstore, SAP Content Server, that is where the file will be stored. 
    Hope this helps.
    Regards,
    Karin Tillotson

  • How to check generation?

    How to check generation information of iPod i have?
    Is there a tool? ...or is there any indication on my iPod?
    Regards,
    JoeBlk

    The iPod Updater website shows some information about iPod versions
    http://www.apple.com/ipod/download/
    This page can also help identify your iPod
    http://www.apple.com/support/ipod101/anatomy/5/

  • How to check  which column data differs from master table and archive table

    Hi All,
    i have two tables, table a (a1 number,a2 varchar2,a3 varchar2) and table b (b1 number,b2 varchar2,b3 varchar2).
    how to check the data in both the table are same( including all columns).
    data in a.a1 is same as b.b1 and a.a2 is same as b.b2 like that.
    if they not same , i need to know which field differs.
    Kindly Share ur ideas.

    887268 wrote:
    thanks Sven W. ,
    above reply clearly shows what my question is.
    one column must be primary key, based on that key i need to find out which are the fields having different data..
    im strugling with this, i tried the following already, but not able to get.
    select the columns from a MINUS select the columns from b.
    -- from this i can find whether the difference occurred or not.
    but i cant able to get which are the fields value changed.Good. Then you would match the rows using the PK column and need to compare the columns
    Instead of a MINUS + UNION ALL + MINUS we can now use a FULL OUTER JOIN
    It is a little task to write out all column names, but 40 columns can be handled.
    This statement would show you both tables with matching rows on the same line.
    select a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.idNow filter/check for mismatches
    select case when a.col1 != b.col1 then 'COL1 value changed'
                    when a.col2 != b.col2 then 'COL2 value changed'
                    when a.col3 != b.col3 then 'COL3 value changed'
             end as compare_result
            ,a.*, b.*
    from a
    FULL OUTER JOIN b on a.id = b.id
    /* return only non matching columns */
    where (a.col1,a.col2,a.col3) != (b.col1,b.col2,b.col3) You might need to add nvls to take care of null values. Test this!
    Another way could be to group upon the primary key
    select *
    from (
      select id 
               ,count(distinct col1)-1 cnt_col1
               ,count(distinct col2)-1 cnt_col2
               ,count(distinct col3)-1 cnt_col3
       from
         select 'A' source, a.*
         from a
         UNION ALL
         select 'B' source, b.*
         from b)
       group by ID
    /* only records with differences */
    where 1 in (cnt_col1, cnt_col2, cnt_col3)
    ;The count columns will hold either 1 or 0. If it is 1 then this column has a difference.

  • TS1382 how do I check what generation of ipod touch I have

    I'm trying to check what generation of ipod my son has.  It's an ipod touch but not sure whether it's a 3 or 4.  Please help.

    Append the last three characters of its serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    (101223)

  • How to check CPU support

    Wanting to upgrade with a new cpu or running into troubles after having already upgraded frequently the question comes up if the new cpu is supported by the board used.
    Before asking about that with a post you should for yourself by just going to your mainboard's product site at msi.com
    There just choose your board's category (AMD or Intel Platform) and click on your board's socket and choose your mainboard:
    Is your board already out of production and not mentioned you need to click Archive instead of Intel/AMD platform:
    In the following pop-up just enter the name of your board, click "search" and you will be directed to the archived product site:
    When you finally opened your board's product site click on "support" -> "cpu support" and all supported cpus will be listed as well as the bios version with which support for the cpu has been implemented
    Is your new cpu not listed there it is not officially supported which could result in all kinds of problems from just not recognising the cpu's name string to not booting at all. Buying an unsupported cpu is therefor a gamble and not recommended.
    If the new cpu is listed, you need to check if the bios installed on your board is supporting the cpu or you need to update. To figure out what bios version you have, >>use the MSI HQ Forum USB flasher<< if you want to upgrade a running system. After starting the MSI HQ Forum USB flasher it will automatically detect your board's current bios and save the details in a file on your desktop called MSIHQ_INFO.txt. There you can read up the exact bios version. Posting in a topic to get assistance you can quote this details to make it easier for others to help you
    If you have just the board you can look for a tiny green sticker on the bios chip that has the version of the original bios it came with printed on it.
    With new cpu generations coming up MSI usually creates microsites where you can lookup if your older board will support it.
    Currently Intel platform users are wondering if their socket 1155 boards are supporting Ivy Bridge while AMD users want to know if their boards support AM3+ cpus (FX) or Vishera (2nd Generation FX) or Richland if FM2 is used. To answer if support is implemented or planned the following microsites can be checked:
    >Socket 1155 supporting 22nm (Intel IVY BRIDGE)<   
    >AM3+ (AMD FX multicore processors) support<
    >Vishera (2nd gen AMD FX multicore processors) support<
    >FM2 Richland support<

    Simply check the product site for cpu support (like instructed in "How to check CPU support"): http://www.msi.com/support/mb/890GXMG65.html#support-cpu

  • How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?

    How can I "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight (and preferably visible, searchable, draggable in Mail App)?
    Background:
    I am using Mountain Lion and Mail App and running out of space on my small primary SSD drive (where I keep OS, apps, key user preferences/data and mail for speed). The mail data is the big variable (many GBs) and I want to "archive"/move some of the old mail to my 2nd drive inside the Mac. But I still want it searchable inside spotlight and preferably even inside Mail too. And I'd like to be able to still drag and drop old mails into this archive folder.
    What I've tried that seems to work:
    This seemed to work:
    1. Move the archive folder/mailbox to the 2nd drive/partition/folder (don't delete anything inside Mail App)
    2. Create a symbolic link from its new location to the original/old location
    This seems to work, it looks as "normal" and as if nothing happened inside Mail App but the folder now resides elsewhere and seems searchable etc. But I'm not sure that once caches refresh or over time with updates etc if stuff will break horribly or corrupt.
    Is that the right way to "archive" mails in Mail App to another internal drive/partition to save space but still have it searchable in spotlight and visible, searchable, draggable in Mail App?
    Thanks in advance!
    Cheers,
    Daniel

    I'm having a similar but slightly different problem. My company just migrated to Gmail, and it's saving mail drafts every 30 seconds into my Trash folder.
    I unchecked the "Show in IMAP" preference in the Gmail settings, but my Drafts folder completely disappeared. I went back and checked it and the folder reappeared (with my drafts still in there).
    I like the idea if starting an email on my laptop and having the option of finishing it on my iPhone or iPad, so only saving Drafts locally would not be ideal.

  • How to check for archivelog backup on a particular date or time?

    Dear All,
    We have RMAN full database, cumulative and archivelog backup(eg location: Diskgroup A) scheduled on a regular period basis. Assume archivelog location is Diskgroup B. The diskgroup B became full and unable to archive further, since no space. Unable to connect to database, connect internal only until freed error. alert log also shows that archiver error. So the solution for this to clear some space in diskgroup B by removing some old archive logs. In our environment, everyday the archive logs are stored in a separated folder arranged in date wise.  I can do that . But before clearing some space, i need to make sure that the folder( or any date folder what im going to delete) is backed up or not. How to check that? Any idea please?
    eg: i have archivelogs like this in folders
    01_11_2013/
    02_11_2013/
    03_11_2013/
    04_11_2013/
    05_11_2013/
    06_11_2013/
    If i want to remove the folder 01_11_2013/( and its contents ie archivelogs) , how to check whether the archivelogs in this folder 01_11_2013/ is backed up or not?
    Regards,

    Pradeepcmst wrote:
    Dear All,
    We have RMAN full database, cumulative and archivelog backup(eg location: Diskgroup A) scheduled on a regular period basis. Assume archivelog location is Diskgroup B. The diskgroup B became full and unable to archive further, since no space. Unable to connect to database, connect internal only until freed error. alert log also shows that archiver error. So the solution for this to clear some space in diskgroup B by removing some old archive logs. In our environment, everyday the archive logs are stored in a separated folder arranged in date wise.  I can do that . But before clearing some space, i need to make sure that the folder( or any date folder what im going to delete) is backed up or not. How to check that? Any idea please?
    eg: i have archivelogs like this in folders
    01_11_2013/
    02_11_2013/
    03_11_2013/
    04_11_2013/
    05_11_2013/
    06_11_2013/
    If i want to remove the folder 01_11_2013/( and its contents ie archivelogs) , how to check whether the archivelogs in this folder 01_11_2013/ is backed up or not?
    Regards,
    rman> list backup;
    Which begs the question .. why is the FRA getting filled in the first place?  Is it seriously undersized?  Are you not doing regular housekeeping with rman 'delete obsolete' and 'backup archivelog delete input'

  • How to check the user hits to the sites (most often,frequently used sites) in sharepoint 2010?

    HI,
    How to check the user hits to the sites (most often,frequently used sites) in sharepoint 2010?
    could you please help on the above?

    Hello Sudhir muvva,
    Just to be sure, the default Web Analytics reports don't meet your requirements?
    http://blogs.msdn.com/b/ecm/archive/2010/03/21/introducing-web-analytics-in-sharepoint-2010.aspx
    Does reports have subjects like top pages and number of page views.
    - Dennis | Netherlands | Blog |
    Twitter

  • How to check & unzip zip file using java

    Dear friends
    How to check & unzip zip file using java, I have some files which are pkzip or some other zip I want to find out the type of ZIp & then I want to unzip these files, pls guide me
    thanks

    How to check & unzip zip file using java, I have
    ve some files which are pkzip or some other zip I
    want to find out the type of ZIp & then I want to
    unzip these files, pls guide meWhat do you mean "other zip"? Either they're zip archives or not, there are no different types.

  • How to check, when the Maintenance Order was deleted

    Hello Experts,
                          Can you please tell me of how to check for the maintenance order that when it was deleted and who has deleted that.
    If any T-Code is there or at the Table level also to check the requirement.
    Regards,
    Yawar Khan

    If you want to track when you have put deletion flag, you can track it using above mentioned techniques.
    If you archived (deleted) permanently, then using archival history only, you can check I guess.
    Check these links. While deleting maintenance order, we can hisorical order with same number. Using that creation date, you can track.
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e6552462a11d189000000e8323d3a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/3e4d2f462a11d189000000e8323d3a/frameset.htm

  • Just started:  how to check installation?

    Hi all. I am a complete newbie in AS in the third generation. I 've just started with AS. Can't you tell me how to check that it's working?
    For example, when i create database i can check it by
    sqlplus / as sysdba
    select * from dual;

    Refer this:
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28940/getting.htm#i1014519

  • Excess archive generation after migration

    hi
    Am facing large size of archive generation after my migration to 11.2.0.1 from 10.2.0.1 in windows 32 bit.
    While I was using 10g my total archive size in a day was only 10GB. now after the migration its coming al most 50gb.
    Guys.. can anybody let me know what i need to do to reduce my archive generation?
    Am using the same application and queries as in 10g.

    Disconnect everyone from the database.
    Or learn how to read documentation and how to administer Oracle.
    Or read up on the differences between 11gR2 and 10gR2.
    Sybrand Bakker
    Senior Oracle DBA

  • How to Sync/archive the OBIEE catalog in linux

    Hi,
    How to Sync/archive the catalog in linux server.Kindly let me know.

    Since,we donot have Catalog Manager in Linux.We can unarchive and archive catalog from one instance to another instance.Login in analytics as "weblogic"
    1)Navigate to catalog->select on the folder(Which want to be archive)->right click->Select Archive->Save the Catalog and File will get stored in .Catalog format
    2)Another instance,Naviagte to catalog->Click on the shared Folder->Right Click->select Unarchive->Browse and select the catalog file saved from first instance.
    Then check the content get reflected in another instance.
    Hope your question is answered.if helps Mark

Maybe you are looking for