Saturday, November 14, 2020

Script To Schedule RMAN Backups In Crontab

Script To Schedule RMAN Backups In Crontab


vi rman_full_bkp.sh

# $Header: rman_full_bkp.sh
# #################################################
# Script to be used on the crontab to schedule an RMAN Full Backup
# ################################################

# ###############################################
# VARIABLES To be Modified by the user to match the Environment:
# ###############################################

# INSTANCE Name: [Replace ${ORACLE_SID} with your instance SID]
ORACLE_SID=MQPROD

# ORACLE_HOME Location: [Replace ${ORACLE_HOME} with the right ORACLE_HOME path]
ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1

# Backup Location: [Replace /backup/rmanfull with the backup location path]
BACKUPLOC=/u01/app/oracle/example_backups

# Backup LOG location:
RMANLOG=/u01/app/oracle/example_backups/rmanfull.log

# COMPRESSED BACKUP option:[Y|N] [Default ENABLED]
COMPRESSION=Y

# Perform Maintenance based on below Backup & Archivelog Retention: [Y|N] [Default DISABLED]
MAINTENANCEFLAG=N

# Backup Retention "In Days": [Backups older than this retention will be deleted]
BKP_RETENTION=7

# Archives Deletion "In Days": [Archivelogs older than this retention will be deleted]
ARCH_RETENTION=7

# ##################
# GENERIC VARIABLES: [Can be left without modification]
# ##################

# MAX BACKUP Piece Size: [Must be BIGGER than the size of the biggest datafile in the database]
MAX_BKP_PIECE_SIZE=1g

# Show the full DATE and TIME details in the backup log:
NLS_DATE_FORMAT='DD-Mon-YYYY HH24:MI:SS'

export ORACLE_SID
export ORACLE_HOME
export BACKUPLOC
export COMPRESSION
export BKP_RETENTION
export ARCH_RETENTION
export MAX_BKP_PIECE_SIZE
export RMANLOG
export NLS_DATE_FORMAT
export MAINTENANCEFLAG

# Check the selected COMPRESSION option:
case ${COMPRESSION} in
Y|y|YES|Yes|yes|ON|on)
COMPRESSED_BKP="AS COMPRESSED BACKUPSET"
export COMPRESSED_BKP
;;
*)
COMPRESSED_BKP=""
export COMPRESSED_BKP
;;
esac

# Check the selected MAINTENANCE option:
case ${MAINTENANCEFLAG} in
Y|y|YES|Yes|yes|ON|on)
HASH_MAINT=""
export HASH_MAINT
;;
*)
HASH_MAINT="#"
export COMPRESSED_BKP
;;
esac


# Append the date to the backup log for each script execution:
echo "----------------------------" >> ${RMANLOG}
date >> ${RMANLOG}
echo "----------------------------" >> ${RMANLOG}

# ###################
# RMAN SCRIPT Section:
# ###################

${ORACLE_HOME}/bin/rman target / msglog=${RMANLOG} <<EOF
# Configuration Section:
# ---------------------
${HASH_MAINT}CONFIGURE BACKUP OPTIMIZATION ON;
${HASH_MAINT}CONFIGURE CONTROLFILE AUTOBACKUP ON;
${HASH_MAINT}CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '${BACKUPLOC}/%F';
${HASH_MAINT}CONFIGURE SNAPSHOT CONTROLFILE NAME TO '${ORACLE_HOME}/dbs/snapcf_${ORACLE_SID}.f';
## Avoid Deleting archivelogs NOT yet applied on the standby: [When FORCE is not used]
#CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;

# Maintenance Section:
# -------------------
## Crosscheck backups/copied to check for expired backups which are physically not available on the media:
${HASH_MAINT}crosscheck backup completed before 'sysdate-${BKP_RETENTION}' device type disk;
${HASH_MAINT}crosscheck copy completed before 'sysdate-${BKP_RETENTION}' device type disk;
## Report & Delete Obsolete backups which don't meet the RETENTION POLICY:
${HASH_MAINT}REPORT OBSOLETE RECOVERY WINDOW OF ${BKP_RETENTION} DAYS device type disk;
${HASH_MAINT}DELETE NOPROMPT OBSOLETE RECOVERY WINDOW OF ${BKP_RETENTION} DAYS device type disk;
## Delete All EXPIRED backups/copies which are not physically available:
${HASH_MAINT}DELETE NOPROMPT EXPIRED BACKUP COMPLETED BEFORE 'sysdate-${BKP_RETENTION}' device type disk;
${HASH_MAINT}DELETE NOPROMPT EXPIRED COPY COMPLETED BEFORE 'sysdate-${BKP_RETENTION}' device type disk;
## Crosscheck Archivelogs to avoid the backup failure:
${HASH_MAINT}CHANGE ARCHIVELOG ALL CROSSCHECK;
${HASH_MAINT}DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
## Delete Archivelogs older than ARCH_RETENTION days:
${HASH_MAINT}DELETE NOPROMPT archivelog all completed before 'sysdate -${ARCH_RETENTION}';

