Oracle Interview Questions
Oracle Interview Questions
By Ahmad
Ok I’m ?
ASM types disks ? And
How to check asm after added by os team ? Where you will check
What is maximum size of asm disk, asm disk group?
Datafile size depends upon ?
Performance tuning ?
Exadata components ?
Basics of golden date architecture
Oracle 12c features and snapshot standby concepts
Ora 1555 error ? Solution
Rman backup types ?
Q1) Why do you think using Data Guard by Oracle is helpful to our work?
The benefits of using the software are many in any environment dealing with data. It ensures that the
data stays protected and easily available. You get to take the load off from backups to standby
operations database. The problems like gaps in the standby database are automatically detected
Q2) Name the three top services offered by the Data Guard software?
The three protection modes that are available include maximum availability, protection and
performance.
● The main advantage of this default mode is that the performance of the primary data is not
affected while the highest possible level of protection for the data is ensured. The
transactions begin to commit as soon as the redone data produced by the transactions get
shuts down and stops processing the transaction when this protection mode is enabled. So with this
protection mode, you can be assured that there will be no data loss.
The redone data must get written in two places before committing the transaction- the online log and
a standby database. This way the primary database can shut down but the data remains intact.
The biggest advantage with one is that the availability of the primary database is uncompromised but
the maximum possible level of protection is offered to the data. The transactions with this protection
mode only commits when all the redone data needed to recover the transactions get written to a
3. Select from the three available options of performance, availability and protection
It depends on what version of the software that is at your disposal. The general number ranges from
The following easy steps can create a physical standby in the software:
● Configure the needful settings that support database of both the nodes.
Q12) Mention the chief advantages of using Physical database standby in the software.
2. The high capability of balancing the load including both reporting as well as backup.
Four basic services are required on the primary database. They are as follows:
1. The Log Writer: Updates the online redone logs by collecting the information. It creates
localized archived logs and causes the transmission of the redo ones to the standby bases.
2. The Archive Process: Copying of the online redone logs for the standby bases in a remote
or localized manner.
3. The Fetch Archive Log: Servicing of the request for archived logs from the Fetch Archive
Log customers that run on more than one standby bases. More than one server can run on
the primary database where for each Fetch Archive Log request, there is one server.
4. Log Network: It gets used on the primary database to establish a connection with that of
standby.
1. Fetch Archive Log: The archived redo files get pulled from primary sites. The transfer of
2. Remote File: The Primary database is used to receive the archived or standby redone
logs. You can get both the archived and the standby logs together as well.
3. Archive Process: The standby redone logs that get applied by managed recovery are
4. Managed Recovery: The archived redo log details are applied to the standby databank.
Q15) How would you delay an application of the logs to the physical standby mode?
The standby gets naturally applied to the redo logs at the time of their arrival from primary database.
There are times when a time lag is needed to be created between archiving a redo log at the primary
You need to modify the parameter for initialization on the primary site to lead to a delay on the
standby site. For instance, if you want a delay of one hour, you can set log for delay at sixty minutes.
It is worth mentioning in this regard that the delay is always given in minutes in the format of, for
instance, 60′.
With this action, the redo logs are still copied from the primary to standby site but it does not
immediately applied. They get applied after the expiry of the specific time interval that has been set.
It is used for controlling the automatic transmission of redo data of the production database in one or
2. The management of the process of handling gaps in archive log files initiated as a result of the
failure of network.
3. Automatic detection of missing or corrupted archived log files in a standby database. It also
automatically retrieves the replacement archived redone log from either the primary or standby
system.
The biggest difference between the two databases is the way of application of services to the
For the physical database, the software has a technology called Redo Apply. This one applies the
redo on the standby system by the use of the basic recovery technique of the software.For the
standard database, the software uses a technology called SQL. This one first transforms the redo it
receives into statements and afterwards the execution of the statements on the standby system is
initiated.
The Broker helps in the management of standby and primary bases by the utilization of
command-line, broker or graphical interfaces. These are integrated in the Enterprise Manager
software by Oracle.
Q19) What are the tasks that you can perform using Broker?
It can be used to provide five benefits which have been listed below:
● Creating and enabling configurations for the software. This includes factors like
the apply and the transport redo services.
● Monitoring and managing of the configurations that have the standby or the
primary data.
● Simplification of failover and switchover by letting their invocation by using either
one key click or by the use of a single command in the interface available in the
software.
● On the unavailability of the primary data, the fast and start failover is enabled to
failover naturally. When this failover gets enabled, the broker of the software
determines the necessity of a failover. If it is deemed necessary, then it is
initiated to the standby system naturally. There is no need of intervention from
database application.
The logical database is created similar to the physical and standby database. The structure of the
logical database can get altered at a later point in time. The sync with standby and the primary is
made easy by the utilization of SQL. The received logs of redo are made into statements and they
are continuously applied into logical database. This way the standby system is made consistent with
the primary. The report of purpose is made easier with logical standby as compared to the physical
one. The logical database is available in both read-write modes. The tables that are in sync with
primary data are made available in read-only operations only. So you get the availability on some
Q21) What are the disadvantages that are associated with the Logical Standby systems?
The only major disadvantage that this one has is in the matters of types of tables and a few of the
data functions. On the overall aspects, it is held as having an advantage on the physical database.
Q22) Can this software get used with the standard edition released by the makers?
There are certain automated features that are not available in the standard edition. You can ship logs
and write the scripts manually to get the steps done. On certain platforms, you get to write the scripts
and then use the commands to ship it to standby system. The recovery is then carried out manually
The software is a huge advantage in the firms that require handling of large amounts of data. The
certification in this software helps to smoothen out the large data processes. You can save the
corruption of data and provide the ease of data recovery. The trained professional becomes an
inevitable asset to the company whenever it goes through any kind of data emergency. The basic yet
complicated job of data backup and processing is made easy by the use of the software. The trained
professional in this software is an important troubleshooter for the company which is what gives a
The apply services refer to the application of the redo data on the standby system to keep the
transactional sync with the primary system. This redo data can get applied from either archived redo
files or from the standby redo files directly as they get filled. The application from the from the
standby redo files is only possible if the real-time facility gets enabled. It does not require the redo
log to get archived at the standby system first. One of the main features of this service is that it also
diference between crsctl stop crs and crsctl stop cluster -all ?
what is IPMI ?
what is ADVM ?
how to copy files between asm instances ?
if node is down, what will happen to acfs on that node ?
i have 50gb of table to be selected, 30g of db buffer cache and 40gb of sga ? what will happen
to my query ?
what is global inventory and local inventory ?
what is OCSSD ? what is the primary operation for it ?
what is client side load balancing and server side load balancing ?
what is scan vip and scan listener ?
what is TAF ? different types of TAF ?
in which diskgroup we can place voting disk ?
what is variable extent space management in ASM ?
what are the phases of rebalance how will you analyse it ?
what is snapshot controlfile ?
what is options available in dbnodeupdate.sh ? -u,-l,-p,-c
what is sundiag, tfactl and exacheck ? Sundiag is used to diagnose the problems in the disks in
Exadata. /opt/oracle.SupportTools/sundiag.sh.tfactl diagcollect command to perform on-demand
diagnostic collection. You can specify a specific time of an incident or a time range for data to be
collected, and determine if whole files that have relevant data should be collected or just a time
interval of data from those files. Exacheck tool checks your Oracle Exadata Database Machine
configuration, software, critical issue and provides a Maximum Availability Architecture score. It
is required to run before and after Exadata patching and is good practice to run on a frequent
basis and review the recommendations.
find the location of ASM spfile if the ASM is down ? gpnptool getpval -asm_spf
find GPnP Deamons are running on the local node ? gpnptool lfind
archive log corrupted in standby and out of sync with primary. MEanwhile datafile has been
added in primary, .. how will you make standby in sync with primary.?
in tts how will you check if tablespace has dependent with other tablespaces ?
how do you replace ocr ?
what is the use of calibrate commmand ?
if primary is failed over to standby. Existing primary db came up, do the db will be in sync with
new primary (standby) ? how do you do that ?
shall we create a restore point in standby ?
What are wait events in RAC ?
What are GC buffer busy waits ? and other RAC related wait events.?
Do a wait event cause node eviction ? if so can you share your experiences on it !
what is LNS LMOd GCS GES GRD ? in RAC ?
if multiple instances require same set of data blocks how the RAC process it ? and how can be
contention handled in such scenarios?
what is main advantage of using exadata than normal RAC system ? share some insights !
There are 30 to 40 indexes on a table how to find which indexes are used for retrieving data and
used widely in explain plan and others are dead weight to the database!?
how to run an update statement for a table which updates nearly 500 million rows without
impacting the database or locking the database? or how to improve performance of the update
what are the checks you do for a normal production database ? daily checks ?
how to overcome I/O for a table ? disk I/O where wil you check disk I/O in awr reports ?
ways to make rman backups faster ?
Control file can't be recovered from the backup how to start the database in such scenarios ?
what does happen when u kigive shutdown immediate and shut abort ? explain what happens at
background
An user complains that he was facing issue a while ago and the transactions were hanging. and
it's fine after few minutes? what steps you take to analyze the issue ?
Is one voting disk enough for RAC how to add voting disk to new diskgroup with normal or high
redundancy ?
RAC: Frequently asked questions RAC FAQ DOC I'd - 220970.1