Oracle Cloud Infrastructure
Coming soon ...
Apps R12.2
  • R12.2 Architecture
  • Cloning Error (RC-50208)
  • Apps R12.1
  • Major changes from 11i
  • R12:HTTP Debug Logging
  • Compile Apps Schema invalid objects in R12
  • Apps 11i
  • Apps Components and Architecture
  • Concurrent managers
  • Patching
  • Using AD Patch
  • Using AD Control
  • FNDCPASS utility
  • Single-node Installation
  • Multi-node Installation
  • Find Apps Version
  • Cloning
  • Upgrade 11.5.9 to 11.5.10.2
  • Upgrade from 11.5.10.2 to R12
  • Upgrading 9i to 10g with 11i
  • 11i/R12 General Topics
  • AppsDBA System Management Utilities Guide
  • Identifying Long Idle Sessions
  • Identifying High Active Sessions
  • Change hostname for EBS
  • Oracle 12c Database
  • Oracle12c PSU Apply
  • Oracle12c Datafile moved Online
  • Oracle 11g Database
  • Upgrade 10g to 11g R1
  • Upgrade 11.2.0.2 to 11.2.0.3
  • Database 9i-10g
  • Top 99 Responsibilities of a DBA
  • General Info
  • Database Patching
  • 10g:ASM
  • 10g:Data Pump
  • 10g:Data Guard Installing
  • 10g:Rollback Monitoring
  • 10g:Flashback Table
  • Tablespace Management
  • Materialized Views
  • 10g:Enterprise Manager
  • 10g:Upgrade
  • Error:Ora-01631
  • DBA Scripts
  • Disk I/O,Events,Waits
  • Tablespace Information
  • Session Statistics
  • Hit/Miss Ratios
  • User Information
  • Rollback Segments
  • Full Table Scans
  • Contention/Locking
  • Redo Log Buffer
  • Data Dictionary Info
  • Oracle10g Application Server
  • Oracle10g Application Installation
  • (Re)Securing OAS Control
  • Oracle AS10g null protocol issue
  • Oracle Backup & Recovery
  • RMAN
  • RMAN Setup
  • Backup Recovery
  • Flash Recovery Area
  • Oracle10g Discoverer with Apps
    Coming soon ..............
    Troubleshooting
  • Discoverer Troubleshooting
  • Access EBS in mozile
  • Linux and Unix Platforms
  • How To configure NFS
  • Unix/Linux Command
  • Change hostname in Linux
  • SENDMAIL configuration
  • This Oracle Application DBA Portal is the biggest knowledge gateway for the people in the world of Oracle...
    Friday, June 19, 2009
    Disk I/O, Events, Waits
    Disk I/O, Events, Waits
    Here are some scripts related to Disk I/O, Events, Waits .

    Datafile I/O
    DATAFILE I/O NOTES:

    File Name - Datafile name
    Physical Reads - Number of physical reads
    Reads % - Percentage of physical reads
    Physical Writes - Number of physical writes
    Writes % - Percentage of physical writes
    Total Block I/O's - Number of I/O blocks

    Use this report to identify any "hot spots" or I/O contention

    select NAME,
    PHYRDS "Physical Reads",
    round((PHYRDS / PD.PHYS_READS)*100,2) "Read %",
    PHYWRTS "Physical Writes",
    round(PHYWRTS * 100 / PD.PHYS_WRTS,2) "Write %",
    fs.PHYBLKRD+FS.PHYBLKWRT "Total Block I/O's"
    from (
    select sum(PHYRDS) PHYS_READS,
    sum(PHYWRTS) PHYS_WRTS
    from v$filestat
    ) pd,
    v$datafile df,
    v$filestat fs
    where df.FILE# = fs.FILE#
    order by fs.PHYBLKRD+fs.PHYBLKWRT desc

    SGA Stats
    SGA STAT NOTES:


    Statistic Name - Name of the statistic
    Bytes - Size

    select NAME,
    BYTES
    from v$sgastat
    order by NAME

    Sort Stats
    SORT NOTES:


    Sort Parameter - Name of the sort parameter
    Value - Number of sorts

    sorts (memory) - The number of sorts small enough to be performed entirely in sort areas without using temporary segments.
    sorts (disk) - The number of sorts that were large enough to require the use of temporary segments for sorting.
    sorts (rows) - Number of sorted rows

    The memory area available for sorting is set via the SORT_AREA_SIZE and SORT_AREA_RETAINED_SIZE init.ora parameters.

    select NAME,
    VALUE
    from v$sysstat
    where NAME like 'sort%'

    All Events
    SYSTEM EVENT (ALL) NOTES:


    Event Name - Name of the event
    Total Waits - Total number of waits for the event
    Total Timeouts - Total number of timeouts for the event
    Time Waited - The total amount of time waited for this event, in hundredths of a second
    Average Wait - The average amount of time waited for this event, in hundredths of a second

    select EVENT,
    TOTAL_WAITS,
    TOTAL_TIMEOUTS,
    TIME_WAITED,
    round(AVERAGE_WAIT,2) "Average Wait"
    from v$system_event
    order by TOTAL_WAITS

    All Statistics
    SYSTEM STATISTICS (ALL) NOTES:


    Stat# - Number of the statistic
    Name - Name of the statistic
    Class - Statistic class: 1 (User), 2 (Redo), 4 (Enqueue), 8 (Cache), 16 (OS), 32 (Parallel Server), 64 (SQL), 128 (Debug)
    Value - Value of the statistic

    select STATISTIC#,
    NAME,
    CLASS,
    VALUE
    from v$sysstat

    Wait Stats
    WAIT STATISTIC NOTES:


    Class - Class of block subject to contention
    Count - Number of waits by this OPERATION for this CLASS of block
    Time -Sum of all wait times for all the waits by this OPERATION for this CLASS of block

    Data Blocks - Usually occurs when there are too many modified blocks in the buffer cache; reduce contention by adding DBWR processes.
    Free List - May occur if multiple data loading programs run simultaneously.
    Segment Header - May occur when may full table scans execute simultaneously with data loading processes; aggravated by the parallel options. Reschedule data loading jobs to reduce contention;
    Sort Block - Rarely seen except when the Parallel Query option is used; reduce contention by reducing the degree of parallelism or decreasing the SORT_AREA_SIZE init.ora parameter setting.
    Undo Block - Very rarely occurs; may be caused by multiple users updating records in the same data block at a very fast rate; contention can usually be resolved by increasing the PCTFREE of the tables being modified.
    Undo Header - May occur if there are not enough rollback segments to support the number of concurrent transactions.

    select CLASS,
    COUNT,
    TIME
    from v$waitstat
    order by CLASS

    Labels: , ,

    posted by Srinivasan .R @ 12:50 AM  
    0 Comments:
    Post a Comment
    << Home
     
    About Me

    Name: Srinivasan .R
    Home: Chennai, India

    About Me:
    I am working as an Oracle Applications DBA specializing in EBS 11i/R12 with Over 14+ years of experience, mainly in different versions of Oracle Database & Application administration on various platforms like HP-UX, SOLARIS, AIX, Red hat Linux & Windows
    See my complete profile
    High Availability
  • Oracle10g RAC Installation
  • A Quick Reference for Oracle Database 10g RAC on Linux and Unix Platforms
  • Implementing Oracle 10g RAC with ASM on AIX
  • Locked objects for whole RAC
  • Monitor Memory RAC
  • Sessions RAC
  • Install Oracle 11g RAC On Linux
  • Migrating Oracle10g DB to ASM
  • Helpful Links
  • Good Metalink Notes
  • Discoverer:Metalink Notes
  • Logs Scripts:Metalink Notes
  • Support:Metalink Notes
  • Previous Post
  • General Info
  • Migrating Oracle10g DB to ASM
  • Install Oracle 11g RAC On Linux
  • Sessions RAC
  • Monitor Memory RAC
  • Lists all locked objects for whole RAC
  • Concurrent Managers
  • Backup Recovery
  • RMAN Setup
  • Change hostname in Linux
  • Archives
    Download Software
  • Oracle 11g
  • Oracle 10g
  • 10g Express Edition
  • Oracle 9i
  • Oracle Apps
  • Oracle Linux
  • Oracle VM
  • App Server
  • Solaris
  • Fedora
  • Fedora
  • OpenSUSE
  • Ubuntu
  • Advertisement Links
    INTUIT Technology

    MACHS DATA

    Add Ons
    Locations of visitors to this page

    Add to Google Reader or Homepage

    Template by
    Sreene



    Oracle Application DBA Portal