Blog Posts

  • Tablespace Disk I/O

    Tablespace Disk I/O                                                Summary The Physical design of the database reassures optimal performance for DISK I/O. Storing the datafiles in different filesystems (Disks) is a good technique to minimize disk contention for I/O. How I/O is spread per Tablespace SELECT T.NAME, SUM(Physical_READS) Physical_READS, ROUND((RATIO_TO_REPORT(SUM(Physical_READS)) OVER ())*100, 2) || ‘%’ PERC_READS, SUM(Physical_WRITES) Physical_WRITES, ROUND((RATIO_TO_REPORT(SUM(Physical_WRITES)) OVER ())*100,…

  • Datafiles Disk I/O

    Datafiles Disk I/O                                             Summary The Physical design of the database reassures optimal performance for DISK I/O. Storing the datafiles in different filesystems (Disks) is a good technique to minimize disk contention for I/O. How I/O is spread per datafile SELECT NAME, phyrds Physical_READS, ROUND((RATIO_TO_REPORT(phyrds) OVER ())*100, 2)|| ‘%’ PERC_READS, phywrts Physical_WRITES, ROUND((RATIO_TO_REPORT(phywrts) OVER ())*100, 2)||…

  • Current waiting events Summary

    Current waiting events  Summary The first and most important script about OWI, is where current sessions waiting SELECT a.SID, b.serial#, b.status, p.spid, b.logon_time, a.event, l.NAME latch_name, a.SECONDS_IN_WAIT SEC, b.sql_hash_value, b.osuser, b.username, b.module, b.action, b.program, a.p1,a.p1raw, a.p2, a.p3, –, b.row_wait_obj#, b.row_wait_file#, b.row_wait_block#, b.row_wait_row#, ‘alter system kill session ‘ || ”” || a.SID || ‘, ‘|| b.serial#…

  • Db file sequential read

    Db file sequential read                                                 Summary The db file sequential read wait event means that Oracle is waiting while doing a single-block I/O read. This is the case when reading an index. Like all wait events the columns P1, P2, P3 give us the information needed to diagnose the waiting. Tip: A db sequential read is…

  • DELETE or CLEANUP failed export Jobs

     Failed Jobs can be verified by using the following sql: sql > select owner_name,job_name,operation,job_mode,state,attached_sessions from dba_datapump_jobs;   Check the state (status ) of the Jobs all the failed Jobs,they will show as not running for failed once. DROP MASTER TABLE Since  the  above  jobs  are  orphaned or  not running  won’t  be  restarted  anymore,  so  drop…