Archiving logs fill quickly... How to find the culprit?

Hi, all.

Oracle Dabase 10.2.0.5.0 on RHEL 5

I am followed by a PROD database where the archive logs fill up fast. Archive logs are generated every minute or so... Can you tell me how I can find the culprit and solve the problem... Thank you!

Use LOGMNR.

http://psoug.org/reference/dbms_logmnr.html

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14215/LogMiner.htm#SUTIL019

Go to these links.

In addition, check the size of your redo log files. Its can be sized less now.

# Redo size recommendation

What should be the size of redlog in OLTP environment such as banks? (10g)

Concerning
Asif Kabir

Tags: Database

Similar Questions

  • How to find the culprit?

    Hello

    EBS R12
    RHEL 4.6

    I was monitoring the performance of our EBS Linux server using 'top' command, and I got this monitor Display:
    top - 22:43:43 up 52 days,  1:57,  6 users,  load average: 0.99, 0.49, 0.30
    Tasks: 549 total,   2 running, 547 sleeping,   0 stopped,   0 zombie
    Cpu(s): 12.8% us,  0.5% sy,  0.0% ni, 86.5% id,  0.2% wa,  0.0% hi,  0.0% si
    Mem:   8309152k total,  8225644k used,    83508k free,     3752k buffers
    Swap: 10482308k total,  1993040k used,  8489268k free,  3575124k cached
    
      PID USER      PR  NI %CPU    TIME+  %MEM  VIRT  RES  SHR S COMMAND
    12778 oradev2   25   0  100   1:57.33  1.7 1165m 135m 101m R oracle
    14329 applprod  15   0    5   2:09.04  0.1 46300 7780 4204 S httpd
    12960 appldev   16   0    1   0:00.25  0.0  2620 1304  784 R top
    13945 oraprod   16   0    0   0:00.49  0.2 1119m  17m  15m S oracle
    15100 oraprod   16   0    0   0:05.16  0.9 1121m  69m  65m S oracle
        1 root      16   0    0   0:22.47  0.0  3504  508  432 S init
    I see that oradev2 has a very CPU usage, I am suspecting a program the sql inside it is :(
    How can I find the guilty program (Oracle level) that is hugging all the processors?


    Thank you very much

    Hello

    Try the following:

    SQL> select  s.sid, p.spid
    from v$session s, v$process p
    where s.paddr = p.addr
    and p.addr = '12778';
    
    SQL> select q.sql_text
    from v$session a, v$sql q
    where a.sql_address=q.address
    and a.sid=; 
    

    Kind regards
    Hussein

  • How to find the configuration state of REDO logs files?

    I'm trying to move the redo log files.
    Before that, I want to know if it is set as a duplex or any other configuration.

    How to find the REDO log configurations.

    Oracle 10g R2

    Thank you
    Smith

    Example:

    Not in duplex redo log - if the number of members is 1, it is not duplex:

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          1
             2          1
             3          1
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo01_2.log' to group 1;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo02_2.log' to group 2;
    
    Database altered.
    
    SQL> alter database add logfile member '/u01/app/oracle/oradata/db1/redo03_2.log' to group 3;
    
    Database altered.
    

    Duplex redolog

    SQL> select group#, members from v$log;
    
        GROUP#    MEMBERS
    ---------- ----------
             1          2
             2          2
             3          2
    
    SQL> select group#, member from v$logfile;
    
        GROUP# MEMBER
    ---------- --------------------------------------------------
             1 /u01/app/oracle/oradata/db1/redo01.log
             2 /u01/app/oracle/oradata/db1/redo02.log
             3 /u01/app/oracle/oradata/db1/redo03.log
             1 /u01/app/oracle/oradata/db1/redo01_2.log
             2 /u01/app/oracle/oradata/db1/redo02_2.log
             3 /u01/app/oracle/oradata/db1/redo03_2.log
    
  • Archive log deletion with no backup of the archive logs

    I suffer from enormous size archive of the newspaper. In my previous post, I asked for help. I almost 480 GB archive log every day in our database of 11 2 under redhat linux 5.8 GR. Now, if you please help me in another case.

    If I take backup of archive logs and run delete archivelog everything until ' sysdate-1' with each backup database of day how it affects. " In my opinion there should be no problem in that I have the last incremental backup and recovery 1 days archive log in archivelog destination. If I do not archive log backups to how it will be different. Help, please.

    >

    Hello

    Sir, I know how to remove. But in my opinion delete up to sysdate-1 and taking no backup of the Archives of newspapers will
    no effect. Is in my opinion is right or wrong, that is the question.

    What I read in your original post, is that you take a daily incremental backup - Yes? I'm assuming that you also take
    a full backup on a regular basis (Sunday?).

    I was working on the assumption that the foregoing is available? I worked on a project where installation has been similar. We
    tested regularly backups - I hope that you do the same thing?

    What we used to do was FTP (script Unix - cron job - if you Google you will find Python or Perl to do the same thing - that is)
    what I wanted to, but was cancelled - very 1980, anyway) the archived redo logs on to a specific computer that holds only these files.
    After FTP "d - they have been removed from the server, freeing up space.

    Now, you say you have TB 0.5 per day - while more than a week, you will need a machine with ~ 3 TB of disk - if you can get a kind
    the scenario as this place and running, then you will have both your incremental backup and your archived redo logs for the last
    24 hours and the full backup with recovery archived records dating back to this full backup. You can also always archive on tape if
    suits. So, you will have redundant coverage - 'belt and braces' as the Americans say.

    But, to answer your question directly, "take no backup of archive logs have no effect" - that is true - it
    will not affect the operation of the database server, but if I were you, I would hang on to enough archived redo log to return to the
    last backup. That's just my humble OPINION.

    HTH,

    Paul...

    Published by: Paulie July 21, 2012 19:28

  • How to find the password for my Motorola Wireless?

    How to find the password for my Motorola Wireless?

    How to connect another computer to the Motorola Wireless?

    ... and now my computer won't connect to the wireless...

    Now would be a good time to use the instructions of the Setup Guide quick Motorola SBG940.

    ... I think I'll call my cable provider then!

    It may be better to talk to someone on the phone instead of trying to communicate via typed messages repeated as some of the information in the previous messages typed always seem to be lost in translation.
  • How to find the serial number adobe Installation section

    How to find the serial number adobe Installation section

    Creative cloud does not use a serial number and creative cloud subscribers for not having any serial number associated with their programs.  Creative cloud subscribers use their adobe ID to activate their programs.

    Download and install the desktop creative cloud application (after signing with your adobe - the same as that used to pay for your creative cloud subscription ID), https://creative.adobe.com/products/creative-cloud

    Open the office application (a shortcut will be on your desktop) > click applications, and then select the programs you want to install.

    the desktop application gives you access to the cs6, cc, cc 2014 and cc 2015 apps.  and probably more in the future.

    If you already have the cc desktop application and you need to update your adobe id, log out and then back to your client application using the adobe id to pay for your subscription in cc: http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

  • How to find the age of a child and snapshot number snapshot for a virtual machine.

    Hi all

    How to find the age of a snapshot for a virtual machine child count and snapshot.

    This code snippet should help... Assuming that you have the following entries:

    VM (VC:VirtualMachine)

    snapshot (VC:VirtualMachineSnapshot)

    System.log("====== Snapshot details for VM: "+snapshot.config.name+" ======");
    var snapshotTrees = vm.snapshot.rootSnapshotList;
    System.log("Snapshot Tree Count: "+snapshotTrees.length);
    for each (snapshotTree in snapshotTrees){
        showSnapshotInfo(snapshotTree, snapshot);
    }
    
    function showSnapshotInfo(snapshotTree, selectedSnapshot){
        if(selectedSnapshot == snapshotTree.snapshot){
            System.log("====================");
            System.log("Name: "+snapshotTree.name);
            System.log("Id: "+snapshotTree.id);
            System.log("Description: "+snapshotTree.description);
            System.log("createTime: "+snapshotTree.createTime);
            System.log("quiesced: "+snapshotTree.quiesced);
            System.log("replaySupported: "+snapshotTree.replaySupported);
            System.log("backupManifest: "+snapshotTree.backupManifest);
            System.log("snapshot id: "+snapshotTree.snapshot.id);
            System.log("state: "+snapshotTree.state.value);
            var childSnapshotList = snapshotTree.childSnapshotList;
            if(childSnapshotList != null){
                System.log("childSnapshotList length: "+snapshotTree.childSnapshotList.length);
            }
            System.log("");
        }
        if(snapshotTree.childSnapshotList != null){
            System.log("Children found: "+snapshotTree.childSnapshotList.length);
            for each (childSnapshotTree in snapshotTree.childSnapshotList){
                showSnapshotInfo(childSnapshotTree, selectedSnapshot);
            }
        }
    }
    

    During the passage of one of my virtual machines, here is an example of output I get:

    [2014-06-12 15:19:21.493] [I] Snapshot Tree Count: 1
    [2014-06-12 15:19:21.493] [I] ====================
    [2014-06-12 15:19:21.494] [I] Name: before upgrade to 5.0.1
    [2014-06-12 15:19:21.494] [I] Id: 31
    [2014-06-12 15:19:21.494] [I] Description:
    [2014-06-12 15:19:21.495] [I] createTime: Mon Mar 19 2012 13:48:57 GMT-0400 (EDT)
    [2014-06-12 15:19:21.495] [I] quiesced: false
    [2014-06-12 15:19:21.495] [I] replaySupported: null
    [2014-06-12 15:19:21.495] [I] backupManifest: null
    [2014-06-12 15:19:21.496] [I] snapshot id: snapshot-83
    [2014-06-12 15:19:21.496] [I] state: poweredOff
    [2014-06-12 15:19:21.496] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.496] [I]
    [2014-06-12 15:19:21.497] [I] ====================
    [2014-06-12 15:19:21.497] [I] Name: Before 5.1 upgrade
    [2014-06-12 15:19:21.497] [I] Id: 36
    [2014-06-12 15:19:21.497] [I] Description:
    [2014-06-12 15:19:21.498] [I] createTime: Fri Sep 21 2012 21:59:58 GMT-0400 (EDT)
    [2014-06-12 15:19:21.498] [I] quiesced: false
    [2014-06-12 15:19:21.498] [I] replaySupported: null
    [2014-06-12 15:19:21.498] [I] backupManifest: null
    [2014-06-12 15:19:21.499] [I] snapshot id: snapshot-84
    [2014-06-12 15:19:21.499] [I] state: poweredOff
    [2014-06-12 15:19:21.499] [I] childSnapshotList length: 1
    [2014-06-12 15:19:21.499] [I]
    [2014-06-12 15:19:21.500] [I] ====================
    [2014-06-12 15:19:21.500] [I] Name: Before Named Instance
    [2014-06-12 15:19:21.500] [I] Id: 37
    [2014-06-12 15:19:21.501] [I] Description:
    [2014-06-12 15:19:21.501] [I] createTime: Mon Nov 11 2013 13:40:46 GMT-0500 (EST)
    [2014-06-12 15:19:21.501] [I] quiesced: false
    [2014-06-12 15:19:21.501] [I] replaySupported: null
    [2014-06-12 15:19:21.502] [I] backupManifest: null
    [2014-06-12 15:19:21.502] [I] snapshot id: snapshot-236
    [2014-06-12 15:19:21.502] [I] state: poweredOff
    [2014-06-12 15:19:21.502] [I]
    
  • How to find the track of the script of the Controlfile Correct .trc file in /bdump

    Hi guys

    It's more childish requests in this forum...


    I want to know how to find the correct trace file when we question change database trace at sqlprompt to create controlfile script backup controlfile.

    As I find it a little confusing to go through the same day & .trc files almost even among hundreds of trace file in the directory /bdump to find the right one.

    If we find the alert log file in /bdump directory $ ls-al l * & get us the log file alert... If there's a similar way to find the Trace of controlfile script file?



    Thanks and greetings
    MZ

    Hi MZ;

    1. as mentioned here to use a BACKUP CONTROLFILE to TRACE AS syntax and give the name and the path that you want to
    2. check the alert.log
    3. check under bdump using the command ls - lrt

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • How to find the last pasted paragraphs FMP?

    I'm sticking FMP several objects at once in a file (a file of changes to the sections containing the changebars) in the main text flow. I want a separator line to go at the end of each pasted section, so I try to insert one after the paste operation. But instead of a line between each section, all lines are added at the end of the file, after all the sections. So if there are 3 glued sections at the end of the file are three lines. My code is below, do you know how I could fix this?

    Thank you, Mark

    function copyPasteChanges (doc, chgRange) {}

    Select the section with changebar and copy it.

    doc. TextSelection = chgRange;

    doc. Copy();

    Prepare for the changes doc and paste there the modified section.

    var firstChgPgf = changesDoc.MainFlowInDoc.FirstTextFrameInFlow.LastPgf;

    var changesTloc = new TextLoc (firstChgPgf, Constants.FV_OBJ_END_OFFSET);

    var changesTRange = new TextRange (changesTloc, changesTloc);

    changesDoc.TextSelection = changesTRange;

    changesDoc.Paste ();

    To go at the end of the file again (I think)

    var lastPgf = changesDoc.MainFlowInDoc.FirstTextFrameInFlow.LastPgf;

    var dividerPgf = changesDoc.NewSeriesPgf (lastPgf);

    var TLoc = new TextLoc (dividerPgf, 0);

    changesDoc.AddText (TLoc, '_');

    }

    Hi Mark,

    The problem is that the dough does not occur when you think. The dividing line is added at the end of the file, but are not your actions of dough. Actually, I think that maybe a little random where pasta is produced, because this line:

    var changesTloc = new TextLoc (firstChgPgf, Constants.FV_OBJ_END_OFFSET);

    .. .is does not create a valid text location. You can check this by abandoning the service after:

    changesDoc.TextSelection = changesTRange;

    .. and look at where's the insertion point. It will probably be everywhere where you left it last, because the call is not valid. I can't tell you exactly why, except that it has something to do with the fact that you are using the last paragraph in the stream. There is something weird to try to define a range of full-paragraph text with the last paragraph. I'm sure it's related to how the last TFP in a stream does not show a mark of FMP, but beyond that, I don't know how to do what you're trying to do with the last paragraph.

    Having no knowledge of how do it right, any time I need to do this, I create a paragraph "dummy" at the end of the flow to fill that space strange 'last FMP", then do the work around it. In the end, I just want to remove fake TFP. I don't know if it's a good idea or not, but it's the only way I ever get it to work and it sorts the mirror how you could do this manually in the GUI.

    With this, I modified your script as follows, and it seems to work better. Note that I also modified the logic of how to find the last paragraph of the flow by writing a separate function. Your call to the 'FirstTextFrameInFlow' is OK, unless your doc begins to span several pages and/or begins with several empty pages. The function I wrote ensures that you really the last TFP in the stream.

    I hope this helps.

    Russ

    function copyPasteChanges (doc, chgRange) {}

    Select the section with changebar and copy it.

    doc. TextSelection = chgRange;

    doc. Copy();

    Prepare for the changes doc and paste there the modified section.

    var lastPgf = getLastPgf (changesDoc);

    var dummyPgf = changesDoc.NewSeriesPgf (lastPgf);

    var changesTloc = new TextLoc (dummyPgf, 0);

    var changesTRange = new TextRange (changesTloc, changesTloc);

    changesDoc.TextSelection = changesTRange;

    changesDoc.Paste ();

    To go at the end of the file again (I think)

    Don't forget that last TFP is now fake TFP

    lastPgf = getLastPgf (changesDoc);

    var dividerPgf = changesDoc.NewSeriesPgf (lastPgf.PrevPgfInFlow);

    var TLoc = new TextLoc (dividerPgf, 0);

    changesDoc.AddText (TLoc, '_');

    dummyPgf.Delete ();

    }

    function getLastPgf (doc)

    {

    textFrame var is doc. MainFlowInDoc.LastTextFrameInFlow;

    var lastPgf = textFrame.LastPgf;

    While (! lastPgf.ObjectValid () & textFrame.ObjectValid ())

    {

    textFrame = textFrame.PrevTextFrameInFlow;

    lastPgf = textFrame.LastPgf;

    }

    Return lastPgf;

    }

  • After deployment got "404 Not Found".  How to find the correct URL?

    For the experienced:

    Preparing to deploy my application, I use JDeveloper 10.1.3.4 to deploy the application on the server standalone oc4j included in JDeveloper. After deployment, I get the error "404 Not Found" when trying to invoke the application in a browser. The deployment seems OK, because the log in JDeveloper window showed no error executing deployment from inside JDeveloper. So I guess the question is how to find the correct URL to invoke the application. Here are the steps I took to make the deployment.

    First, I installed the standalone oc4j by running the .bat < jdev_home > \jdev\bin\start_oc4j file. Installation is OK because I have deployed the application SRTutorial and invoked successfully in a browser.

    The WAR file has been created by right-clicking on the ViewController project and select this option to create a WAR file. At the root of the application its own name, I typed "ZB" in the area of the root of context.

    Then in ViewController-> resources, right_click the deployment file (ZBOV.deploy) and chose ' deploy to "the local_standalone_oc4j. Messages in the Journal of JDeveloper window for deployment are all nice and clean without errors.

    I then used this url to invoke the application deployed in a browser:

    http://localhost:8888/ZB/faces/staff/login.JSPX

    But I got an error "404 Not Found". Immediately, I tried citing the application of SRTutorial, and it works fine.

    Login.JSPX is one of the pages of the application. In the browser of the application, it is with other files in the content of ViewController/Web/personal folder, so I used /staff/login.jspx after ZB/faces.

    What could be wrong? If the deployment is really successful, how to find the correct url to invoke the application?

    Thanks a lot for your help!


    Newman

    Hello

    According to me, there are 2 possibilities (could be more that I'm not aware of if :)).

    1. your deployment profile has been changed to use a different context root.
    2. your request has not been installed correctly.

    To 1, try to create a new deployment profile and leave the values by default as it is the case, run the jspx page, get the root context, deploy the application to a different OC4J instance (using the new deployment profile), and then run the application with the context root, that you received from the embedded OC4J.

    For 2, check the log file and see if you had any error / exception.

    HTH.

    Arun-

  • How to find the key

    Is there a quick way to find the key of a song or instrumental that has been imported to the logic?

    No, you need a little music for this. I guess you could find it difficult to play with a keyboard and hear/guess the agreements/key?

    Here would be my suggestion for a workaround - if it is an entire song, as you indicate in your question:

    -To get agreements on a Web site

    -See if you can find the original version of keys (that would be easy, right?)

    - Then play these chords along your song imported. If they sound not right, transpose your up and down by steps MIDI track until it sounds right. -> Get your agreements and the key.

    If your song doesn't have agreements to seek, find parts of the song where you lift clear of bass notes (not too much battery), EQ everything, taking Tuner in pop in the track and see if you can pick up the dominant notes. That should lead you to your key of song.

  • says that there is an update of firmware available for my 3 t time capsule. I get "an error occurred when downloading". How to find the problem?

    I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3

    Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.

  • How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    As far as I KNOW, the serial number of the MacBook does not have the serial number of the processor.

  • I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    Have you tried to reset it in security issues? If you are not able to do so, contact Apple support so a security identifier Apple Advisor can help you. 800-275-2273.

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

Maybe you are looking for