"redo the write time" includes "log file parallel write".

IO performance Guru Christian said in his blog:

http://christianbilien.WordPress.com/2008/02/12/the-%E2%80%9Clog-file-sync%E2%80%9D-wait-event-is-not-always-spent-waiting-for-an-IO/

Waiting for synchronization of log file can be divided into:
1. the 'writing time again': this is the total elapsed time of the writing of the redo log buffer in the log during recovery (in centisecondes).
2. the 'parallel log writing' is actually the time for the e/s of journal writing complete
3. the LGWR may have some post processing to do, signals, then the foreground process on hold that Scripture is complete. The foreground process is finally awake upward by the dispatcher of system. This completes pending "journal of file synchronization.

In his mind, there is no overlap between "redo write time" and "log file parallel write.

But in the metalink 34592.1:

Waiting for synchronization of log file may be broken down into the following:
1 awakening LGWR if idle
2 LGWR gathers again to be written and issue the e/s
3. the time for the IO journal writing complete
4 LGWR I/O post processing
...

Notes on adjustment according to log file sync component breakdown above:
Steps 2 and 3 are accumulated in the statistic "redo write time". (that is found in the SEO Title Statspack and AWR)
Step 3 is the wait event "log file parallel write. (Note.34583.1: "log file parallel write" reference Note :) )

MetaLink said there is overlap as "remake the writing time" include steps 2 and and "log file parallel write" don't understand step 3, so time to "log file parallel write" is only part of the time of 'redo write time. Won't the metalink note, or I missed something?

Tags: Database