# Full Backup Script starts here: [Compressed+Controlfile+Archives]
# ------------------------------
run{
allocate channel F1 type disk;
allocate channel F2 type disk;
sql 'alter system archive log current';
BACKUP ${COMPRESSED_BKP}
#MAXSETSIZE ${MAX_BKP_PIECE_SIZE}
NOT BACKED UP SINCE TIME 'SYSDATE-2/24'
INCREMENTAL LEVEL=0
FORMAT '${BACKUPLOC}/%d_%t_%s_%p.bkp' 
FILESPERSET 100
TAG='FULLBKP'
DATABASE include current controlfile PLUS ARCHIVELOG NOT BACKED UP SINCE TIME 'SYSDATE-2/24';
## Backup the controlfile separately:
BACKUP ${COMPRESSED_BKP} CURRENT CONTROLFILE FORMAT '${BACKUPLOC}/CONTROLFILE_%d_%I_%t_%s_%p.bkp' TAG='CONTROLFILE_BKP' REUSE ;
## Trace backup of Controlfile & SPFILE:
SQL "ALTER DATABASE BACKUP CONTROLFILE TO TRACE AS ''${BACKUPLOC}/controlfile.trc'' REUSE";
SQL "CREATE PFILE=''${BACKUPLOC}/init${ORACLE_SID}.ora'' FROM SPFILE";
}
EOF


34 12 * * * "/home/oracle/rman_full_bkp.sh" > /tmp/rmanarch.log

Tue Oct 27 12:32:39 IST 2020





Different Ways To Check The Tablespaces Size

Different Ways To Check The Tablespace Size

 

Script 1.


set colsep |
set linesize 100 pages 100 trimspool on numwidth 14
col name format a25
col owner format a15
col "Used (GB)" format a15
col "Free (GB)" format a15
col "(Used) %" format a15
col "Size (M)" format a15

SELECT d.status "Status", d.tablespace_name "Name", TO_CHAR(NVL(a.bytes / 1024 / 1024 /1024, 0),'99,999,990.90') "Size (GB)", TO_CHAR(NVL(a.bytes - NVL(f.bytes, 0), 0)/1024/1024 /1024,'99999999.99') "Used (GB)", TO_CHAR(NVL(f.bytes / 1024 / 1024 /1024, 0),'99,999,990.90') "Free (GB)", TO_CHAR(NVL((a.bytes - NVL(f.bytes, 0)) / a.bytes * 100, 0), '990.00') "(Used) %" FROM sys.dba_tablespaces d, (select tablespace_name, sum(bytes) bytes from dba_data_files group by tablespace_name) a, (select tablespace_name, sum(bytes) bytes from dba_free_space group by tablespace_name) f WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = f.tablespace_name(+) AND NOT (d.extent_management like 'LOCAL' AND d.contents like 'TEMPORARY') UNION ALL SELECT d.status "Status", d.tablespace_name "Name", TO_CHAR(NVL(a.bytes / 1024 / 1024 /1024, 0),'99,999,990.90') "Size (GB)", TO_CHAR(NVL(t.bytes,0)/1024/1024 /1024,'99999999.99') "Used (GB)", TO_CHAR(NVL((a.bytes -NVL(t.bytes, 0)) / 1024 / 1024 /1024, 0),'99,999,990.90') "Free (GB)",TO_CHAR(NVL(t.bytes / a.bytes * 100, 0), '990.00') "(Used) %" FROM sys.dba_tablespaces d, (select tablespace_name, sum(bytes) bytes from dba_temp_files group by tablespace_name) a, (select tablespace_name, sum(bytes_cached) bytes from v$temp_extent_pool group by tablespace_name) t WHERE d.tablespace_name = a.tablespace_name(+) AND d.tablespace_name = t.tablespace_name(+) AND d.extent_management like 'LOCAL' AND d.contents like 'TEMPORARY';

 

