Practical Oracle Database administration, RAC, ASM, Data Guard, RMAN, Exadata, performance tuning, production troubleshooting and everything about the Oracle World
Oracle training based on real-time expertise as per industry standards. Upcoming batch details are here.
View batch scheduleFree Oracle mock interview. Register using the link.
Register#DBAchallenge: submit your questions.
Ask questionsFriday, August 29, 2025
Easy/Different steps build lower environment or build your DR setup
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Wednesday, May 7, 2025
ORA-01156: recovery or flashback in progress may need access to files
ORA-01156: recovery or flashback in progress may need access to files
Issue:
Error Message:
Cause:
Fix:
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Tuesday, April 2, 2024
DataGuard sync status monitor automation script
1. Connect PROD and check the oldest archive log and perform couple of logswitches
2. Execute the DG gap script to monitore or check the DG sync status between PROD and DR
3. DG gap monitor script
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Monday, June 6, 2022
#DBAchallenge -5 || Questions on corruption, DR sync issues, FRA & RAC – Cache Fusion & Split Brain Syndrome
Interesting Question 11...
Detected block corruption on one of the datafile in your Physical Standby database..
How you will recover that block corruption on your Physical Standby Database?
Answer 11…
---We have
db_block_checking, db_block_checksum, db_ultra_safe, db_lost_write_protect
parameters in both primary and Standby and this can prevent it.
--- We can set
the above parameter which will prevent the block corruption.
--- In case if
corruption happens then Active DataGuard Database will perform corruption
detection, prevention, and automatic repair where as in normal physical standby
database we need to manually recover the corrupted blocks using valid backups.
Resolving Logical Block Corruption Errors in a Physical Standby Database (Doc ID 2821699.1)
V$DATABASE_BLOCK_CORRUPTION
RMAN>
RECOVER BLOCK DATAFILE 7 BLOCK 3;
Interesting Question 12...
Production database archive destination is full What is your immediate workaround or fix?
Considering scenario...
Case1: Your archive destination is set to FRA
Case2: Your archive destination is set to some custom location other than FRA.
Answer 12…
Case1:
--- We can
increase the FRA size if there free space available physically.
--- Delete older
archive logs if possible from FRA location.
--- Take RMAN
backup with delete input.
--- Temporarily
change the archive log location to some temporary location
--- Move some
files from FRA location to some temporary location
Case 2:
--- We can
increase the Archive log destination size if there free space available
physically.
--- Delete older
archive logs if possible from Archive location.
--- Take RMAN
backup with delete input.
--- Temporarily
change the archive log location to some temporary location
--- Move some
files from Archive location to some temporary location
Interesting Question 13...
Your Standby/DR database goes out of sync then How you will make it sync?
Considering
scenario.
Case1:
Few archive logs gap
Case2:
Huge archive log gap
Case3: archive logs deleted/missing from primarily without applying DR/Standby
Answer 13…
Case1:
--- If its
temporary network issue then fal_server & fal_client it will resolve the
archive gap
--- Copy the
missing archives to stand by side and catalogue them and start mrp.
Case2:
--- Do
rollforward incremental restore by taking incremental backup from PROD and
restore on DR
--- Do
rollforward automatic incremental restore using service name starting from 12c
Case3:
--- Do
rollforward incremental restore by taking incremental backup from PROD and
restore on DR
--- Do
rollforward automatic incremental restore using service name starting from 12c
Steps
to perform for Rolling Forward a Physical Standby Database using RMAN
Incremental Backup. (Doc ID 836986.1)
Rolling
Forward a Physical Standby Using Recover From Service Command in 12c (Doc ID
1987763.1)
Interesting Question 14...
What is TAF in RAC?
Where you configure TAF? Client side or Server side?
Will TAF support DML statements?
Answer 14…
--- TAF: Transparant
application failover.
--- TAF can be
configured on server side as well client side.
--- Server Side:
--- Service attributes are used server-side
to hold the TAF configuration.
--- Client side:
--- We can use tnsnames.ora file to
configure TAF.
Transparent
application failover... In case
any instance crashed The application sessions will be failed over to active
instance and select statements will continue to run where it left over again.
--- Best recommendation
is to configure on server side and TAF will not support DML statement
Interesting Question 15...
What is
cache fusion in RAC?
What is
split brain syndrome in RAC?
What is
simple Majority Rule in RAC?
Why we should have odd number of voting disks in RAC? What happens if we have even number of voting disks?
Answer 15…
--- Cache
Fusion: Transferring blocks from one cluster Instance to Other cluster
Instance (SGA to SGA)
--- Suppose if I have 4 nodes RAC cluster,
if the block is available on Node1 and the user session connect to
Node2/Node3/Node4 needs the same block then directly block is transferred from
Node1 not from disk (or datafile)
--- This Cache Fusion will use the cluster Private
network for transferring the blocks
--- Spilt Brain
Syndrome: If the nodes are not able to communicate each other then each
cluster nodes act like individual clusters, This situation is called as split
brain syndrome
---
When cluster get into a spilt brain syndrome any of the nodes which are not
communicating those will be evicted from the cluster based on the voting disk.
--- Based on the simple majority rule
whichever nodes writing more data into voting disks will be kept on cluster and
whichever nodes written less data into voting disks will be evicted from
cluster.
--- Always its recommended to keep odd
number of voting disks to meet the simple majority rule
--- Simple
Majority Rule: Keeping Odd number of voting disks will helps us to resolve
the split brain syndrome situation.
---
If we have odd number of voting disks it easy identify the which nodes written
the more data into voting disks and which nodes are written less data into
disks.
trunc{(n/2)+1} n=number of
voting disks configured and n>=1
Network
Heartbeat: Node to node
communication via private network
--- Network ping
Disk Heartbeat: Node to Voting disk communication via private
network
--- Disk ping
Interesting Question 16...
I have a server where 10 standalone database are running on filesystem and multiple Oracle Homes.
Somebody deleted /etc/oratab, in that case How we can check which database belongs to which Oracle Home?
Answer 16…
--- Check listener config files and listener status
find out which are databases are registered on that listener
--- Check the respective tnsnames.ora file under each Oracle
Home $ORACLE_HOME/network/admin location or $TNS_ADMIN location
--- Check central inventory.xml under central
inventory (/u01/app/oraInventory/ContextXML/inventory.xml)
--- Check
/etc/oraInst.loc to get the central inventory location
--- Check local inventory.xml under local inventory on
each Oracle Home ($ORACLE_HOME/oraInventory/ContextXML/inventory.xml &
comps.xml)
--- Check
/etc/oraInst.loc to get the central inventory location
--- We can find it from password file under respective
Oracle Home
--- orapw<SID/DBNAME>
--- If there are any setting under .bash_profile or
any login bash script we can refer
Regards,
Mallik
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Wednesday, May 19, 2021
Live RAC Dataguard Implementation & Dataguard Internals
Live RAC Dataguard Implementation & Dataguard Internals
Join Zoom Meeting - Sat 22-May-2021 @ 7:30 PM
https://us02web.zoom.us/j/84744191482?pwd=R0dNQ3pRTVJtcWkyZVlHYUVYeDlvZz09
Agenda:
Dataguard Complete Understanding
Dataguard Parameters – Review & Understanding
RAC Dataguard Implementation – Demo
Q&A
Regards,
Mallik
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Sunday, May 31, 2020
Create Physical Standby Database using RMAN Backup Restore
In this article, we will see Physical Standby database creation
and configuration using RMAN
backup and restore.
Step 1: Connect to the Primary database and check if recovery area
show parameter db_recovery
Step 2: Connect to RMAN and take backup
rman target /
backup database plus archivelog;
Step 3: Create standby control file from the primary database and create pfile from spfile.
ALTER DATABASE CREATE STANDBY
CONTROLFILE AS '/u01/DEVDRDB.ctl';
CREATE PFILE FROM SPFILE;
Step 4: Change following parameter in pfile.
CHANGE FOLLOWING PARAMETER IN PFILE
*.db_unique_name='DEVDRDB'
*.fal_server='DEVDB'
*.log_archive_dest_2='SERVICE=DEVDB ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=DEVDB'
Step 5: Connect to Standby database server and create necessary directories.
mkdir -p
/u01/app/oracle/oradata/DEVDRDB/datafile
mkdir -p
/u01/app/oracle/oradata/DEVDRDB/controlfile
mkdir -p
/u01/app/oracle/fast_recovery_area/DEVDRDB/controlfile
mkdir -p
/u01/app/oracle/oradata/DEVDRDB/onlinelog
mkdir -p /u01/app/oracle/fast_recovery_area/DEVDRDB/onlinelog
Step 6: Transfer standby control file to standby database and rename it as defined in control_files initialization parameter.
Step 7: Transfer backup to Standby database server
Step 8: Transfer pfile to standby database
Step 9: Transfer password file to standby database.
Step 10: Connect to Standby
database and create spfile from pfile.
create spfile from pfile;
Step 11: In standby database connect to RMAN and start the database in mount stage.
rman target /
startup mount
Step 12: Restore database using restore database command.
restore database;
Step 13: Connect to SQL prompt of standby database and create redo log files.
alter system set standby_file_management=manual;
alter database add logfile
('/u01/app/oracle/oradata/DEVDRDB/onlinelog/redo01.log') size 512m;
alter database add logfile
('/u01/app/oracle/oradata/DEVDRDB/onlinelog/redo02.log') size 512m;
alter database add logfile
('/u01/app/oracle/oradata/DEVDRDB/onlinelog/redo03.log') size 512m;
alter database add logfile
('/u01/app/oracle/fast_recovery_area/DEVDRDB/onlinelog/redo01.log') size 512m;
alter database add logfile
('/u01/app/oracle/fast_recovery_area/DEVDRDB/onlinelog/redo02.log') size 512m;
alter database add logfile
('/u01/app/oracle/fast_recovery_area/DEVDRDB/onlinelog/redo03.log') size 512m;
alter system set standby_file_management=AUTO;
Check Standby database synchronization with the Primary database
Step 14: Connect
to the Primary database and check the role of the primary database.
select name,open_mode,database_role from v$database;
Step 15: Connect to Standby database and check the role of the database.
select name,open_mode,database_role from v$database;
Step 16: Check maximum archive log sequence from the primary.
select max(sequence#) from v$thread;
Step 17: Check maximum archive log sequence from standby database.
select max(sequence#) from v$thread;
Step 18: Start the MRP process at standby side.
alter database recover managed standby database disconnect from session;
alter database recover managed standby database cancel;
Step 19: Switch logfile at primary database
alter system switch logfile;
Step 20: Check again max archive log sequence at the standby database.
select max(sequence#) from v$thread;
Regards,Mallik
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
Saturday, May 2, 2020
Data Guard Complete Understanding
With Data Guard:
Standby Database Types
Physical Standby
Logical Standby
ARCH Redo Transmission
LGWR Redo (ASYNC) Transmission
THE ORACLE SME – ORACLE ACE, EXADATA, OCI, OCP, OCA, RAC EXPERT.
Mallikarjun Ramadurg is the one of the active member of Oracle Community.
Mallikarjun is an Oracle DBA and EXADATA administration Expert and has a deep knowledge in Oracle EBS APPS. He is having more than 11 Years of experience. He has got In-depth knowledge of database design, build, cloning and administration and he has got good exposure to environments like database HA, RAC, Oracle Cloud and Datawarehouse.
He has worked on Oracle ERP, having sound knowledge on EBS application administration, apps cloning and upgradation, patching, security and performance turning.
He has worked on informatica administration, implementation, design, mappings, workflows. He has good knowledge on data modeling, Erwin data modeling.
He has good hands-on experience in Oracle Cloud and infrastructure level.
He is currently working as Oracle SME & Staff Customer Success Engineer @ Rubrik Inc, Bangalore India
🌟 Proud to be an Oracle ACE Pro! 🚀
🌟 Proud to be an Oracle ACE Pro! 🚀 I’m excited to share my official Oracle ACE Profile with the Oracle community. 👨💻 Mallikarjun ...
-
Installing Oracle AI Database Free 26ai RPM on Linux x86-64 Oracle AI Database Free 26ai can be installed on supported Linux platforms...
-
Copy password file from FS to ASM diskgroup: 1. Verify passwordile available on FS [oracle@oraclenode1 ~]$ ll /tmp/orapwRAC12C -rw-r----- 1...
-
How to Enable SSH Root Login on Oracle Enterprise Linux 9 (OEL9) While setting up an Oracle Enterprise Linux 9 (OEL9) server, I en...
-
RAC DB file system structure +++++++++++++++++++++++++++++ 1. Spfile ---- will be in ASM diskgroup and shared by both DB instance srvctl c...
-
🚀 Oracle DBA & RAC – Upcoming Batches | Vismo Technologies 🔥 📘 FAQ Document: Get complete details about the course, prerequ...





