Focus of this article is to check the redo log switch frequency as well as the sessions causing huge redo logs generation. A sudden surge in archived log generation can make DBA look into the issue to find out since when redo log generation has spiked. Following is the query we can easily find everywhere on the internet to find out the redo logs switch frequency. Of course this is not written by me. I do not know who is the original writer of this query therefore I can refer to that great guy or website.
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.
Sunday, December 20, 2020
Saturday, December 5, 2020
Dataguard out of sync OR Log shipping not working
You can seek help from this (single node) and this (RAC) document for setting up dataguard. But if dataguard has become out of sync, there are several things that you might need to look at before you fix it. In the following I am providing a checklist that you can take a look to find out the issue and thus implement a solution.
Friday, November 20, 2020
ORA-17502 and ORA-15001
If you are creating a file on an ASM diskgroup, and you receive ORA-17502 along with ORA-15001, there is one reason of ORA-15001 already explained here. Also check if diskgroup mounted. But, if diskgroup is mounted and yet you receive this error, another reason of this could be the ownership set for “oracle” executable found under the $ORACLE_HOME from where ASM instance is running. When we install Grid Infrastructure and RDBMS softwares using different users, (GI home owned by grid user and RDBMS home and oracle user), then it is required that group ownership of “oracle” executable under RDBMS home is set to SYSASM privilege OS group which is ASMADMIN.
Friday, October 30, 2020
ORA-15039 and ORA-15001 while Dropping an ASM disk group
I was trying to drop a diskgroup and failed with ORA-15039 and ORA-15000. Following is what was returned.
SQL> drop diskgroup oradata; ERROR at line 1: |
Friday, October 9, 2020
ORA-15032 ORA-15040 ORA-15042 while mounting a diskgroup
You may face these 3 error messages together if you are trying to mount an ASM diskgroup and one or more disks of this diskgroup are missing. In case of an external redundancy diskgroup, you need at least one ASM disk to be available to mount a diskgroup. For a normal redundancy diskgroup, you need at least 2 disks for the ASM diskgroup before it can be mounted. And in case of a high redundancy diskgroup, you need at least 3 disks to mount a diskgroup. After an ASM instance restart, an ASM diskgroup may not get mounted automatically if it is not fulfilling the requirements explained above.
Friday, September 18, 2020
ORA-65179: cannot keep datafiles for a pluggable database that is not unplugged
SQL> alter pluggable database pdb2 close; Pluggable database altered. SQL> drop pluggable database pdb2; drop pluggable database pdb2 * ERROR at line 1: |
Saturday, September 5, 2020
ORA-19809: limit exceeded for recover files
I faced ORA-19809 when backup of one of my databases failed during archived log backup phase. In our backup script we had a statement “ALTER SYSTEM ARCHIVE LOG CURRENT” just before the backup command for archived redo logs. When ALTER SYSTEM ARCHIVE LOG CURRENT statement was executed, following error stack was returned.
Saturday, August 15, 2020
ORA-10485: Real-Time Query cannot be enabled while applying migration redo
Friday, July 24, 2020
CORRUPTION DETECTED: In redo blocks starting at block in dataguard
Friday, July 17, 2020
ORA-01093: ALTER DATABASE CLOSE only permitted with no sessions connected
Sunday, June 28, 2020
ddl_lock_timeout to avoid ORA-00054
Sunday, June 7, 2020
ASM Disks not Reachable After Reboot - Manually Loading ASM Driver
Monday, May 18, 2020
Not All Endpoints Registered
Tuesday, May 5, 2020
DBMS_AW_EXP: BIN$ZRGxDTT9TumIWFOmM0qIHQ==$0 not AW$
Saturday, May 2, 2020
Initialization parameter setting back to original value
Saturday, March 28, 2020
ORA-00972: identifier is too long
Friday, March 20, 2020
SQL Plan Management and SQL Baseline
Friday, March 6, 2020
gc buffer busy acquire and gc buffer busy release
Sunday, February 23, 2020
ORA-15046: ASM file name...is not in single-file creation form
Friday, February 7, 2020
DBA_TABLESPACE_USAGE_METRICS and CDB_TABLES_ACES_USAGE_METRICS
Friday, January 10, 2020
Adaptive Cursor Sharing
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...