Table of Contents
< All Topics
Print

[aCloud] The IO Latency of the Oracle database file type Log File in the monitoring center has exceeded the threshold of 50ms for 3 consecutive times.

Problem Description

【aCloud】Monitoring Center Alert[Critical]IO Latency for Oracle database[xxx:1522/orcl] of file type Log File has been greater than the threshold of 50ms for 3 consecutive times

Effective Troubleshooting Steps

Possible reasons for the delay may include:

  1. Due to disk configuration, there may be IO performance issues (such as Pre-allocating disks).
  2. Due to a large number of transaction processing, log archiving, switching, and incomplete checkpoints may cause waiting, resulting in IO delay [increase the number of online log groups and larger log files].
  3. Query the size of the database redo log.
  4. SQL> select bytes/1024/1024 size_mb from v$log;
  5. SIZE_MB
  6. ———-
  7.         52
  8.         52
  9.         52
  10.         52

There are 4 redo log groups shown in the figure, each with a size of 52MB. If the business is busy or the data import operation may cause this alarm. It is recommended to increase the size of the redo log according to the size of the business. Generally, it is set to 512M.

3.2 Check the log switch frequency (the unit in the third column is minutes)

  1. select b.SEQUENCE#, b.FIRST_TIME,
  2. a.SEQUENCE#, a.FIRST_TIME,
  3. Calculate the difference between the values of a.FIRST_TIME and b.FIRST_TIME, multiply it by 24, and then multiply the result by 60. Finally, round the final value to 2 decimal places.
  4. from v$log_history a, v$log_history b
  5. where a.SEQUENCE# equals b.SEQUENCE# plus one.
  6. and b.THREAD#=1
  7. Order by a.SEQUENCE# desc.

[High-risk operation] If the redo log is too small or the switch is too frequent, you need to increase the size of the redo log and the number of redo log groups.

Solution

If there are no performance issues such as slow loading in the business, you can ignore or adjust the threshold of this monitoring item.

Original Link

https://support.sangfor.com.cn/cases/list?product_id=33&type=1&category_id=17562&isOpen=true