Script 2.

 

set lines 135
column TABLESPACE_NAME for a20
column FILE_NAME for a93
set lines 220 pages 220

 SELECT df.tablespace_name, df.size_mb, f.free_mb, df.max_size_mb, f.free_mb + (df.max_size_mb - df.size_mb) AS max_free_mb, df.file_name FROM   (SELECT file_id, file_name, tablespace_name, TRUNC(bytes/1024/1024) AS size_mb, TRUNC(GREATEST(bytes,maxbytes)/1024/1024) AS max_size_mb FROM   dba_data_files) df, (SELECT TRUNC(SUM(bytes)/1024/1024) AS free_mb, file_id FROM dba_free_space GROUP BY file_id) f WHERE  df.file_id = f.file_id (+) ORDER BY df.tablespace_name, df.file_name;

                                 

Script 3.                                 

                                 

select fs.tablespace_name "Tablespace", (df.totalspace - fs.freespace) "Used MB", fs.freespace "Free MB", df.totalspace "Total MB", round(100 * (fs.freespace / df.totalspace)) "Pct. Free" from (select tablespace_name, round(sum(bytes) / 1048576) TotalSpace from dba_data_files group by tablespace_name ) df, (select tablespace_name, round(sum(bytes) / 1048576) FreeSpace from dba_free_space group by tablespace_name ) fs where df.tablespace_name = fs.tablespace_name order by 1;

  

Script 4.  

 

set pages 80
set lin 120
set echo off
set feed off
column PCT format 999.99
column tbspce format A30
col container for a30

select substr(f.tablespace_name,1,30) tbspce, round(f.tsbytes/(1024*1024),0) "ALLOCATED(MB)", round(nvl(s.segbytes,0)/(1024*1024),0) "USED(MB)", round((nvl(s.segbytes,0)/f.tsbytes)*100,2) PCT, lower(vc.name) as container from (select con_id,tablespace_name,sum(bytes) tsbytes from cdb_data_files group by con_id,tablespace_name) f, (select con_id,tablespace_name,sum(bytes) segbytes from cdb_segments group by con_id,tablespace_name) s, v$containers vc where f.con_id=s.con_id(+) and f.tablespace_name=s.tablespace_name(+) and f.con_id=vc.con_id order by container, tbspce;

 

Script 5.

 



set pages 999
set lines 400

SELECT df.tablespace_name tablespace_name, max(df.autoextensible) auto_ext, round(df.maxbytes / (1024 * 1024), 2) max_ts_size,round((df.bytes - sum(fs.bytes)) / (df.maxbytes) * 100, 2) max_ts_pct_used,round(df.bytes / (1024 * 1024), 2) curr_ts_size,round((df.bytes - sum(fs.bytes)) / (1024 * 1024), 2) used_ts_size,round((df.bytes-sum(fs.bytes)) * 100 / df.bytes, 2) ts_pct_used,round(sum(fs.bytes) / (1024 * 1024), 2) free_ts_size, nvl(round(sum(fs.bytes) * 100 / df.bytes), 2) ts_pct_free FROM dba_free_space fs, (select tablespace_name, sum(bytes) bytes, sum(decode(maxbytes, 0, bytes, maxbytes)) maxbytes, max(autoextensible) autoextensible from dba_data_files group by tablespace_name) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name, df.bytes, df.maxbytes UNION ALL SELECT df.tablespace_name tablespace_name, max(df.autoextensible) auto_ext, round(df.maxbytes / (1024 * 1024), 2) max_ts_size, round((df.bytes - sum(fs.bytes)) / (df.maxbytes) * 100, 2) max_ts_pct_used, round(df.bytes / (1024 * 1024), 2) curr_ts_size, round((df.bytes - sum(fs.bytes)) / (1024 * 1024), 2) used_ts_size, round((df.bytes-sum(fs.bytes)) * 100 / df.bytes, 2) ts_pct_used, round(sum(fs.bytes) / (1024 * 1024), 2) free_ts_size, nvl(round(sum(fs.bytes) * 100 / df.bytes), 2) ts_pct_free FROM (select tablespace_name, bytes_used bytes from V$temp_space_header group by tablespace_name, bytes_free, bytes_used) fs, (select tablespace_name, sum(bytes) bytes, sum(decode(maxbytes, 0, bytes, maxbytes)) maxbytes, max(autoextensible) autoextensible from dba_temp_files group by tablespace_name) df WHERE fs.tablespace_name (+) = df.tablespace_name GROUP BY df.tablespace_name, df.bytes, df.maxbytes ORDER BY 4 DESC;

