Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

what is redo log I/O throughput all other activity in ADDM report?

anbobMay 26 2019 — edited May 28 2019

I faced a 12c r2 database performance issue.  the log file sync event high, and log file sync: scn ordring event.   ADDM show 

The redo log I/O throughput was divided as follows: 0% by RMAN and

  recovery, 25% by Log Writer, 0% by Archiver, 0% by Streams AQ and 74% by

  all other activity.

is the "74% by  all other activity" by log file sync: scn ordring event?

Finding 1: Commits and Rollbacks

Impact is 122.39 active sessions, 82.82% of total activity.

-----------------------------------------------------------

Waits on event "log file sync" while performing COMMIT and ROLLBACK operations

were consuming significant database time.

Waits on event "log file sync" were the cause of significant database wait on

"gc buffer busy release" when releasing a data block.

  Recommendation 1: Application Analysis

  Estimated benefit is 122.39 active sessions, 82.82% of total activity.

  ----------------------------------------------------------------------

  Action

  Investigate application logic for possible reduction in the number of

  COMMIT operations by increasing the size of transactions.

  Rationale

  The application was performing 30216 transactions per minute with an

  average redo size of 2312 bytes per transaction.

  Recommendation 2: Host Configuration

  Estimated benefit is 122.39 active sessions, 82.82% of total activity.

  ----------------------------------------------------------------------

  Action

  Investigate the possibility of improving the performance of I/O to the

  online redo log files.

  Rationale

  The average size of writes to the online redo log files was 5 K and the

  average time per write was 0 milliseconds.

  Rationale

  The total I/O throughput on redo log files was 3.3 M per second for

  reads and 1.1 M per second for writes.

  Rationale

  The redo log I/O throughput was divided as follows: 0% by RMAN and

  recovery, 25% by Log Writer, 0% by Archiver, 0% by Streams AQ and 74% by

  all other activity.

  Symptoms That Led to the Finding:

  ---------------------------------

  Wait class "Commit" was consuming significant database time.

  Impact is 112.25 active sessions, 75.96% of total activity.       

Top 10 Foreground Events by Total Wait Time

Convert to CSV

EventWaitsTotal Wait Time (sec)Avg Wait% DB timeWait Class
log file sync494,716230.1K465.15ms76.0Commit
log file sync: SCN ordering18022.2K123.45 s7.3Concurrency
22,22120.8K934.77ms6.9Cluster
buffer busy waits41,3579685.1234.18ms3.2Concurrency
row cache lock6,9996468.8924.25ms2.1Concurrency
DB CPU 4261.8 1.4
enq: SQ - contention502814.456.29 s.9Configuration
db file scattered read317,33312714.01ms.4User I/O
db file sequential read1,073,7531009.7940.34us.3User I/O
enq: US - contention6,922360.252.03ms.1Other

Foreground Wait Events

  • s - second, ms - millisecond, us - microsecond, ns - nanosecond
  • Only events with Total Wait Time (s) >= .001 are shown
  • ordered by wait time desc, waits desc (idle events last)
  • %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0

Convert to CSV

EventWaits%Time -outsTotal Wait Time (s)Avg waitWaits /txn% DB time
log file sync494,716 230,119465.15ms0.4875.96
log file sync: SCN ordering180 22,220123.45 s0.007.34
log file switch completion30 010.28ms0.000.00

Back to Wait Events Statistics
Back to Top
Back to Custom Top

Background Wait Events

  • ordered by wait time desc, waits desc (idle events last)
  • Only events with Total Wait Time (s) >= .001 are shown
  • %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0

Convert to CSV

EventWaits%Time -outsTotal Wait Time (s)Avg waitWaits /txn% bg time
log file parallel write453,3670249548.20us0.441.65
db file parallel write43,567027628.11us0.040.18
control file parallel write1,27301678.04us0.000.01
db file parallel read20015.90ms0.000.00
Comments
Post Details
Added on May 26 2019
11 comments
5,674 views