DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: OLTP Statspack

  1. #1
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327

    OLTP Statspack

    System Physical Memory: 2G
    Storage Subsystem: Raid 5 without write cache (this is a problem)
    Avg CPU Usage: 16%
    OS Free Memory: 1G
    Avg Concurrent Session: 40
    Application System: Web Application(Running on another server, JSP, Connection Pool)
    Server Mode: Dedicated Mode


    Init parameters:
    SESSION_CACHED_CURSORS=100
    CURSOR_SHARING = FORCE
    timed_statistics = true
    optimizer_mode = first_rows
    db_block_buffers = 80000
    buffer_pool_keep = (buffers:8000,lru_latches:2)
    db_block_lru_latches = 6
    shared_pool_size = 120M
    large_pool_size = 100M
    log_buffer = 2048000
    sort_area_size = 12582912

    Statspack report attached.


    What's your opition? Is this instance running efficiently?

    In my opinion, I think that waitevent of "log file sync" donot mean a problem.
    Attached Files Attached Files
    Last edited by Calvin_Qiu; 04-04-2003 at 05:31 AM.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  2. #2
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    After 45 seconds of detailed analysis (what do you expect for free?) my guess is that because you have everything on the RAID5, disk contention is slowing down redolog writing. I used a config like this once and found that somehow (not sure exactly why) paging happens at the same time as log writing. Solution - find a couple of disks and put the redogs on a RAID1 pair, by themselves (or perhaps with the control files). I don't have write caching either - it does not appear to be a problem for me - in fact I prefer not to trust a $1 battery on the RAID controller . . .
    "The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman

  3. #3
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    Thanks,

    I think that amount of "log file sync" do not really mean disk contention. Every log file sync operation will increase the waitevent number of "log file sync"?

    12ms(avg wait time, I guess that I/O speed is reasonable) * 3.7 (redo synch writes) = 44.4ms (minor part of I/O capacity)

    avg (Physical Read Time + Physical Write Time) per second close to 5ms

    Windows Performance Counter of "Current Length of Disk Queue" keeps on 0.

    Write cache will speed write operation dramatically on a Raid 5 system. How about a redundant battery which cost another $1?

    Is it adequate of only one member per log file group in a Raid 1, 1+0, or 5 storage subsystem, which is redundant?
    Last edited by Calvin_Qiu; 04-04-2003 at 10:40 AM.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    95% of your waits are I/O related. I would look at the I/O subsystem...
    Jeff Hunter

  5. #5
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    Originally posted by Calvin_Qiu
    Is it adequate of only one member per log file group in a Raid 1, 1+0, 5 storage subsystem?
    Surely it will only go as fast as the slowest?
    "The power of instruction is seldom of much efficacy except in those happy dispositions where it is almost superfluous" - Gibbon, quoted by R.P.Feynman

  6. #6
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    Originally posted by marist89
    95% of your waits are I/O related. I would look at the I/O subsystem...
    Don't you think the waitevents of "log file sync" is reasonable as my thought in my previous post.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  7. #7
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    Originally posted by DaPi
    Surely it will only go as fast as the slowest?
    If multiplex online redo logfile, it cost n*time to do log file sync operation if they locate in the same logical drive?
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  8. #8
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Calvin,

    CURSOR_SHARING = FORCE
    This is a dangerous setting.
    Do you know the side effect of this?

    Tamil

  9. #9
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    Originally posted by tamilselvan
    Calvin,

    CURSOR_SHARING = FORCE
    This is a dangerous setting.
    Do you know the side effect of this?

    Tamil
    Yeah, It's a bbs system, all tables are not gonna be skew. On spit of this, It's a web application programming in JSP, most of queries coming with literal value.
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

  10. #10
    Join Date
    Apr 2002
    Location
    Shenzhen, China
    Posts
    327
    Any further suggestion?
    Oracle Certified Master - September, 2003, the Second OCM in China
    *** LOOKING for PART TIME JOB***
    Data Warehouse & Business Intelligence Expert
    MCSE, CCNA, SCJP, SCSA from 1998

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width