Oracle Rac Interview Questions

Oracle Rac Interview Questions


  1. How end-user can connect to the RAC Database?
  2. What is a Voting Disk and why we keep an odd number of VD?
  3. What is a split-brain syndrome in RAC? If this issue is there for a longer time, then what happens??
  4. Explain high-level steps to install Oracle 3 node RAC database?
  5. Explain patching types in oracle RAC and steps to apply a patch?
  6. Can we use a different Operating system when configuring RAC?
  7. Clusterware fencing is available from which version?
  8. What are the two methods of Clusterware communication?
  9. How many nodes we can configure in RAC?
  10. Can you use IPv6 for Private IP?
  11. Differences between Single Instance Vs RAC?
  12. What files store in the Clusterware?
  13. What is the File system that certified for RAC?
  14. What protocol used in the oracle RAC interconnect network?
  15. What do you need to plan before migrating Single Instance to RAC?
  16. How many nodes we can configure in RAC?
  17. Can we use a different Operating system when configuring RAC?
  18. Clusterware fencing is available from which version?
  19. What is two methods for Clusterware communication?
  20. How Many IP needed for 2 node RAC according to Oracle best practices?
  21. What is Cache Fusion?
  22. What is GRD?
  23. What is the role of the Voting Disk?
  24. How to check resources in the cluster?
  25. How to check clusters are up ON all nodes?
  26. How to check the cluster is UP on a particular node?
  27. How to bring Down the one specific node in RAC?
  28. What will you check if the query is running slow?
  29. DIfference between Bitmap & B-tree Index?
  30. Tell me Wait Event in RAC?
  31. How many disks in ASM Normal Redundancy?
  32. How to create Data Guard?
  33. How to fix the gap in Data Guard?
  34. Difference between DBFile Sequential and Scattered Reads?
  35. What is Fragmentation in Oracle Database?
  36. Table Fragmentation in Oracle Database?
  37. How to recover Table in oracle database?
  38. Can we transfer the data between Linux to windows?
  39. Difference between b-tree and bitmap index?
  40. What is gc cr request in RAC?
  41. What is the Library cache lock? When it will occur?
  42. How you solve Library cache lock issues?
  43. Library cache Lock issues In AWR which section you will look in to?
  44. In Library cache lock how connection management call elapsed time will impact?
  45. One user fire select statement for the long table after that one user drop that table. then what will happen for a select query?
  46. Rolling Upgrade in Oracle RAC?
  47. How to Fix the log switches problem?
  48. Oracle Database “19c New Features”?
  49. How to check ASM status?
  50. Have you done ASM metadata backup?
  51. What is SQL BaseLine?
  52. What are the two source attributes for SQL Base Line?
  53. How to Create a SQL Base Line?
  54. In one Table Index is there but Optimizer is not using index what will be the reason?
  55. What are Deadlocks? How it will be resolved?
  56. One user A Started a Transaction after that user B started the transaction on the same row in that table. So Deadlock occurs. Which user Transaction will rollback? DBA will rollback or it happens automatically?
  57. What are the Locks? Tell me the name Object Type of Lock?
  58. If user Fire Select query Statement so Lock will happen or not?
  59. When the user fires the Select statement than in backend how it will execute?
  60. What is the SQL patch? Why did we use it?


Oracle Database Interview Questions

