On RAID 10 - How to relieve Log Writer Slow Write Time Trace Files

We have a DELL 8 CPU 5460 3.16Ghz Xeon with Dell Open Manage RAID 10 array
Oracle 10g 10.2.0.4 on RedHat EL 5 with
filesystemio_options='' (DEFAULT)
disk_asynch_io='TRUE' ( NOT DEFAULT)
Running 2 instances 64 bit 10g 10.2.0.4 with an app that does a lot of row updates and uses BLOBs heavily.
Our storage (RAID 10) is presented through a single mount point.
I periodically see these messages in a lgwr trc file as follows
Warning: log write time 560ms, size 5549KB
*** 2010-02-25 17:22:24.574
Warning: log write time 650ms, size 6759KB
*** 2010-02-25 17:22:25.103
Warning: log write time 510ms, size 73KB
*** 2010-02-25 20:33:00.015
Warning: log write time 540ms, size 318KB
*** 2010-02-25 20:35:17.956
Warning: log write time 800ms, size 5KB
Note that most of these are larger chunks of data.
Our log wait histogram is as follows:
106 log file parallel write 1 465780158
106 log file parallel write 2 5111874
106 log file parallel write 4 5957262
106 log file parallel write 8 2171240
106 log file parallel write 16 1576186
106 log file parallel write 32 1129199
106 log file parallel write 64 852217
106 log file parallel write 128 2092462
106 log file parallel write 256 508494
106 log file parallel write 512 109449
106 log file parallel write 1024 55441
106 log file parallel write 2048 11403
106 log file parallel write 4096 1197
106 log file parallel write 8192 29
106 log file parallel write 16384 5
In discussions with the group that builds and maintains the systems (DBA's do not) we have asked for more spindles / hba's / mount points to address this issue. We have been advised that since the RAID 10 spreads the I/Os across multiple drives this is not going to affect the situation.
Our thoughts are that multiple HBAs going to separate RAID 10 devices would help relieve the pressure.
Thank you.

Is this an internal RAID array? Is it composed of SCSI (SAS) or SATA drives? How many drives are in the array?
Does the RAID controller have a built in battery backed cache (some of Dell's RAID controllers have 128MB, 256MB, or 512MB of battery backed cache). If the RAID controller has a battery backed cache, consider disabling the caching of all read operations, and set the write policy to write-back (see: http://support.dell.com/support/edocs/software/svradmin/5.1/en/omss_ug/html/cntrls.html ).
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.

Similar Messages

  • How to copy Log text (with Date, Time stamp ) User IDfrom BP to Transaction

    Hi Experts,
                     Can someone guide us how  to copy Log text (with Date ,Time & User ID) fron Business partner  (Prospect) to transactions by text detrmination procedure.
    Regards,
    Basavaraj Patil

    save text
    Fill out following parameters of SAVE_TEXT function module:
    HEADER
    TDOBJECT C 10 BUT000
    TDNAME C 70 10 digit BP number
    TDID C 4 Z001
    TDSPRAS C 1 Language
    INSERT = ’X’
    LINES
    TDFORMAT TDLINE
    |
    |testtttttttttttttttttttttttt( Your text)
    I would suggest you to use some other BAPI that would attach your text to BP than SAVE_TEXT.
    If you still wanted to use SAVE_TEXT then first make sure how the TDNAME is generated. It depends on the text determination procedure. For examples, it can be guid of BP, GUID followed by date or time or else the BP number itself.
    Just go to BP transaction, double click on the text pad, it will open you the SAP Script editor. Click on menu GOTO and select Header which will give you info about your TDID, TDOBJECT, TDNAME....
    Hope this helps.

  • How can I Read/write a ascii file?

    How can I Read/write a ascii file? like this:
    101     0.0000     -1.0000 +
    102     -0.1887     -0.9485 +
    103     -0.3578     -0.8639 +
    104     -0.5022     -0.7516 +
    105     -0.6177     -0.6177 +
    106     -0.7018     -0.4689 +
    107     -0.7533     -0.3120 +
    108     -0.7723     -0.1536 +
    109     -0.7603     -0.0000 +
    110     -0.7198     0.1432 +
    111     -0.6543     0.2710 +
    112     -0.5682     0.3796 +
    113     -0.4660     0.4660 +
    114     -0.3531     0.5284 +
    115     -0.2345     0.5660 +
    116     -0.1152     0.5791 +
    117     -0.0000     0.5689 +
    118     0.1069     0.5375 +
    119     0.2020     0.4876 +
    120     0.2823     0.4224 +
    121     0.3457     0.3457 +
    122     0.3911     0.2614 +
    123     0.4180     0.1732 +

    import java.util.*;
    import java.io.*;
    class BallB{
         public static void main (String args [])
         throws Exception {
              String str=" ";
              String myString="";
              try {
                FileReader fr = new FileReader("test.txt");
                BufferedReader br = new BufferedReader(fr);
                   FileWriter fw = new FileWriter("test1.txt");
                   while(str!=null){
                        myString = str+"\n";
                        str = br.readLine();
                        fw.write(myString);
                   br.close();
                   fw.close();
              }catch (Exception e) {
                   e.printStackTrace();
    }

  • Warning  : log write time 7706 , size 2KB

    Below are the contents of the lgwr trace file:
    Warning: log write time 4040ms, size 1KB
    *** 2010-01-06 11:28:03.962
    Warning: log write time 3680ms, size 8KB
    *** 2010-01-06 11:28:42.510
    Warning: log write time 4010ms, size 1KB
    *** 2010-01-06 11:28:50.576
    Warning: log write time 8060ms, size 18KB
    *** 2010-01-06 11:28:58.582
    Warning: log write time 8010ms, size 2KB
    *** 2010-01-06 11:29:06.609
    Warning: log write time 8020ms, size 36KB
    *** 2010-01-06 11:29:10.626
    Warning: log write time 4010ms, size 3KB
    *** 2010-01-06 11:29:18.653
    Warning: log write time 8030ms, size 7KB
    *** 2010-01-06 11:29:26.704
    Warning: log write time 8050ms, size 3KB
    *** 2010-01-06 11:29:30.737
    Warning: log write time 4030ms, size 5KB
    *** 2010-01-06 11:29:38.495
    Warning: log write time 7760ms, size 2KB
    User insert takes forever, Note 601316.1 states that this can be ignored but the problem still persist
    KK

    The MOS note says also to check for some OS issue such as disk too slow. Did you check this ?

  • How to create and write in a file

    Hello Gurus,
    I am creating a file based on the date and time and writing into that. But, I am still getting exception error and all. Kindly, please let me know.
    thanks for all the help...j
    Error:-
    C:\Usage\JavaFiles>java filename "abc"
    Exception in thread "main" java.io.FileNotFoundException:Detail09-2003-
    03:28:04.doc (The system cannot find the file specified)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at TowerDetail.main(TowerDetail.java:30)
    Code sample:-
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import java.sql.*;
    import java.text.*;
    public class TowerDetail{
    public static void main (String[] args) throws IOException{
    String userName = "user";
    String passwd = "pwd";
    String con_db = "jdbc:odbc:datasource";
    String ssn = args[0];
    Vector results = new Vector();
    Connection con = null;
    CallableStatement cstmt = null;
    java.util.TimeZone tz = java.util.TimeZone.getTimeZone("EST");
    java.util.Date now = new java.util.Date();
    DateFormat df = new SimpleDateFormat("MM-dd-yyyy-hh:mm:ss");
    df.setTimeZone(tz);
    String result = df.format(now);
    String fileName = "Detail"+result+".doc";
    File inputFile = new File(fileName);
    FileOutputStream fos = new FileOutputStream(inputFile);
    PrintWriter pw = new PrintWriter(fos);
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    }catch (Exception e) {
    System.out.println("JDBC Error: "+e.getMessage());
    return;
    try{
    con = DriverManager.getConnection(con_db, userName, passwd);
    cstmt = con.prepareCall("{call dbo.sp_usage_detail(?)}");
    cstmt.setString(1, ssn.trim());
    ResultSet rs = cstmt.executeQuery();
    pw.println("Report "+result);
    pw.println("------------------------------------------------------------------------------------
    while(rs.next()){
    .... write in the file...
    pw.println("------------------------------------------------------------------------------------
    pw.close();
    System.out.println("Your file Detail"+result+".doc is ready!!!");
    cstmt.close();
    con.close();
    }catch(SQLException ex){
    System.out.println("SQLException: ");
    System.out.println(ex.getMessage());
    }catch(NullPointerException e){
    System.out.println("Null Pointer Exception: ");
    System.out.println(e.getMessage());

    Now, I got out of the command prompt and reentered. I didn't set any classpath or anything. I have created a subdir \archive in the C:\ and writing an output file [DetailTower.....doc")into that.
    The DetailTower.class is in C:\Detail\ProjectClass dirctory.
    Now at,
    C:\Detail\ProjectClass\java -classpath . DetailTower "abc"
    I am getting this error:-
    C:\Detail\ProjectClass>java -classpath . DetailTower "999999"
    Exception in thread "main" java.io.FileNotFoundException: c:\archive\DetailTower09-10-2003-06:23:40.doc (The system cannot find the file specified)at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:176)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
            at Detail.main(DetailTower.java:32)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to completely delete all backed-up time machine files but not other files in my external hard drive?

    I use a 500G WD as my external.. I have documents and movies there that i do not want to delete. Simply i just want to delete my time machine files completely and for my mac to not recognised it as a time machine HD.. TY guys  p.s. A video would be nice

    If you have the external HD setup as one partition, you cannot delete only the TM files as a unit.  You will have to use the brute force method of deleting directory by directory.
    If you have the drive partitioned into a TM backup partition and another partition for your other work, you can simply reformat the TM backup partition.
    So, the first question is, how is your drive setup, as one or as two partitions?

  • How to get OutputStream/Writer for a file in a JSP code?

    In a JSP code as shown below, how could we get an OutputStream to write a file that resides on the server file system?
    I'm stuck after five hours struggle!
    <%
    /* simple experimental JSP program */
    ...  // get request data
    Properties pt = new Properties();
    Class clas = getClass();
    InputStream is = clas.getResourceAsStream("/users.properties");
    pt.load(is);
    String userNameDB = pt.getProperty("user");
    String passwordDB = pt.getProperty("password");
    long lastLogonDB = Long.parseLong(pt.getProperty("lastLogon"));
        // so far so good ...
    if (userName.equals(userNameDB) && password.equals(passwordDB)){
      if (lastLogonForm > lastLogonDB) {
        session.setAttribute("User", userName); //Saves user name string in the session object
        pt.setProperty("lastLogon", lastLogon);
        pt.setProperty("user", userNameDB);
        pt.setProperty("password", passwordDB);
        ...  // how to write back the new data to the users.properties file?
    %>

    I have found a solution:
    String path = application.getRealPath("/users.properties");
    InputStream is = new FileInputStream(path);
    is.close();
    OutputStream os = new FileOutputStream(path);
    os.close();getResourceAsStream() is oddly incompatible with the code using the getRealPath(). So don't use it.

  • How to read and write from XL file

    HI ,
    I wanted to read a data from XL file and write a data in XL file by generating a report .Can any body help me out.Many examples are available on discussion forums but when I try to save and run those Vi .I am not able to run Showing error .Please tell what is going wrong as I m having latest labview 8.6 .
    Regards
    Sharmila.karale

    Hi Adnan,
    Here are the examples of Vi which I have downloaded from the forum for my reference
    Regards
    Sharmila.Krale
    Attachments:
    SAVE TO EXCEL.llb ‏128 KB
    excel.llb ‏1618 KB

  • How to create a write operation in file adapter dynamically in to a folder.

    Hi all
    i want to explain my scenario...
    i am giving input to file adpter which is having read operation,and i am giving that input to an human work flow.i had two operations reject and resubmit in my task flow...i am editing the task with some changes...and resubmiting the task from the oracle bpm worklist.......now how can i give that task to again my input folder.....
    and another question is,
    if i am using three file adpters with 3 differnt folder structure having read operations.and i am giving only one file to one file adapter.and i am giving it to human work flow and i am editing it and i have to resubmit the file to the input folder.....so i i have to give back to input folder dynamically(with out hard coding the folder structure).....How can i give ?????
    so any one can help me....please...
    Thanks in advance...
    varma.

    ya...its gd....but i had a problem in my scenariou....
    i used this concept as a error handling frame work....that means
    i had so many composites which take purchase order as its input from a file adapter........if the input order differs from my xsd,i populated that input as a error file in another folder using some fault handlers... and i am giving that folder to human work flow and i a m editing that task and i am resubmiting it...so that it should go to the input folder of my composites as a input again...so how to differ ,for which composite i have to give as this task as input again.....dynamically it should vary in ...........
    please help me....
    thanks in advance....
    varma

  • Pls How do I read/write a xml file using java

    I want to read/write trough a server/client a file.xml from evt. the same computer, this is the code for the client
    import java.io.*;
    import java.net.*;
    class client
    public static void main (String args[]) throws Exception
    final String msg = "<beg>note</beg>";
    // BufferedReader in = new BufferedReader(new FileReader("note.xml"));
    final Socket clientSocket = new Socket ("localhost", 8000);
    final OutputStream clientStream = clientSocket.getOutputStream ();
    clientStream.write (msg.getBytes ());
    // clientStream.write (in.getBytes ());
    clientSocket.close ();
    // BufferedReader in = new BufferedReader(new FileReader("note.xml"));
    // System.out.println(in.readLine());
    I want to read it and put it in a buffer...
    please somebody help me!!!
    regards
    Harry

    Pls read this:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=271751
    And don't post the same message twice. It's annoying.

  • How to get "Easy" access to my Time Capsule files via Internet?

    Hello,
    I like to have a easy solution to acces my TC 2TB via Internet.
    I saw there is an easy way, if you have an MobileMe Account - but this service is since Lion, icloud and iOS5 not longer avalible. 
    Does anyone know how to get easy acces without DynDNS, FTP or other difficult solutions or does anyone knows a solution which will be avalible in the future?
    Thanks
    Flo

    Thanks for your fast answer.
    But as mentioned in THE NOTE my TC is a downstream router behind another router. The reason is that I am connected to the internet via Telekom entertain 16000 with an DSL/Modem/Router which one I need to connect my media Receiver.
    So is there a following solution which replaces the MobileMe Solution.

  • How to set up password to lock Time Machine files?

    Hello Friends at Apple Community,
    I would like to know how to set up a password to lock Time Machine backup files as it is in Drobo backup server. I have two Time Machine backups for Mac Pro - first backup performed and saved backup created by Time Machine in one of hard drives inside Mac Pro. I am also performing other Time Machine backup externally to Drobo - just to play it safe. But want to set up a lock password on that backup file only for Drobo. I believe the OS X Mountain Lion version 10.8.4. at the moment. I am aware that there is a small update of 10.8.5 as I havent updated it yet... until Time Machine backup is done successfully.
    Please advise. Thanks in advance!

    http://www.macyourself.com/2011/09/04/how-to-password-protect-and-encrypt-time-m achine-backups/

  • How do I transfer iCal from a Time Machine file that was taken from a MacBook Pro to iMac?

    Hello,
    I have a Time machine Back up from a MacBook Pro and wish to transfer iCal files to an iMac. I have done a migration from the Time Machiine Back up but how do I get my iCal? I have imported my apple mail mailboxes and moved the MPB Desktop to the iMac Desktop. But where are all my applications and most important my iCal?
    Thanks you

    Great to hear Tim!

  • How to set DAY as a polling time in file adapter?

    Hi all,
    I have a scenario where I have to pick a file weekly once. But due to some maintanance activity XI system will be restarted on monthly basis. Due to that the weekly polling freuquency is not going to work properly.
    For example Wednesday I have to pick a file and thursday system is restarted so the polling frequency also will be restarted from thursday.
    Is there any way to get rid of this scenraio?
    Is it possible to configure any adapter modules for making the file pick only on WEDNESDAY?.
    Can anyone please help on this?
    Thanks,
    Jayanh

    Hi
    Hope it helps..
    Note:You will need to have the authorizations of the user group SAP_XI_ADMINISTRATOR with the role modify.
    Go to Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring
    Locate the link Availability Time Planning on the top right corner of your Communication Channel Monitoring page.
    In your case, the requirement is to schedule the Sender file adapter daily once at 8:00 at morming.
    In Availability Time Planning, choose the Availability time as daily and say create.
    Provide the details like the time 12:00
    Then select the communication channel , goto the Communication Channels tab and filter and add the respective channel (File Sender).
    Once all the above has been done 'Save' the changes.
    For more
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    /people/alexander.bundschuh/blog/2006/01/04/scheduling-messages-in-sap-xi
    Thanks

  • Log writer taking more time to write

    Hi All,
    we have oracle 10g(10.1.0) installed on rhel 5.3.. We are facing an issue regarding the logwriter..the logwriter is taking more time to write to the online redolog file...the trace file shows a warning message as " log writer time 840ms" ... Not sure what is the root cause of it..Please help me out in that regards..Thanks in advance...

    imran khan wrote:
    The archived log mode is disabled for the db..The online redolog files are not in FRA instead they are kept in diskgroups (multiplexed in two disk groups)..The controlfiles and datafiles are also stored in the same location as of online redolog files.The db is having the release as 10.2.0.4.0 and all the components are in 10.2.0.4.0 as well.
    I also found that the ASM instance is having the release as 10.2.0.4.0(v$version view) but the compatibility attribute of the diskgroups is 10.1.0.0 . The compatible parameter in ASM instance shows 10.2.0.3.0 .
    Do i need to change the compatibility of the diskgroups and the compatible parameter to 10.2.0.4.0 in ASM instance?
    Not sure whether ASM compatibility makes any impact on delaying the lgwr to write to the online redolog files ?
    Note : The online redolog files are stored in ASM diskgroups
    please suggest...If your redo is in the same physical location as your datafiles, don't you think there might be some contention? (For my OLTP type of experience, undo is the most hit data file, too).
    There could also be some more fundamental thing wrong, such as misconfigured I/O, and your redo just seems small. How often are they switching? Are you using hugefiles (as opposed to configuring them and unknowingly not using them)? Do you see any actual swapping to disk going on?
    You likely have an OS I/O problem, but appear to only be looking at Oracle's view of it. What does the O/S say about it?
    Are you sure you want to be running a production database without archive logging?

Maybe you are looking for

  • Problem with File Polling

    Hi,  Experts I have following problem poll interval is 900 sec in my sender file adapter, but the file adapter is picking up the file 5  times at a time and IS processing them.Like tis it is happening every 900 sec. but i need file adapter to pick up

  • Flex Mobile - Moving up for keyboard

    Not sure if this is where i should post this question about Flex Mobile, but don't see any forums for Flex Mobile. My question should be simple enough. I create a Android app and it works perfect. About ready to put it in the market, but one odd thin

  • Oracle.adf.controller.activity.ActivityLogicException: ADFC-02013: Unable to get metadata for activity

    Hello, I am new to ADF, I am trying to learn how to navigate from one page to another, the code that I have is simple, but it is not working, I specified the control flow rules in the adfc-config.xml and I even tried to specify the navigation rules i

  • If I download the new version it says it will block my security package?

    My Mozilla keeps crashing and it was suggested that I download the new version but when I tried that it said it would block my Norton Security package that is provided by my internet service. I don't want to do this Is there a way around it?

  • Problems to configure system connection with soa manager

    Hi everybody, I realy have a big problem. I have to use some Enterprise Services out of another SAP system. for that I need to setup a system connection in the SOA Manager. But I don't know how i can get the information about the system, I want to ad