Size of the log file

Hi all

9i

RHEL5

I want to add files standby redo log of my primary db and standby with a size of the online redo logs.

Is there a table where I can query the size of my redo log files?

I tried in v$ logfile, but does not

Capture.PNG

Thank you very much

JC

Select Group #, bytes/1024/1024 of the newspaper of v$.

more information for the 9i database to

Manage the Redo Log online

Tags: Database

Similar Questions

  • Size of the log file Archive

    Redlogfile size is 16 MB and generating the archivelog file size is approximately 10 Mb. what could be the reason?

    Oracle Version: 10.2.0.4

    OS: Windows

    Published by: Deccan charger 19 April 2010 23:31

    First of all:

    a redo log contains a lot of things necessary for instance etc. recovery an archived log is used only for the restorations - he didn't need all the stuff that is in a redo log, so when written CRA the archiving log that he does not write all knowledge, all that is required for restores

    Second:

    Archive logs is created with dimensions smaller, irregular, as the original redo logs. Why? [388627.1 ID]

    --------------------------------------------------------------------------------

    Last updated 2 June 2007 Type status MODERATE HOWTO

    In this Document
    Goal
    Solution
    References

    --------------------------------------------------------------------------------

    This document is available to you through process of rapid visibility (RaV) of the Oracle's Support and therefore was not subject to an independent technical review.

    Applies to:
    Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.1
    Information in this document applies to any platform.

    Goal
    Archive logs is created with dimensions smaller, irregular, as the original redo logs.
    Commands like:
    ALTER SYSTEM SWITCH LOGFILE
    or
    ALTER SYSTEM ARCHIVE LOG...
    are not used to generate archives or change the log file. Thus, there is no parameter ARCHIVE_LAG_TARGET set.
    What else could cause this behaviour?
    Solution
    From:
    Bug: 5450861: NEWSPAPERS ARCHIVE IS GENERATED with one SIZE SMALLER THAN THE REDO LOG FILES
    the explanation of this situation has 2 main reasons:
    1 archiving logs do not have to be in the same size. This was decided very long ago, when blank padding archiving logs stopped for a very good reason - in order to save disk space.

    2. the log command does not exist when a redo log file is 100% full. There is an internal algorithm that determines when to switch journal. It also has a very good reason - do the command of newspaper at the last moment may incur performance problems (for various reasons, outside the scope of this note).
    So, after that newspaper ordering occurs the archivers are only copying the information from the redo log files. As recovery logs are not 100% full after the command to log and archive logs are empty not filled after the copy operation is complete, this results in unequal files smaller than the original of redo log files.
    This is very apparent for very low (less than 10 MB) log files; as a result, produced 2.5 MB archive logs of 5 MB recovery logs are very visible.
    Just note that currently, the default log files are 100 MB in size. If the archives log files would be between 98 and 100 MB person would notice.
    The main concern that one must have for newspapers of archives files is a possible corruption. This can be easily verified by attempting a resumption of testing. When it's ok, the size of the log archive uneven should be of no interest, as is expected.

  • RESTORE the size of the log file with JEREMIAH and without JEREMIAH

    According to the architecture of replication vsphere regardless of the changed block information that is sent by the vsphere replication agent are captured by vsphere ReplicationServer in the form of recovery logs and once all the blocks are captured and then redo logs gets has collapsed, but in JEREMIAH, they are now there. My query is now what is the size of the logs of recovery in both cases with JEREMIAH and JEREMIAH.

    It depends on the size of your virtual machines, their rate of change, you want to keep, how many points in time how far out, etc. There is no formula for what there are too many variables.

    If you want to have an idea, take an average VM for your environment (rate of change, size, etc.), set the JEREMIAH where you want, run it to the period (for example. If you 6 points per day for 4 days, you will have to wait 4 days) and see what size all snapshots are on the recovering site.

    Does that answer your question?

  • How to minimize the log files in CS?

    Hi all

    We have the database logs, archive logs and logs the content server that is stored on the disk. Y at - there any configuration setting that we can do to minimize the number of files that can be stored.

    Also, is there a configuration that allows you to set different absolute paths for these logs files? As well as the folder / space management becomes easier.

    Hello Mohan,

    These are the configuration variables that control the size of the log file, the directory and the number of newspapers to keep:

    TraceDirectory entered configuration defines which directory you want the tracking logs files to write to.

    TraceDirectory =

    The configuration entry TraceFileSizeLimit sets the size of each log file.  The default value for this setting is 1048576, which is equivalent to 1 megabyte.

    TraceFileSizeLimit = 10000000

    The configuration entry TraceFileCountLimit sets the number of log files that are in the rotation.  The default value for this parameter is 10.

    TraceFileCountLimit =

    Events tracing output can be controlled with a setting similar to the use of a single for the track directory.

    EventDirectory =

    Thank you

    Srinath

  • increase the size of the archivelog file

    Hello

    11.2.0.2 on BSG...

    3 groups of newspaper with 1 member of each.

    db_recovery_file_deststring/ oracle/oraarch

    In order to increase the size of the log file, if I use ALTER DATABASE ADD LOGFILE GROUP 1 SIZE 300 M; but he creates the Log group with 2 members. One is to oraarch location/oracle/and the other to/oracle/oradata (db_create_file_dest). We use ORACLE MANAGED FILE SYSEM.

    I want only 1 member/oracle/oraarch (to keep the setting previous intact.. .just by increasing the size of 100 to 300M).

    If I manually give the path where to create the military log file, I get this error:

    ALTER DATABASE ADD LOGFILE GROUP 1 ' / oracle/oraarch/DB/onlinelog /' SIZE 300 M;

    ALTER DATABASE ADD LOGFILE GROUP 1 ' / oracle/oraarch/DB/onlinelog /' HEIGHT 300 M

    *

    ERROR on line 1:

    ORA-00301: Error adding the log file ' / oracle/oraarch/DB/onlinelog /'-could not create the file

    ORA-27038: created file already exists

    Additional information: 1

    Please suggest.

    Thank you very much.

    Best regards

    @DK2010  

    @AbuFazalMdAbbas




    Thank you very much.

    I fixed it.

    ALTER system set db_create_file_dest = ";

    change the database plus the size of the logfile Group 1 300 m;

    In this way the system will only find the path of/oracle/oraarch and therefore will create only 1 member of journal.


    Best regards


  • How to resize the log files pending? or it is synchronized from primary?

    I changed the size of the log file primary db to 50 m to 200 m.

    I wonder if I should do it on the backup site?

    I tried, and it doesn't seem to work on the backup site:

    SQL > select group # thread #, status, bytes/1024/1024 of the journal of v$.

    GROUP # THREAD # STATUS BYTES/1024/1024
    ---------- ---------- ---------------- ---------------
    1 1 50 COMPENSATION
    2 1 50 COMPENSATION
    3 2 COMPENSATION 50
    4 2 50 CURRENT
    5 1 COMPENSATION 50
    6 2 COMPENSATION 50
    15 1 200 UNUSED
    16 1 200 UNUSED
    17 2 200 UNUSED
    18 2 200 UNUSED

    10 selected lines.

    SQL > alter database drop logfile Group 1;
    change the database drop 1 log file group
    *
    ERROR on line 1:
    ORA-01624: log 1 necessary for instance REMEPRDS1 (1 wire) crash recovery
    ORA-00312: thread 1 1 online journal:
    "+ DAT/prds/onlinelog/group_1.961.793523169".
    ORA-00312: thread 1 1 online journal:
    "+ FRA/prds/onlinelog/group_1.5605.793523169".


    SQL > alter system switch logfile;
    alter system switch logfile
    *
    ERROR on line 1:
    ORA-16000: database opened for read-only access


    SQL > alter system switch logfile;
    alter system switch logfile
    *
    ERROR on line 1:
    ORA-16000: database opened for read-only access


    SQL > /.
    alter system switch logfile
    *
    ERROR on line 1:
    ORA-16000: database opened for read-only access


    SQL > alter database drop logfile Group 1;
    change the database drop 1 log file group
    *
    ERROR on line 1:
    ORA-01624: log 1 necessary for instance PRDS1 (1 wire) crash recovery
    ORA-00312: thread 1 1 online journal:
    "+ DAT/prds/onlinelog/group_1.961.793523169".
    ORA-00312: thread 1 1 online journal:
    "+ FRA/prds/onlinelog/group_1.5605.793523169".


    SQL >

    Please help me out here.

    Thank you

    Hello

    Even if you add standby or online redo log files or even if you resize down and re-create redo log files, they will not be created on the standby database. It is instance specific.

    Let all the restore, the MRP will cancel out.
    And then let fall, add standby redo log files, I think that you need to the MANUAL upgrade standby_file_management before adding new files of newspapers waiting for redo. And do not forget to undo file management the AUTO value again after the execution of the changes.

    And you train to make the journal command pending, it applies only on the primaries because the log command can only be performed on the database that uses online redo log files. Even if you open databases Eve with recovery that no recovery will be generated as a result no switch journal is allowed too.

  • How do to the size of the log buffer reduce with huge Pages Linux

    Data sheet:

    Database: Oracle Standard Edition 11.2.0.4

    OS: Oracle Linux 6.5

    Processor: AMD Opteron

    Sockets: 2

    Carrots / power outlet: 16

    MEM: 252 GB

    Current SGA: GB 122 automatic shared memory (EAMA) management

    Special configuration: Linux huge Pages for 190 GB of memory with the page size of 2 MB.

    Special configuration II: The use of the LUKS encryption to all drives.

    Question:

    1. How can I reduce the size of the log buffer? Currently, it appears that 208 MB. I tried to use log_buffer, and it does not change a thing. I checked the granule size is 256 MB with the current size of the SGA.

    Reason to reduce:

    With the largest size of log buffer the file parallel write newspaper and the synchronization log file is averaged over 45 ms most of the time because she has dumped a lot of stuff at the same time.

    Post edited by: CsharpBsharp

    You have 32 processors and 252 GB of memory, so 168 private discussions, so 45 MB as the public threads size is not excessive.  My example came from a machine running Oracle 32-bit (as indicated by the size of 64 KB of threads private relative to the size of 128 KB of your son) private with (I think) 4 GB of RAM and 2 CPUs - so a much smaller scale.

    Your instance was almost inactive in the meantime so I'd probably look outside the Oracle - but verification of the OS Stats may be informative (is something outside the Oracle using a lot of CPU) and I would like to ask you a few questions about encrypted filesystems (LUKS).  It is always possible that there is an accounting error - I remember a version of Oracle who report sometimes in milliseconds while claiming to centisecondes - so I'll try to find a way to validate the log file parallel write time.

    Check the forum for any stats activity all over again (there are many in your version)

    Check the histogram to wait for additional log file writes event (and journal of file synchronization - the lack of EPA top 5 looks odd given the appearance of the LFPW and and the number of transactions and redo generated.)

    Check the log file to track writer for reports of slow writes

    Try to create a controlled test that might show whether or not write reported time is to trust (if you can safely repeat the same operation with extended follow-up enabled for the author of newspaper which would be a very good test of 30 minutes).

    My first impression (which would of course be carefully check) is that the numbers should not be approved.

    Concerning

    Jonathan Lewis

  • Generate the log file for the dialog box

    Hi all


    I'm generating information for the dialog box as a .txt log file format. That means that if the box is checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against the information on tickets and slug jobs"is checked


    If the checkbox is not checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against ticket and slug information on employment"is not checked


    and also the entry "myText2" also needs to generate the log file


    Can someone help on this... Help would be appreciated!



    var l is new window ('dialogue');.

    myGroup1 var = w.add ("panel", undefined, ' P & & G check the list ');

    myGroup1.alignChildren = 'left ';

    CheckBox1 var = myGroup1.add ("checkbox", not defined, '01.   (Check the ratio, size against the information on tickets and slug jobs");

    CheckBox2 var = myGroup1.add ("checkbox", not defined, '02.   "" "Check images are linked");

    var checkbox3 = myGroup1.add ("checkbox", not defined, '03.   Visually check the progress of KV/model/CP images");

    var checkbox4 = myGroup1.add ("checkbox", not defined, '04.   Visually check the progress of other elements such as Logo and bottle");

    var checkbox5 = myGroup1.add ("checkbox", not defined, '05.   Check the positioning of the markup language");

    var checkbox6 = myGroup1.add ("checkbox", not defined, '06.   Ensure that all measures are calculated Live based area");

    var checkbox7 = myGroup1.add ("checkbox", not defined, '07.   After that the resizing of the picture KV frame open to cut and bleed");

    var checkbox8 = myGroup1.add ("checkbox", not defined, '08.   Complete Magenta if there is insufficient image');

    var checkbox9 = myGroup1.add ("checkbox", not defined, '09.   ("To ensure that the document's bleed, crop gutter and slug information brands ');

    var checkbox10 = myGroup1.add ("checkbox", not defined, '10.   Make sure that the final work is updated on the server");

    var checkbox11 = myGroup1.add ("checkbox", not defined, '11.   ("Enter time cmd");

    var myGroup2 = w.add ('panel', undefined, 'The operator name');

    var myText2 = myGroup2.add ("edittext", undefined, "");

    myText2.characters = 25;

    myGroup2.orientation = 'left ';

    var buttons = w.add ("group");

    Buttons.Add ('button', undefined, 'Export to PDF', {name: 'ok'});

    Buttons.Add ('button', undefined, 'Cancel');

    w.Show ();

    ~ group();

    ~ If (myGroup1.alignChildren.value! = true) {}

    ~ alert ('yes')

    //~ }


    myDoc = app.activeDocument;

    w = [];


    DESCRIPTION: Make a TXT file

    myDoc = app.activeDocument;

    Log1 = makeLogFile (app.activeDocument.name.split('.') ([0], myDoc, true);

    log (log1, app.activeDocument.name);

    ~ log2 = makeLogFile ("test", myDoc, false);

    ~ Journal (log2, "Text file log base 2");

    Log1. Execute();

    ~ log2.execute ();

    function makeLogFile (aName, aDoc, deleteIt) {}

    var logLoc; path to the folder that will contain the log file

    try {}

    logLoc = aDoc.filePath;

    } catch (e) {}

    logLoc = getmyDoc (). parent.fsName

    }

    var queue = aFile (logLoc + "/" + name + ".txt");

    If {(deleteIt)

    aFile.remove ();

    return aFile;

    }

    var n = 1;

    so that {(aFile.exists)

    aFile = File (logLoc + "/" + String (n) + ".txt" aName);

    n ++

    }

    return aFile

    }

    function getScriptPath() {}

    try {}

    Return app.activeScript;

    } catch (e) {}

    Return File (e.fileName);

    }

    }

    function log (aFile, message) {}

    var today = new Date();

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (String (today) + "\n");

    aFile.close ();

    }

    }

    function log (aFile, message) {}

    var text = o;

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (message + "\n" + "\n" + String (w) + "\n");

    aFile.close ();

    }

    ~ aFile.open ("e");

    ~ aFile.seek (0.2);

    ~ aFile.write ("\n" + message);

    ~ aFile.close ();

    }

    myDoc.close (SaveOptions.no);

    Thanks in advance

    Steve

    Hi Steve,.

    There are some errors in your code.

    1. function 'getmyDoc' is used, but not created.
    2. fucntion 'getScriptPath' is created but not used. (In any case, this will not give you error)
    3. function 'journal' has defined two times with the same length of the parameter.

    etc...

    Here, I have modified your code. Try this.

    var w = new Window ("dialog");
    var myGroup1 = w.add('panel', undefined, 'P&&G Check List');
    myGroup1.alignChildren = "left";
    var checkbox1 = myGroup1.add ("checkbox", undefined, "  01.  Check the ratio, sizes against job ticket and slug information");
    var checkbox2 = myGroup1.add ("checkbox", undefined, "  02.  Check images are linked");
    var checkbox3 = myGroup1.add ("checkbox", undefined, "  03.  Visually check the progression of KV/Model/CP images");
    var checkbox4 = myGroup1.add ("checkbox", undefined, "  04.  Visually check the progression of other elements like Logo and Bottle");
    var checkbox5 = myGroup1.add ("checkbox", undefined, "  05.  Check the placement of Language Tagging");
    var checkbox6 = myGroup1.add ("checkbox", undefined, "  06.  Ensure that all measurements are calculated based on Live area");
    var checkbox7 = myGroup1.add ("checkbox", undefined, "  07.  After resizing the KV image frame opened up to trim and bleed");
    var checkbox8 = myGroup1.add ("checkbox", undefined, "  08.  Fill Magenta if there is inadequate image");
    var checkbox9 = myGroup1.add ("checkbox", undefined, "  09.  Ensure the document has bleed, crop marks, gutter marks and slug information");
    var checkbox10 = myGroup1.add ("checkbox", undefined, "  10.  Ensure the final artwork is updated in the Server");
    var checkbox11 = myGroup1.add ("checkbox", undefined, "  11.  Enter time in CMD");
    var myGroup2 = w.add('panel', undefined, ' Operator Name');
    var myText2 = myGroup2.add("edittext", undefined, "");
    myText2.characters = 25;
    myGroup2.orientation = "left";
    var buttons = w.add ("group");
    buttons.add ("button", undefined, "Export PDF", {name: "ok"});
    buttons.add ("button", undefined, "Cancel");
    w.show ();
    myDoc = app.activeDocument;
    log1 = makeLogFile(app.activeDocument.name.split('.')[0], myDoc, true);
    log(log1, app.activeDocument.name);
    log1.execute();
    function makeLogFile(aName, aDoc, deleteIt)
    {
        var logLoc = "";
        try
        {
            logLoc = aDoc.filePath;
            } catch (e) {}
        var aFile = File(logLoc + "/" + aName + ".txt");
        var n = 1;
        while (aFile.exists)
        {
            aFile = File(logLoc + "/" + aName + String(n) + ".txt");
            n++;
            }
        return aFile
        }
    function log(aFile, message)
    {
        var text = w;
        var rep = "";
        if (!aFile.exists)
        {
            aFile.open("w");
            var today = new Date();
            rep += String(today) + "\n";
            rep += message + "\n" + "\n\n";
            for(var i =0;i
    

    Kind regards

    Cognet

  • Update BIOS Qosmio X 300 has failed - the size of the ROM file is incorrect

    Hello

    I use TEMPRO, and he suggested to update my BIOS.
    I downloaded the file and run the Setup file. Unfortunately, it says "the size of the ROM file is incorrect.

    This means I m doing wrong? or I have the latest BIOS in my system.

    Please advice.

    Thank you.

    Hello

    First of all I don't do everything what said Tempro!

    Secondly, this message was posted here in the forum several times and if you are looking for the size of the ROM file is incorrect, you would find that:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=120455
    and this, for example:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=73284

    The problem is that you have unzipped the Cabinet correctly!

    In any case, I think that it s not useless to put anything, if the laptop runs without problem!

  • Update the BIOS of the A110 to satellites--> the size of the ROM file is incorrect

    I tried upgraing BIOS download from Toshiba site but error message.
    The size of the ROM file is incorrect - suggestions for moving forward.

    Hello

    Today, it seems it's your lucky day...
    Have looked into the Toshiba, basic knowledge about the Toshiba support home page and found this FAQ document:

    http://support.toshiba-tro.de/KB0/TSB59014X0000R01.htm

    It should help you

  • Update the Bios of satellite P10-304:-the size of the Rom file is incorrect

    P10 - 304 - downloaded Update Bios, but when I went to run it I get the message "the size of the.
    ROM file is incorrect. What can I do now?

    One question; Why you want to upgrade the BIOS?

    I studied on the knowledge base of the Toshiba site and found this:
    I always get an error message: the size of the ROM file is incorrect.
    http://support.toshiba-tro.de/KB0/TSB59014X0000R01.htm

    It will be useful.

  • Tecra A6 - update BIOS - "the size of the ROM file is incorrect.

    Hi, I was sent this link to download a new BIOS
    http://UK.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/download_driver_details.jsp?id=60307&OSID=10&drive rLanguage = 42 & selectedLanguage = 13 & driverCountry = 41 & selectedCountry = 8

    But when I try to use set up, I get an error message that says: "the size of the ROM file is incorrect" and it doesn't let me move forward. How can I, please?

    Paul

    Hello

    Maybe this article can help you http://support.toshiba-tro.de/kb0/TSB59014X0000R01.htm

    Good bye

  • Error: Size of the ROM file is incorrect, as the update of BIOS on satellite A200

    Dear Sirs,

    I tried to update my bios on satellite A200 and then I start the update it says "the size of the ROM file is incorrect.

    Can someone help me with this?

    What should I do?

    Hi Stavros

    I think I can help you.
    I remember this error message. Some of the users of the forum have posted a solution.

    For example here:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=112057𛖹

    It seems that it s not a serious error is displayed because the BIOS file was not properly extracted.

    Good bye

  • Change the column header in the log file

    Hi people,

    I have a small program running to collect and record the data in a file.

    The log files to a CSV file correctly, but the column headers show as "Untitled".

    How to set these to something meaningful?

    Had a hunting around, but can't find the settings.

    Any help gratefully received!

    See you soon

    Duncan

    Finally managed to find a Community position covering cela.

    Check out this post fior details:

    https://decibel.NI.com/content/docs/doc-10694

  • How to reduce the size of the PDF file on scanned on my PMX922 docs

    I deal with a lot of documents, and I find that when I scan the docs on my MX922 the size of the PDF file is MUCH larger that the size of the original PDF file. That's what I see (on a document page 2):

    (Received) original size: 11 k

    Default scan (Quick Menu): 1061 k

    With compression high (Quick Menu): 116 k

    The Panel of the printer (res 150): 209 k

    Windows scanning app (150 res): 1495 k

    Scanning from the Quick Menu with high Compression seems to be the best, but it still somewhat adds to the file size. It's a big problem so I dal with many GREAT docs. Several times the size of the file increase prevents me from being able to send files. Is there anything else I can do? Does anyone have any suggestions?

    Hi 1wwjdbro,

    We can set the PDF to HIGH compression option in the utility of digitization of IJ and also select the image digitized transfer compression to reduce the file size of the PDF file. To do this, please follow these steps:

    1. open the utility of scanning IJ.

    2. in the Scan from Canon IJ utility window that opens, click SETTINGS... at the bottom right of the window. The settings dialog box is displayed.

    3. click on the SCAN of DOCUMENT option in the left pane of the window.

    4 in the right pane window, look for the box to COMPRESS SCANNED IMAGES to be TRANSFERRED in the Scan Options section and check it.

    5. then, in the SAVE the SETTINGS section, find the FORMAT of DATA field and ensure that PDF or PDF (multi-page) is selected, and then click the SETTINGS button to the right of the field.

    6. in the window that opens, find the COMPRESSION PDF section, then select TOP from the drop-down list. Click OK to close the window. You will be taken back to the SETTINGS window.

    7. once all settings have been selected in the SETUP window, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen is displayed.

    8. click the DOCUMENT button. Housing starts scanning. Click CANCEL to cancel the scan if necessary. The scanned images are saved to the location of the selected folder previously specified in the SETTINGS... window.

    I hope this helps!

    If you need more assistance, please call 1-866-261-9362, Monday - Friday 10:00 - 10 pm et (excluding holidays) and a technical support representative Cannon will be happy to help you.  There is no charge for this call.

Maybe you are looking for