I have written 2
articles (AWR 1, AWR 2) in relation to the disk latency and how to read AWR reports to
investigate IO slowness. In this article I will explain how we check disks IO
performance in Linux systems. We will check how the disks where our datafiles
and redo log files are stored are performing. These disks could be simple Linux
mount points, or ASM disks. In case of ASM, we will need to find out the disks
that are part of ASM diskgroups so that we can check the performance of those
disks. For example, following is the way how we can find out the disks that are
part of ASM diskgroup.
Oracle Installation guides, Linux Administration tips for DBAs, Performance Tuning tips, Disaster Recovery, RMAN, Dataguard and ORA errors solutions.
No contents from my website can be published anywhere else without my permission. Test every solution before implementing in the production environment.
Monday, March 26, 2018
Monday, March 19, 2018
Reading and Understanding AWR Report for IO or Disk latency - 2
This a second article regarding IO latency issues investigation using AWR. First article can be found here. In this article I will further explain about checking IO latencies at the OS level in Linux
Log file sync
We had a production
server running on Virtual Machine (vmware), and after a downtime, we started
receiving complains about slow database. AWR report showed that “log fie sync”
wait event that comes under COMMIT wait class was at the top, and database was
spending more than 30% of its time on log
file sync wait. Log file sync wait even can be observed in a very busy OLTP
database, but it should not consume this much time as we were seeing, and
should be found at the bottom of the list of top wait events.
Monday, March 12, 2018
Reading and Understanding AWR Report for IO or Disk latency - 1
Recently I performed a
failover of my Oracle database (running on Linux) to my standby database, and
after the switchover, application team started complaining about extreme
slowness. I was using OEM Cloud Control and the graph was showing high waits
for “free buffer wait” and alert log started showing Checkpoint not Complete. Since I never saw these waits on my previous
primary server (now standby), so first thing came into my mind was that the
disks on the standby server (now primary) are probably very slow, because
hardware of my servers was very old. Servers also had internal disks (not SAN
or NAS). I generated AWR report for the time when database was running fine and
without any performance issue, and then a latest time report based on latest
snapshots to see what is going wrong with the IO.
Tuesday, March 6, 2018
ORA-00742: Log read detects lost write in thread %d sequence %d block %
During real time apply
on one of my physical standby RAC database , the managed recovery process
crashed with this error message, following is the entry in alert log file.
CORRUPTION DETECTED: In redo blocks starting at
block 169592count 142 for thread 4 sequence 157
Sat Jul 02 19:12:25 2016
MRP0: Background Media Recovery terminated with
error 742
|
Subscribe to:
Posts (Atom)
Popular Posts - All Times
-
This error means that you are trying to perform some operation in the database which requires encryption wallet to be open, but wallet is ...
-
Finding space usage of tablespaces and database is what many DBAs want to find. In this article I will explain how to find out space usage ...
-
ORA-01653: unable to extend table <SCHEMA_NAME>.<SEGMENT_NAME> by 8192 in tablespace <TABLESPACE_NAME> This error is q...
-
You may also want to see this article about the ORA-12899 which is returned if a value larger than column’s width is inserted in the col...
-
This document explains how to start and stop an Oracle cluster. To start and stop Grid Infrastructure services for a standalone installatio...
-
If database server CPU usage is showing 100%, or high 90%, DBA needs to find out which session is hogging the CPU(s) and take appropriate ...
-
If you want to know how we upgrade an 11g database to 12c using DBUA, click here . For upgrading 12.1.0.1 to 12.1.0.2 using DBUA, ...
-
By default AWR snapshot interval is set to 60 minutes and retention of snapshots is set to 8 days. For better and precise investigation of...
-
SWAP space recommendation from Oracle corp. for Oracle 11g Release 2 If RAM is between 1 GB and 2 GB, SAWP should be 1.5 times the s...
-
This article explains how to install a 2 nodes Oracle 12cR1 Real Application Cluster (RAC) on Oracle Linux 7. I did this installation on O...