Oracle
Apps DBA Interview Questions
This is the Interview season, with lots of openings World Wide. I have listed some of the very common Apps DBA interview questions faced by me. The answers are listed after each question. All the Best.....!
File System
1. What all directories will be there under any “product” top
1. What all directories will be there under any “product” top
Ans àcd $AP_TOP (Example of product top AP)
(Below are various directory under each product top – ad, ap, gl..)
admin bin forms help html lib log mds media mesg out patch reports sql xml
admin bin forms help html lib log mds media mesg out patch reports sql xml
$ Here directory “forms”
contains all .fmx (compiled version of forms)
2. Where are .fmb (Forms) stored
Ans àThey will be under $AU_TOP/forms/US
Ans àThey will be under $AU_TOP/forms/US
NOTE*
.fmb and .fmx are different
3. When you run f60gen to compile the forms : .fmx will
be put to where ..?
Ans à$PRODUCT_TOP/forms/US/ of respective product of
form.
4. What is stored in “mesg” directory under each product
top ??
Ans à“mesg” contains language specific message files and error message for the product.
Ans à“mesg” contains language specific message files and error message for the product.
5. What is stored in “bin” directory under each product
top
Ans à“bin” directory contains executable files like in $AP_TOP/bin you will see APPBCF APTZGF apxamex.ctl apxboav.ctl apxdiner.ctl apxgecmc.ctl apxusbv.ctl APXXTR
Ans à“bin” directory contains executable files like in $AP_TOP/bin you will see APPBCF APTZGF apxamex.ctl apxboav.ctl apxdiner.ctl apxgecmc.ctl apxusbv.ctl APXXTR
6. How to compile apps schema and when to compile??
Ans àYou can use “adadmin” utility to compile apps schema (other methods like utlrp.sql exists). Usually you compile apps after application of the patches, maintanance patch, upgrade, runtime error due to AD_DDL packages or scenarios where there are invalid objects in apps schema.
Ans àYou can use “adadmin” utility to compile apps schema (other methods like utlrp.sql exists). Usually you compile apps after application of the patches, maintanance patch, upgrade, runtime error due to AD_DDL packages or scenarios where there are invalid objects in apps schema.
7. How many database connections are allowed during
fresh installation of oracle application.
Ans à100. (Number has increased to 250 for Pluggable Databases in 12c)
Ans à100. (Number has increased to 250 for Pluggable Databases in 12c)
Patching:
1. Utility used to apply application patch is ??
Ans à “adpatch”
1. Utility used to apply application patch is ??
Ans à “adpatch”
Note -- Various options available with adpatch are
option=nocheckfile, noautoconfig, nocompiledb, nocompilejsp, nocopyportion, nodatabaseportion, nogenerateportion, hotpatch, integrity, prereq, noprereq, nomaintainmrc, validate, nojcopy, noforcecopy, forcecopy, nolink, nogenform, nogenrep
option=nocheckfile, noautoconfig, nocompiledb, nocompilejsp, nocopyportion, nodatabaseportion, nogenerateportion, hotpatch, integrity, prereq, noprereq, nomaintainmrc, validate, nojcopy, noforcecopy, forcecopy, nolink, nogenform, nogenrep
2. For database patch utility used to apply patch is ??
Ans à“opatch”
Ans à“opatch”
Note -- .log
and .lgi files for adpatch will be under $APPL_TOP/admin/SID/log directory.
3. What are .lgi files for ?
Ans à While
applying patch put the system in maintenance mode by running
$adadmin and then select option 5 (change maintenance mode) after that select options enable/disable maintenance mode. (You can also change system to maintenence mode using $AD_TOP/patch/115/sql/adsetmmd.sql)
$adadmin and then select option 5 (change maintenance mode) after that select options enable/disable maintenance mode. (You can also change system to maintenence mode using $AD_TOP/patch/115/sql/adsetmmd.sql)
4.By default where adadmin log file will go??
Ans à$APPL_TOP/admin/$SID/log/
Ans à$APPL_TOP/admin/$SID/log/
5. How to check what adpatch is doing ??
Ans à“adctrl” is the utility to do check status of ad worker, including adpatch.
Ans à“adctrl” is the utility to do check status of ad worker, including adpatch.
6. What are various stages of adpatch worker
Ans àFirst of all workers will be in “waiting” stage after that jobs will be “assigned” then “running“, If error doesn’t come it will move to “complete” (waiting -> assigned -> running -> complete)
Ans àFirst of all workers will be in “waiting” stage after that jobs will be “assigned” then “running“, If error doesn’t come it will move to “complete” (waiting -> assigned -> running -> complete)
If error comes it will go like waiting
-> assigned -> running ->
failed -> fixed -> restarted ->
completed
7. What is Default number of workers:
Ans à2 times the number of CPU on the database server.
Ans à2 times the number of CPU on the database server.
8. Have you ever seen worker status as deferred,
while using adctrl ??
Ans àOnce you start applying patch , manager assigns jobs and unique ID to each worker. Manager will also insert one row into FND_INSTALL_PROCESSES table for each worker with information about who is doing what ???
Ans àOnce you start applying patch , manager assigns jobs and unique ID to each worker. Manager will also insert one row into FND_INSTALL_PROCESSES table for each worker with information about who is doing what ???
1) CONTROL_CODE 2) STATUS,
these two columns are important for us from the fnd_install_processes.
Manager will monitor the workers by these two columns about status of the
assigned job.Once worker is done with first job, manager will assign it the
second job to do with the status update as <assigned>.
Once all the worker’s status is
completed for all the jobs, manager will tell the workers to shutdown
and will drop fnd_install_process table.
-
9. What happens if worker is working on some
particular job say updating some table but that table is locked ??? so
what the worker will do in such situation…
Ans àThat’s the AD_DEFERRED_JOBS table
which will be created at the time of FND_INSTALL_PROCESSES
and ad_deferred_jobs too will be dropped with FND_INSTALL_PROCESSES.
First time when worker checks and find that table is locked, that job
fails and manager will automatically defers the job, and it will assigns a
new job to the worker.
The job which was waiting in ad_deferred_jobs table will be assigned again till time it will not become failed or completed.
The job which was waiting in ad_deferred_jobs table will be assigned again till time it will not become failed or completed.
In such situation above, worker will wait
till either the lock is released or timed out is reached and We
(DBA) need not to take any action till the job status
becomes fails…. once it shows its failed we can fix it and restart it.
10. Why APPS schema present in the 11i application ??
Ans à It reduces traffic because all the product schemas will grant full privileges to Apps schema. so it will have full access to the complete Oracle application.
Ans à It reduces traffic because all the product schemas will grant full privileges to Apps schema. so it will have full access to the complete Oracle application.
All the products like AP,AR,FIN has the
code for respective products and APPS will have access to all these code
objectives too. Apps will have all the synonyms for base tables and sequences
as well.
OBJECT_NAME
——————————————————————————–
OBJECT_TYPE STATUS OWNER
—————— ——- ——————————
BEN_PL_PCP_S
SYNONYM VALID APPS
——————————————————————————–
OBJECT_TYPE STATUS OWNER
—————— ——- ——————————
BEN_PL_PCP_S
SYNONYM VALID APPS
BEN_PL_PCP_TYP_S
SYNONYM VALID APPS
SYNONYM VALID APPS
BOM_CTO_ORDER_DEMAND_S1
SYNONYM VALID APPS
SYNONYM VALID APPS
Describe the AD Administration Main Menu
1. Generate Applications Files menu
2. Maintain
Applications Files menu —Snapshot details
3.
Compile/Reload Applications Database Entities menu ————-COMPILE APPS schema (invalid objects or runtime error)
4. Maintain
Applications Database Entities menu
5. Change
Maintenance Mode —–While patching
6. Exit AD
Administration
Maintain Snapshot Information
1. List
snapshots
2. Update
current view snapshot
3. Create
named snapshot
4. Export
snapshot to file
5. Import
snapshot from file
6. Delete named snapshot(s)
Author – Akash Pramanik
Database Administrator in IBM
akash007.pramanik@gmail.com
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
More Question Answers (more on RAC)
1. How to find the
database/sqlplus version(R12 and R11) ?
Ans : select banner from
v$version;
2. Do you know some Cluster
Vendor other than Oracle?
HP Tru64 Unix, Veritas, Microsoft
HP Tru64 Unix, Veritas, Microsoft
3. What is CRS?
Oracle RAC 10g Release 1 introduced Oracle Cluster Ready Services (CRS), a platform-independent set of system services for cluster environments. In Release 2, Oracle has renamed this product to Oracle Clusterware.
Oracle RAC 10g Release 1 introduced Oracle Cluster Ready Services (CRS), a platform-independent set of system services for cluster environments. In Release 2, Oracle has renamed this product to Oracle Clusterware.
4. What is a raw partition?
A raw partition is a portion of a physical disk that is accessed at the lowest possible level. A raw partition is created when an extended partition is created and logical partitions are assigned to it without any formatting. Once formatting is complete, it is called cooked partition.
A raw partition is a portion of a physical disk that is accessed at the lowest possible level. A raw partition is created when an extended partition is created and logical partitions are assigned to it without any formatting. Once formatting is complete, it is called cooked partition.
5. When to use CFS over raw?
A CFS offers:
- Simpler management
- Use of Oracle Managed Files with RAC
- Single Oracle Software installation
- Autoextend enabled on Oracle datafiles
- Uniform accessibility to archive logs in case of physical node failure
- With Oracle_Home on CFS, when you apply Oracle patches CFS guarantees that the updated Oracle_Home is visible to all nodes in the cluster.
A CFS offers:
- Simpler management
- Use of Oracle Managed Files with RAC
- Single Oracle Software installation
- Autoextend enabled on Oracle datafiles
- Uniform accessibility to archive logs in case of physical node failure
- With Oracle_Home on CFS, when you apply Oracle patches CFS guarantees that the updated Oracle_Home is visible to all nodes in the cluster.
Note: This option is very
dependent on the availability of a CFS on your platform.
6. When to use raw over CFS?
- Always when CFS is not available or not supported by Oracle.
- The performance is very, very important: Raw devices offer best performance without any intermediate layer between Oracle and the disk.
Note: Autoextend fails on raw devices if the space is exhausted. However the space could be added online if needed.
- Always when CFS is not available or not supported by Oracle.
- The performance is very, very important: Raw devices offer best performance without any intermediate layer between Oracle and the disk.
Note: Autoextend fails on raw devices if the space is exhausted. However the space could be added online if needed.
7. What is VIP IP used for?
It returns a dead connection IMMIDIATELY, when its primary node fails. Without using VIP IP, the clients have to wait around 10 minutes to receive ORA-3113: “end of file on communications channel”. However, using Transparent Application Failover (TAF) could avoid ORA-3113.
It returns a dead connection IMMIDIATELY, when its primary node fails. Without using VIP IP, the clients have to wait around 10 minutes to receive ORA-3113: “end of file on communications channel”. However, using Transparent Application Failover (TAF) could avoid ORA-3113.
8. How is possible to install a
RAC if we don’t have a CFS?
This is possible by using a raw device.
This is possible by using a raw device.
9. What is a raw device?
A raw device is a disk drive that does not yet have a file system set up. Raw devices are used for Real Application Clusters since they enable the sharing of disks.
A raw device is a disk drive that does not yet have a file system set up. Raw devices are used for Real Application Clusters since they enable the sharing of disks.
10. Where are the Clusterware
files stored on a RAC environment?
The Clusterware is installed on each node (on an Oracle Home) and on the shared disks (the voting disks and the CSR file)
The Clusterware is installed on each node (on an Oracle Home) and on the shared disks (the voting disks and the CSR file)
11. Where are the database
software files stored on a RAC environment?
The base software is
installed on each node of the cluster and the
database storage on the shared disks.
database storage on the shared disks.
12. What kind of storage we can
use for the shared Clusterware files?
- OCFS (Release 1 or 2)
- raw devices
- third party cluster file system such as GPFS or Veritas
- OCFS (Release 1 or 2)
- raw devices
- third party cluster file system such as GPFS or Veritas
13. What kind of storage we can
use for the RAC database storage?
- OCFS (Release 1 or 2)
- ASM
- raw devices
- third party cluster file system such as GPFS or Veritas
- OCFS (Release 1 or 2)
- ASM
- raw devices
- third party cluster file system such as GPFS or Veritas
14. What is a CFS?
A cluster File System (CFS) is a file system that may be accessed (read and write) by all members in a cluster at the same time. This implies that all members of a cluster have the same view.
A cluster File System (CFS) is a file system that may be accessed (read and write) by all members in a cluster at the same time. This implies that all members of a cluster have the same view.
15. What is an OCFS2?
The OCFS2 is the Oracle (version 2) Cluster File System which can be used for the Oracle Real Application Cluster.
The OCFS2 is the Oracle (version 2) Cluster File System which can be used for the Oracle Real Application Cluster.
16. Which files can be placed
on an Oracle Cluster File System?
- Oracle Software installation (Windows only)
- Oracle files (controlfiles, datafiles, redologs, files described by the bfile datatype)
- Shared configuration files (spfile)
- OCR and voting disk
- Files created by Oracle during runtime
- Oracle Software installation (Windows only)
- Oracle files (controlfiles, datafiles, redologs, files described by the bfile datatype)
- Shared configuration files (spfile)
- OCR and voting disk
- Files created by Oracle during runtime
Note: There are some
platform specific limitations.
17. How is possible to install
a RAC if we don’t have a CFS?
This is possible by using a raw device.
This is possible by using a raw device.
18. What is a raw device?
A raw device is a disk drive that does not yet have a file system set up. Raw devices are used for Real Application Clusters since they enable the sharing of disks.
A raw device is a disk drive that does not yet have a file system set up. Raw devices are used for Real Application Clusters since they enable the sharing of disks.
19. What is the Cluster Verification Utility (cluvfy)?
The Cluster Verification
Utility (CVU) is a validation tool that you can use to check all the important
components that need to be verified at different stages of deployment in a RAC
environment.
20. What are Oracle Clusterware
Components
Voting
Disk — Oracle RAC
uses the voting disk to manage cluster membership by way of a health check and
arbitrates cluster ownership among the instances in case of network failures.
The voting disk must reside on shared disk.
Oracle
Cluster Registry (OCR) —
Maintains cluster configuration information as well as configuration
information about any cluster database within the cluster. The OCR must reside
on shared disk that is accessible by all of the nodes in your cluster
Author – Akash Pramanik
Database Administrator in IBM
akash007.pramanik@gmail.com
Very Good... Thanks.... (Y)
ReplyDeleteThis is of Great help for me.... Very interesting.
ReplyDeleteVery Good...........
ReplyDeletePlease keep posting new Q/As...........
tor theke amr collection bhalo ..blogpost releasing soon !!! :P anyways nice complilation though
ReplyDeleteI am sure your collection is better than mine, my friend... :)
DeleteThanks bro... This is very good information..
ReplyDeletepls post some questions regarding oracle application r12
ReplyDeletegood
ReplyDeleteAdd more
ReplyDeleteThanks Akash. Very good Info. Please update some info about alerts.
ReplyDeletePlease find my page on Cron alerts.........
ReplyDeleteAnd tanks for your inspiration.....
Thanks Mate. Please keep on update .
ReplyDeleteOracle Training in Chennai
Oracle Training in Chennai
Very helpful
ReplyDeleteVery good collection of question and answers thank you for sharing this article. Know more about Oracle DBA Online Training
ReplyDeleteThis comment has been removed by the author.
ReplyDelete
ReplyDeleteThis is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
Android training in chennai
Ios training in chennai
Your oracle apps DBA interview questions and answers are informative for me. Thanks to shared this post with me.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteValuable Information. These questions are very helpful when iam attending interviews
ReplyDeleteOracle Apps DBA Online Training
That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
ReplyDeleteOracle Dba 12C Training
Oracle Adf Training
Oracle Apps Functional Training
Thanks for this kind of worthy information. this was really very helpful to me. keep continuing.
ReplyDeleteSpoken English Franchise
Top Education Franchise In India
Franchise In Education Sector
Franchise For Spoken English Classes
Franchise In Education Sector
Franchise For Spoken English Classes
Computer Training Institute Franchise
Awesome post, you got the best interview questions and answers for Oracle interview. You’re doing a great job.
ReplyDeleteUiPath Training Institutes in Chennai
UiPath Courses in Chennai
RPA Training in Chennai
AWS Training in Chennai
DevOps Training in Chennai
Angularjs Training in Chennai
Thanks for sharing this Informative content. Well explained. Got to learn new things from your Blog on
ReplyDeletelinux training in hyderabad
ery good post.
ReplyDeleteAll the ways that you suggested for find a new post was very good.
Keep doing posting and thanks for sharing
mobile repairing course in hyderabad
This blog was... how do you say it? Relevant!! Finally I've found something which helped me. Cheers!
ReplyDeleteadvanced java training in Bangalore Marathahalli
Best Advanced Java training In Bangalore Marathahalli Marathahalli
Advanced Java Courses In Bangalore Marathahalli
Advanced Java institute In Bangalore Marathahalli
Advanced Java Training Center In Bangalore
Advanced Java Classes Bangalore
Very well written post! Keep sharing more.
ReplyDeleteTally Course in Chennai
Tally Training
Tally Training Institute in Chennai
Embedded systems Training in Chennai
Microsoft Dynamics Training in Chennai
Ionic Training Course
I was more than happy to uncover this great site. I need to to thank you for your time due to this fantastic read!! I definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.keep it up!!
ReplyDeleteJava training in Chennai
Java Online training in Chennai
Java Course in Chennai
Best JAVA Training Institutes in Chennai
Java training in Bangalore
Java training in Hyderabad
Java Training in Coimbatore
Java Training
Java Online Training
thank you for this valuable information. it is very useful and informative
ReplyDeleteangular js training in chennai
angular training in chennai
angular js online training in chennai
angular js training in bangalore
angular js training in hyderabad
angular js training in coimbatore
angular js training
angular js online training
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
ReplyDeleteAWS Course in Chennai
AWS Course in Bangalore
AWS Course in Hyderabad
AWS Course in Coimbatore
AWS Course
AWS Certification Course
AWS Certification Training
AWS Online Training
AWS Training
You are an awesome writer. The way you express things is very interesting. Waiting for your next post.
ReplyDeleteangular js training in chennai
angular js training in tambaram
full stack training in chennai
full stack training in tambaram
php training in chennai
php training in tambaram
photoshop training in chennai
photoshop training in tambaram
This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
ReplyDeleteacte chennai
acte complaints
acte reviews
acte trainer complaints
acte trainer reviews
acte velachery reviews complaints
acte tambaram reviews complaints
acte anna nagar reviews complaints
acte porur reviews complaints
acte omr reviews complaints
Thanks for a marvelous posting! I seriously enjoyed reading it, you are
ReplyDeletea great author.I will be sure to bookmark your blog and will often come back in the future.
I want to encourage yourself to continue your great job, have a
nice weekend!
hardware and networking training in chennai
hardware and networking training in velachery
xamarin training in chennai
xamarin training in velachery
ios training in chennai
ios training in velachery
iot training in chennai
iot training in velachery
This is an awesome post.Really very informative and creative contents. These concept is a good way to enhance the knowledge.
ReplyDeletedata science training in chennai
data science training in annanagar
android training in chennai
android training in annanagar
devops training in chennai
devops training in annanagar
artificial intelligence training in chennai
artificial intelligence training in annanagar
Very good collection of question and answers thank you for sharing this article.
ReplyDeletesap training in chennai
sap training in omr
azure training in chennai
azure training in omr
cyber security course in chennai
cyber security course in omr
ethical hacking course in chennai
ethical hacking course in omr
Is Android development a good career? Absolutely. You can make a very competitive income, and build a very satisfying career as an Android developer. Android is still the most used mobile operating system in the world, and the demand for skilled Android developers remains very high.thanks lot!!
ReplyDeleteAndroid Training in Chennai
Android Online Training in Chennai
Android Training in Bangalore
Android Training in Hyderabad
Android Training in Coimbatore
Android Training
Android Online Training
Amazing Blog, Thank you so much for sharing such an amazing blog.
ReplyDelete| Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course | CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
This is the exact information I am been searching for, Thanks for sharing the required infos with the clear update and required points. To appreciate this I like to share some useful information.
ReplyDeleteOracle Apps DBA Training in Bangalore
HI thanku so much this infromation this is greatful blog
ReplyDeletecs executive
freecseetvideolectures/
Nice Topics.. Read My Review Of An Online Cfd Trading Broker,ETORO REVIEW With A Focus On Their Platform And Customer Support Services. I Have Been Using Them For Over A Year And This Is My Honest, Unbiased Review.
ReplyDeleteThere Are Many Complaints About XM REVIEW Broker In The Internet But You Should Read This Review Before Investing Your Money With Them. We Have Personally Tested XM Fx And Found It To Be A Scam, Avoid Them At All Costs!
ReplyDelete