Oracle Database Interview Questions

  1. What is the section you will look into in the AWR Report to improve the DB performance?
  2. What is the basic parameter you will set for RMAN?
  3. What is the troubleshooting you did in your daily activities?
  4. Why we do CF Multiplexing?
  5. How you can replace Optimizer EP for your Query?
  6. How you will get the datafile block corruption information?
  7. For SQL Query Improvement what you will do?
  8. For SQL Query Problem what section you will look into?
  9. What is Bind Peeking Variable?
  10. What is Free Buffer Busy Wait?
  11. How to change the DB name?
  12. What are things you look into when you are creating a Test Environment from a Production Environment? (loading production data in a test environment)
  13. How to attach any parameters in the running job if you don’t know ENCRYPTION_PASSWORD?(my dump file has an encryption password)
  14. How to Attaching a parameter to a running Job?
  15. How to Identifying data pump jobs?
  16. How to Refresh Database from PROD to TEST?
  17. What are the types of Hints we can use for Optimizer?
  18. In the Oracle SQL execution plan what columns you will look into?
  19. How to read & understand the EP?
  20. Why do bind variables matter for performance?
  21. If your standby database is lagging relative to the primary database, you should focus on which areas?
  22. How You Determining transport or apply lag is done on the standby database?
  23. How you Find local time on the standby database when the datum used to compute the metric was received it means (the lag metrics are computed based on data that's periodically received from the primary database)?
  24. How you will Find out the history of apply lag values since the standby instance was last started?
  25. How to monitor and assess redo apply performance?
  26. What are the RECOVERY PROCESS WAIT EVENTS in Data Guard?
  27. Which Script creates the standby statspack schema to hold the standby snapshots?
  28. Which script generates the standby statistics report?
  29. Which script is used to purge a set of snapshots in the Data Guard?
  30. Which script drops the stdbyperf user and tables?
  31. Can A logical standby accept archived logs while a rolling upgrade is taking place?
  32. How to determine whether any tables involved in a rolling upgrade performed with the
  33. DBMS_ROLLING PL/SQL package contains unsupported data types?
  34. Can we transport of redo data to a Recovery Appliance?
  35. For rolling upgrades which Procedure Support?
  36. Can we rename the data file on the standby site when the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO?
  37. If the standby site is not receiving redo data, Which view you will check for error messages?
  38. Can we mount the standby database if the standby control file was not created?
  39. If you specify REOPEN for a MANDATORY destination, and redo data is not transmitted then what will happen on Primary Database?
  40. Which tool(Procedure) you will use for handling logical standby database failures?
  41. If the switchover does not complete successfully, which view you will check?
  42. Can we move an online datafile in a data guard from one physical file to another physical file while the database is actively accessing the file?
  43. Can we create a physical standby of a Multitenant container database(CDB)?
  44. Can we use SYNC & NOAFFIRM ATTRIBUTES use together in maximum availability mode?
  45. Using CURRENT LOGFILE clause is required to start real-time apply in data guard?
  46. Can we do DML operations on global temporary tables on Oracle Active Data Guard standbys?
  47. Can we use sequences in an Oracle Active Data Guard environment?
  48. When you perform a switchover from an Oracle RAC primary database to a physical standby database, it is necessary to shut down all but one primary database instance?
  49. Can we use Application Continuity Feature for Oracle Data Guard switchovers to physical standby databases?
  50. Can we use Application Continuity Feature for fast-start failover to physical standbys in maximum availability data protection mode?
  51. Can we create a logical standby of a CDB?
  52. What is the prerequisite required for data pump export and Import?
  53. If performance is slow in the Data pump, what will you do?
  54. How you will monitor the Data pump activity?
  55. What are the migration's high-level steps in Azure?
  56. What are the factors DBA should look into Migration?
  57. We are using RMAN backup for migration but it is taking too much time and we have 4 hrs window to migrate, What will be your approach and Will data guard be beneficial for this problem?
  58. How you will improve RMAN performance?
  59. Difference between OEM 12c and 13c?
  60. If we remove a database target from OEM does it remove the database from the host or just monitoring?
  61. How to remove an agent from the host?
  62. How does authentication happen in Oracle Database? Where it will authenticate in DB and OS system?
  63. Tell me about Oracle Architecture? & What are the Instance and Database?
  64. What is LGWR? How many LGWR is there, can we increase LGWR?
  65. If LGWR is slow then what could be the reason for that? How you will troubleshoot? What would the solution you could give?
  66. How you will export the 8i database to 12c? In testing, it is taking 2 hours and in production, now it is taking 4 hours what you will check? how you could improve the performance of this activity?
  67. How you will migrate the database using RMAN? If it is slow, how you will increase the performance?
  68. How you will Migrate using a Data pump?
  69. What is the prerequisite required for data pump export and Import?
  70. If performance is slow in the Data pump, what will you do?
  71. How you will monitor this Data pump activity?
  72. Data-pump is an optional process in GG, then why Oracle recommends it to use?
  73. How you will log in to the GG console?
  74. How will you check GG is running on the server or not?
  75. What you will check if the SELECT query is running slow?
  76. You generate an explain plan and found that full table scan, how you can avoid that, what is your suggestion on this?
  77. What is the difference between a full table scan and an index scan?
  78. Which one is better, a full table scan, or Index scan?
  79. What are db file sequential read  Wait Event & db file scattered read  Wait Event?
  80. If I have to update one column value, what will happen in the background? How many memory components and processes will involve in this transaction?
  81. Can we increase the DB writer process and MAX DB writer processes? What will be the benefit I will get if I increase it?
  82. What are the karnal parameters dba will set in the database Installation?
  83. What is shmmni, shmall & shmmax?
  84. What is MMAN, MMON processes?
  85. Data got deleted from a table, how you will recover?
  86. Can we perform the table recovery in 11g or not?
  87. The value of the Standby management parameter is manual, and activities are going on in production, what will you do to sync standby?
  88. What is the data guard protection mode? and what are the difference among all?
  89. What are the processes involved in Data guard?
  90. If the archive is not being applied on DG, from where you will start troubleshooting? and which is the dynamic view to check an error?
  91. What are the main processes of the golden gate?
  92. What is the difference between exp/imp and expdp/impdp?
  93. What is the difference between delete and truncate command?
  94. What is cache fusion? Which process do cache fusion?
  95. Earlier we had a buffer option to speed up logical backup. Which option do we use now in 11g?
  96. What is the ORA-01555 error?
  97. What is a flashback and what is mandatory for a flashback?
  98. We have two database D1 and D2 and the D1 database doesn't have space so how will you take an export of D1?
  99. You are using Toad and you are running procedure and you get a TNS error what is the reason?
  100. Where is the location of the RAC CRS cluster alert log?
  101. If the undo file is corrupted what will you do?
  102. How to create ACFs?
  103. What is async noaffirm?
  104. What is the backup location of OCR?
  105. What is the actual size and mirror size in V$ASM_DISKGROUP?
  106. How many IPs are configured in HAIP and why it is used and can we replace it with something?
  107. How to check if HAIP is up and down?
  108. Public and private are on the same subnet mask or different?
  109. What is block change tracking and when it is used before level 0,level1, or after that?
  110. How to set FRA?
  111. How to set a recycle bin?
  112. How to do schema refresh?
  113. How to check the backup completed or not?
  114. How to check which query is taking a long time?
  115. How to check tablespace is full or not?
  116. How to unlock the schema?
  117. How you will check about the patch?
  118. What is the snapshot too old error?
  119. If we take a full backup on Wednesday and after that, we take incremental backup on Tuesday and Friday, and on Sunday database crashed so how you will perform recovery?
  120. How to add datafile?
  121. How to resize tablespace?
  122. How to resize the logfile member?
  123. What happens if we kill SMON process?
  124. What is the diffrent b/w user and schema?
  125. What is the diffrent b/w rman back and import export?
  126. How to check the location of CRSD files?
  127. If we create a new database which parameter is important to check?
  128. What is the process of the startup?
  129. What is the different b/w incremental and cumulative backup?
  130. What is the hot and cold backup.?
  131. How to resize the redo log member?
  132. Tell me the mandatory background process?
  133. We have multiple control files in multiple locations. and we lost
  134. control file so how to recover control file?
  135. How to give permission to access the database?
  136. What is cloning?
  137. What is Rman cloning?
  138. What is a materialized view?
  139. What is the undo management? What happens if we delete some rows and give commit? How to rollback data?
  140. What is the prerequisite of RAC?
  141. What is cache fusion?
  142. What is the prerequisite of the data guard?
  143. What is Fragmentation in Oracle Database?
  144. What is Table Fragmentation in Oracle Database?
  145. Can we transfer the data between Linux to Windows?
  146. Difference between b-tree and bitmap index.
  147. How to troubleshoot a slow running query in Oracle?
  148. What is GC cr request in RAC?
  149. Which BR strategy is good for prod DB?
  150. 2 Tb schema how you will refresh?
  151. How will you ensure your patch is applied successfully?
  152. What are the minimum required parameters in pfile?
  153. What is Rolling Upgrade in Oracle RAC?
  154. How to Fix the log switches problem?
  155. Tell me Oracle Database “19c New Features”?
  156. How to check ASM status?
  157. How you will do ASM metadata backup?
  158. How many disks in ASM Normal Redundancy?
  159. How to fix the gap in the data guard?
  160. How to create a data guard?
  161. Difference between DBFile Sequential and Scattered Reads?
  162. How to recover Table in oracle database?
  163. If your current redo member got corrupted, will the database hang? If yes, how will you overcome this situation?
  164. If you have increment level 0 backup and you have to restore it on a fresh server, how will you do it?
  165. When do you propose a RAC solution to your business client? Why RAC environment is beneficial over a single instance database?
  166. What is the difference between maximum performance, maximum protection & maximum availability in Data Guard?
  167. What is the Default mode in Data Guard?
  168. What is the Difference between Incremental Differential and Incremental Cumulative backup?
  169. If LOB object is taking much time to export what will be your action?
  170. If node evictions occur? what will be your approach?
  171. How many voting disks are required to set up the RAC?
  172. If you have added datafile in the primary database but it was not added in standby due to space issue, then what will you do to correct it?
  173. If the Archiver process killed, then what will be the impact on the database?
  174. Why do you prefer the data pump over exp/imp?
  175. What is the parameter to make data pump operation faster?
  176. What is the parameter used to take consistent backup?
  177. What flashback_scn does?
  178. If you came in shift and you have to monitor an ongoing import job, how will you do it?
  179. How to resume a data pump job and from where it will take info?
  180. Tell me common wait events in the database?
  181. What precautions will you take before upgrading the production database?
  182. If your upgrade is failed for some reason, and the client wants the database to be running ASAP, how can you do that?
  183. If archives are not shipping to standby what are the different reasons?
  184. What is relation b/w DB time and elapsed time and no CPU?
  185. What is logfile sync?
  186. RAC installation steps?
  187. How to upgrade 11.2.0.1 to 11.2.0.3 database?
  188. How to apply rolling and non-rolling patches and auto patches?
  189. What will happen if grid unlocks?
  190. What are the issues faced in RAC?
  191. Why node eviction will occur?
  192. How to take the backup of OCR File and Voting Disk?
  193. How to run and read the execution plan?
  194. In the case of OS patch what will be your task as a dba?
  195. Difference between physical and logical standby?
  196. What is the Functionality of the dg broker?
  197. How do u monitor databases on a daily basis?
  198. What is automatic memory management?
  199. How to rename a datafile?
  200. If I set memory_max_target to 8gb and want to set memory_target to 10gb. How can I do it?
  201. If you have 10GB memory for your instance from which 4GB is allocated to SGA. Now I have made 20GB memory available for your instance and want to change SGA size to 8GB. How can you do it? Will there be any limitations to do this?
  202. How to check free space in ASM disk?
  203. How to take a backup of Voting Disk?
  204. How to check the location of the Voting Disk?
  205. How many IPs you have in 2 node RAC?
  206. What is SCAN?
  207. How the SCAN is useful in 11g?
  208. What is VIP?
  209. What is the use of Public IP, Private IP, VIP & SCAN IP use in RAC?
  210. How the Client gets Connected to Instance?
  211. If you have many instances in the RAC environment, how clients connect to a particular instance?
  212. How to check the index on a particular table?
  213. What is the difference between 11g and 12c RMAN?
  214. If your restoration got failed for some reason, then how you can resume it in RMAN?
  215. What action you will take to avoid Archive full issue?
  216. Where are redo logs stored in RAC? Locally or shared storage?
  217. How to identify the master node in RAC?
  218. If one node goes down, then services will failover to which node?
  219. What are OLR and OCR?
  220. Why we should have an odd number of voting disks?
  221. Explain the startup sequence of Clusterware?
  222. What happens in the background during switchover?
  223. What is Dynamic Sampling?
  224. What is the purpose of kernel parameters?
  225. What are diff b/w exp/imp and data pump?
  226. What is partitioning? & on what basis you will do the partitioning?
  227. Which parameters affect the performance of dB?
  228. How to increase the restore speed in database recovery?
  229. How to restore crashed undo?
  230. Why the data pump is fast?
  231. What is oracle restart?
  232. If the user has dropped the table, how will u recover it?