Similar Questions

  • Events of waiting "log file parallel write" / "log file sync", in CREATE INDEX

    Hello guys,.
    my current project I'm running a few tests of performance for oracle data guard. The question is "How LGWR SYNC transfer influence the performance of the system?"
    For the performance of the values, that I can compare I just built a normal oracle database in the first step.

    Now I perform various tests such as creating index 'broad', massive parallel inserts/validations, etc to get the marks.

    My database is an oracle 10.2.0.4 with multiplexed on AIX log files.

    I create an index on a table of "normal"... I have run "dbms_workload_repository.create_snapshot ()" before and after the CREATE INDEX for an equivalent period for the AWR report.
    Once the index is built (round about 9 GB), I made an awrrpt.sql for the AWR report.

    And now take a look at these values of the AWR
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    ---------------------------- -------------- ------ ----------- ------- ---------
    ......
    ......
    log file parallel write              10,019     .0         132      13      33.5
    log file sync                           293     .7           4      15       1.0
    ......
    ......
    How can it be possible?

    With regard to the documentation

    -> synchronization of log file: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/waitevents003.htm#sthref3120
    Wait Time: The wait time includes the writing of the log buffer and the post.
    -> log file parallel write: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/waitevents003.htm#sthref3104
    Wait Time: Time it takes for the I/Os to complete. Even though redo records are written in parallel, the parallel write is not complete until the last I/O is on disk.
    This was also my understanding... "log file sync" wait time should be higher than the 'parallel log writing' timeout, because of, it includes the e/s and the response time for the user's session.
    I could accept it, if the values are near each other (perhaps around 1 second about altogether)... but the difference between 132 and 4 seconds is too visible.

    Is the behavior of the log file sync/write different when you do a DOF as CREATE INDEX (maybe async... like you can influence it with COMMIT_WRITE initialization parameter?)?
    You have no idea how these values born?


    Ideas/thoughts are welcome.

    Thanks and greetings
  • synchronization of log file much larger than log file parallel write

    Hi all

    average of log file sync wait is 30 ms log file parallel write is only 10 ms, this mean? What are the main reasons for this difference?

    Sincerely yours.

    A. U.

    Hello

    average of log file sync wait is 30 ms log file parallel write is only 10 ms, this mean? What are the main reasons for this difference?

    Essentially, when newspaper writer writes, several session may be waiting. During 10 ms of time, you can have a written lgwr and sessions of 3 user waiting on the 'log file sync '.

    Kind regards

    Franck.

  • log file parallel write

    Hello
    on the 11g R2. I have the following:
    SQL> select  total_waits, time_waited from v$system_event where event='log file parallel write';
    
    TOTAL_WAITS TIME_WAITED
    ----------- -----------
          74144       28100
    Is it too or not? These valuses, which should be compared?


    Thank you.

    Hello

    You can refer to http://docs.oracle.com/cd/E11882_01/server.112/e16638/instance_tune.htm#PFGRF94563 .

    What is the current size of the redo log files?

    Anand

  • Can I use automator to change the modified time of a file as its content?

    I use automator to rename a series of images.

    The problem is whenever I change a change of time of amending records file.

    Can I use automator to change the modified time of a file as its content?

    I know that I can use the Terminal to change a date but I have no idea how to do to automate this process

    As you say you know the command to use in the Terminal, and then with Automator, use the Action run the Shell Script after the name change.  The new file name will be passed to the Action run a Shell Script, and from there, you can use touch - r to set the time of the file at the time the name of the new file

  • Add new data to the table in a log file

    Hi all. I am new to Oracle and I need to also write new data table in a logfile on Linux in order to live in the display screen. My first thought was to write a trigger, and after some research on googled around, I finally came to this:

    create or replace trigger foo_insert
    After Insert on foo
    for each line
    declare
    f utl_file.file_type;
    s VARCHAR2 (255);
    Start
    s: =: new.udate | '-' || : new.time | ' ' || : new.foo | ' ' || : new.bar | ' ' || : new.xyzzy | ' ' || : new.frobozz | ' ' || : new.quux | ' ' || : new.wombat;
    f: = utl_file.fopen ('BLAH_BLAH', 'current.log', ' a');
    UTL_FILE.put_line (f, s);
    UTL_FILE.fclose (f);
    end foo_insert;

    It seems properly to add new data in the log file as new inserts occur, but open and close the file each time are of course not optimal.
    In the app real new lines could have inserted every second or two. How can I optimize it? In addition, the log file will be archived and turned every day, so there must be a way to effectively report the relaxation of the oracle to reopen the case.


    Thank you!

    >
    I would like to pursue the optimization of the trigger
    >
    As Ed suggested you need to think this through a few others and refine the requirements.

    You said "I am new to Oracle. So you may not realize that anything a trigger didn't REALLY EVEN HAPPEN! The transaction can still be restored by Oracle or by the appellant. Want that all the 'hiccups' look too? If this isn't the case, then you can not use a trigger to do this. You need the process that translates the trigger being called to do logging after the data is stored.

    It should be noted that this requirement is before we can offer solutions to a problem.

    Assuming you want the trigger record all attempts change the data, then the best way I know to do that is to minimize the work does the trigger.
    Another fundamental principle is to follow the advice of the Ed and have a clear separation and distinction between "what" should be done and 'how' to do it.

    To minimize the trigger work change proposed Nicosa approach. Create an AUTONOMOUS_TRANSACTION stored procedure that handles the 'how' and just have the trigger to transfer data to the stored procedure values. The trigger provides data; He doesn't know, or care, what is done with the data.

    The stored procedure is then free to use the files, a table, write to a file or any other method is proving to be the best. You can change the methods without affecting the trigger.

    A queue or table may contain data, but again once you need to think about the obligation. Do you need fair access to data only once? Now, you want a "tail". But what happens if this requirement change tomorrow? You won't have to redesign the architecture.

    With a queue once you delete the queue data it won't here later if you want to get it again. With a table you can take as long as you want.

    I would like to start by using a table to store the data. If you use a sequence number or "insert_date" value, you can always query the data of interest. The table just collects data. He does not care how to use data.

    So, by using proven design principles and knowing that the requirements are for the most part unknown and may change unexpectedly, I would be:

    1. create an AUTONOMOUS_TRANSACTION stored procedure that accepts the parameter data and the thicket in a simple logging table.
    2. change your trigger to call the procedure to step #1
    3. create another procedure that performs a query of 'tail' for you will depend on 'insert_date' number or sequence. This query can write data to a file or return a cursor ref that your script can use to provide data for display.

    The approach described above takes each step in the process relatively independent of the other stages.

    Until put you the finishing touches to the requirements that you do not want to lock up your initial design.

  • the recovery of corrupted log file again in no archived db 10g

    Hello friends,
    I don't know much on the recovery of the databases. I have a database with file corrupted redo 10.2.0.2 and I am getting the following error at startup. (db is not archived and not save) Thanks much for any help.

    Mounted database.
    ORA-00368: checksum error in redo log block
    ORA-00353: journal corruption near block 6464 change 9979452011066 time 27/06/2009
    15:46:47
    ORA-00312: thread 1 1 online journal: ' / dbfiles/data_files/log3.dbf'

    ====
    SQL > select group #, Member, the journal of v status $;

    GROUP # STATUS MEMBERS
    ---------- ---------- ----------------
    1 1 CURRENT
    3 1 UNUSED
    2 1 INACTIVE
    ==
    I've tried so far but no luck
    I tried following commands but no help.
    SQL > ALTER DATABASE CLEAR no ARCHIVED LOGFILE GROUP 3;

    Database altered.

    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01139: RESETLOGS valid only after an incomplete recovery of database Option


    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-00368: checksum error in redo log block
    ORA-00353: journal corruption near block 6464 change 9979452011066 time 27/06/2009
    15:46:47
    ORA-00312: thread 1 1 online journal: ' / dbfiles/data_files/log3.dbf'

    user652965 wrote:
    Thanks a lot for your help guys. I appreciate it. Unfortunately, none of these commands worked for me. I kept getting error on the compensation of the newspapers that redo log is necessary to perform a recovery, so it cannot be erased. So I finished to restore from previous backup of my db volume. Database is now open.

    Thanks again for your contribution.

    And now, then at least you must ensure that all redo log groups at least 3 members. So, if you lose a redo log file alone, all you have to do is close the db and copy one of the members of the good (of the same group as the lost member) on the lost limb.

    And as an additional follow-up, if you value your data, you are running in archivelog mode and take regular backups of the database and the archivelogs. If you fail to do so you are saying that your data is not worth recording.

  • Provide read permissions to others for the weblogic/Managed Server log files

    Hello

    We want to give read access to others under linux for all the oracle weblogic logs including the journal .out file.

    We put 022 startweblogic.sh file. Set-aside are the output

    ----

    -rw - r - r-. 1 oracle oinstall 81586 Apr 15 22:43 access.log

    -rw - r - r-. 1 oracle oinstall 700087 Apr 15 22:45 DEV_Managed.log

    -rw - r-. 1 oracle oinstall 20553 Apr 15 22:49 DEV_Managed.out

    ----

    The only concern is its setting read other for access.log and DEV_Maanged.log but not for the log file of DEV_Managed.out

    Please suggest what file to edit.

    Thank you

    Mireille

    Hello

    Try to also change the umask 022 startNodeManager.sh file, and then restart nodemanager, then the managed server (to rotate the log .out file and create a new using the new umask)

    Kind regards

    White

  • How can we change the ESXi time for logging?

    Our newspapers to ESXi 4.1 files do not show the exact time. They are about seven hours in the future. We in vCenter configuration of time servers NTP and they show the exact time but Im assuming that the newspaper does not use these time servers? If I go to https://hostIP/host to see the newspapers or the DCUI to view the logs, it is here Im see the wrong time stamps. You can change or need to change?

    ESXi does not support time zone changes.

  • Question about the display of what log file mapped in LogFilter agent

    Hello

    LogFilter agent allows you to have up to 4 different log files (and paths) to match strings in the list.

    Is there a way to make a rule that kicks in when there is a match of logFilter - to have access to what filepath had the match?

    So, for example if I have;

    /path1/server.log

    /path3/server.log

    and if the rule that fires when the logFilter has a match, I would like it to show which of the 2 filepaths contained the game.

    Thank you

    "mark".

    Hi Mark,

    The default LogFilter rule creates an alarm that contains the path to the log file of the execution of the variable of severity level "text".

    This script uses "entry.get("LogName")" to extract the name of the log file, which is displayed in the Message field of alarm and the alarm dialog box as well as the text that triggered the alarm:

    Kind regards

    Brian Wheeldon

  • How to remove the plu 30 days log file.

    Hi experts,

    Please suggest me the concurrent request to delete the log files and unused files to production. (application and database both)

    Exp:

    ask simultaneous bag hand (another request that work like this request to another type of log file).

    I want to delete all the log more than 30 days of application and database file.

    We do order OS?

    Please suggest any id doc oracle metalink.

    applicaton R12.1.1

    Database - 11.1.7.0

    OS - rhel 5.5

    concerning

    pritesh Rodriguez

    Hi Ranjan Pritesh,

    You can run the concurrent requests that are mentioned in the following note to clean up old log files, check please:

    Purge strategy of e-Business Suite 11i [732713.1 ID]

    Reduce your Oracle E-Business Suite of data using Information Lifecycle Management (Doc ID 752322.1), purge and archiving

    I want to delete all the log more than 30 days of application and database file.

    We do order OS?

    Yes, you can plan at the OS level to delete old logs manually, that are not addressed in the note above. Related DB log files should be supported on manual intervention.

    As a reference to this file, you can remove it manually, please see:

    Housekeeping of R12 database application

    Thank you &

    Best regards

  • How can I move my old TIme Capsule at the new Time Capsule backup files?

    For five years, I use a 2 TB TC. It is also the main router wired into my local network.

    Have the new TC even router feautures?

    If I buy the new TC I would like to transfer the backup files stored in the current TC. Is this possible? How?

    Thank you very much for your support.

    Beppe53

    1. Yes.

    2. click here and follow the instructions.

    (144542)

  • help get rid of the games with missing log files

    I have games on my lap top I want to uninstall, but it lacks newspaper files.please tell me how to get rid of them

    Hey kid, senor

    You can remove the game by using the Windows Installer CleanUp utility

    (1) download and install the Windows Installer CleanUp utility. To do this, follow these steps:
    The following file is available for download from the Microsoft Download Center:
    Download the Windows Installer CleanUp Utility package now. (http://download.microsoft.com/download/e/9/d/e9d80355-7ab4-45b8-80e8-983a48d5e1bd/msicuu2.exe)

    (2) when the download is complete, click close in the Download complete dialog box.
    Double-click the Msicuu2.exe package on your desktop. Click run if you are prompted to run or save the file.

    (3) in the dialog box own place Windows Installer installation , click Next .
    4) click I accept the license agreement and then click Next .
    5) click Next to start the installation.
    (6) when the installation is complete, click Finish .
    7) click Start , point to all programs , and then click Windows Installer Clean Up .
    (8) in the list of the products installed , remove any entries that are associated with the product that you have problems with installation/uninstallation.

    NOTE: If there are too many entries, click select all , and then click Remove .
    When you remove the appropriate entries, click exit .
    Try to reinstall the Microsoft Games for Windows game.
    For more information, click on the number below to view the article in the Microsoft Knowledge Base:

    290301 (http://support.microsoft.com/kb/290301/) Description of the Windows Install CleanUp

    I hope that helps!

    Thank you and best regards,
    Abdelouahab.

    Microsoft Answers Support Engineer

  • Failure of the event: Purge expired log files

    Hello world

    Since the last update of the TMS to version 14.2.2.

    I got the following error every morning.

    "The event has not ended. Details: you try to access a subdirectory that is inside a web site from a SafeLocation that does not allow access to system files web site. »

    Does anyone have the same error? How can I fix it?

    concerning

    Jens

    Hey

    This could be linked to the "ftp" being civic record. For example the software (software endpoint) directory may be located outside the directory wwwTMS. This is a requirement now to have the directories accessible from the web in the folder wwwTMS. Do you store the software outside of this folder and that's the file ON WHAT TMS points?

    / Magnus

    Sent by Cisco Support technique iPhone App

  • I am only allowed to convert the documenst 12, at the same time, in 1 file. This information was not available for me before I purchased the product. I need more flexibility on this issue.

    I was put up to this, that there is a limit on the amount of material I could compress into 1 single file. Why this information was not intended initially?

    [Moved from the endorsement, general, all Adobe forums Lounge for a specific support by product - moderator forum]

    I assume you mean Adobe PDF Pack. If so, this limitation is clearly indicated.

    See below, "how many files can I combine PDFs at once?": FAQ | Adobe PDF Pack

    If you want to combine several files, then do it in batches of 12 and then combine the combined files, or buy Adobe Acrobat and you will have no such limits.

Maybe you are looking for

  • Get the f keys only works when I press Fn

    I'm a gamer and when I press on my f keys they work normally, but I want that it to where I have to press fn then the function, because it is very annoying when I press f1 and the help screen appears in the middle of a game.

  • G6 Notebook PC Pavilion: recovery of files saved

    My computer open only in "safe mode" so despite numerous attempts to find the problem, I did a factory restore using HP Manager. My files have been backed up on my external hard drive. I tried to restore the computer by using the Recovery Manager. Th

  • How to end parallel while loops

    Hi, I'm using LV8.5.  I have 2 while loops, running in parallel.  Loop1 is faster (waiting time of 100 ms) and Loop2 is slower (several minutes waiting time).  I use a local variable (STOP button) Boolean to commonality between the loops.  The button

  • Windows Update 80070005 error code

    original title: error code 80070005 Whenever I try to run windows update I received the error code 80070005.I tried to disable McAfee and a new attempt to update but get the same error.The update history shows no automatic updates since July 08.How c

  • Need driver for scanner Canoscan flatbed

    Need software for SCANNER Canoscan N1220OU this device is about 4 - 5 years