ORACLE INTERVIEW QUESTIONS
- List out 10 memory level parameters
- Which commands leads to sorting? What memory area is used for sorting ? How will you increase the performance of sorting ? Name the parameters?
- what will happen if you give commit? What are the wait events that affect log buffer?
- How will you increase the size of library cache? What is hard and soft parse?
- What is checkpoint?How will reduce the checkpoint frequency?
- Explain the steps that involved when bringing up the database? How to drop the database? how to change the mode of database?
- Explain instance recovery? Who does instance recvoery? Where will you check whether the instance recovery happened or not? What files were involved in the Instance recovery?
- Who read the data into memory? How will you increaase the performance of write from DBBC to datafiles?
- What is inittrans, maxtrans. what is the default values for table and index?
- what is logging ad nologging? What is use of pctfree/pctused and pct increase?
- How will you find fragmentation? How will you rectify it?
- What is row chain and row migration? How will you find it and rectify it?
- Why we should analyze a table?How to check if the table/index is analyzed? What is the command to gather stats/analyze?
-
What is differnce between?
- spfile/pfile
- pinned buffer/dirty buffer
- latch /enqueue
- LMT/DMT
- btree/bitmap
- When and how to rebuild index?
- What are the types of partitions? Explain composit partitons?
- What is different between system/hash partition?
- what is partiton PRUNING?
-
How will you check the following?
- Table/index/view size
- free space in database/tablespace
- used space in database/tablespace
- how many indexes present for a table? check indexes columns and its positon? on what function the index is created?
- How many constraints are there in the table and on what columns? What are the constraint types?
- What are the types of grants ? Difference between GRANT/ADMIN Option?
- what is password verification function? Steps to implement it.
- Will discuss about profiles? Try to learn Password Resources
- what is snapshot too old error?
- what is different between lock and deadlock?
- How will you multiplex controlfile and logfile? How to increase the size of logfiles and datafiles?
- What is the use of UNDO tablespace? How to hange the name of undo tablespace and location?
- What is the use of temp tablespcae? how to change the location of temp tablespace?
- Steps to create dbms scheduler? How to check the failed job / status?
- What is use of flashback query /version/transaction/table?
- What is UMASK?
- How will find available port ?
- How to delete files that are older than 10 days?
- Explain the logic for monitoring alert.log , filesystem check.
- How will you pass arguments to a shell scrits? How will you call them inside the shell?ow to check how many number of arguments passed and list out them?
- How to check the previos command that was execute is successful?
-
How to check the following?
- ipaddress
- servername
- OS release
- CPU count
- Ram size
- users groupname
- CPU utilization
- IO utilization
- virtual memory utilization
- Which command is used to find the process that was locking/using the file?
- which command is used to find the user who is using the file?
- How to change the ownership of a file?
- Prerequisite to install oracle on Linux? Expain kernel parameters.
- Steps to configure silent mode installation?
- Expain PATH, ORACLE_HOME,ORACLE_BASE,DISPLAY variables
- How to create database using dbca using putty with GUI termical.
- What is OMF? How will you use it?
- what is oratab? What is the use of it?
- Steps to configure automatic start and shut options? What is the use of chkconfig command?
- what will happen if you execute root.sh?
- What is rpm? How will you install rpm? How to check the existance of rpm?
- Explain all the linux compression commands?
- Explain crontab and its parameters?
- What is logical and physical backup? hot and cold backup?
- Explain the internals of hot backup in UMB?
- Explain the steps to take hot backup in UMB?
- how to recover a system datafile/ non system datafile that is running in a Production env?
- how to recover a UNDO datafile/ tempfile that is running in a Production env?
- How to recover a corrupted logfile,controlfile,spfile
- How to take a backup using rman and location should be in "/backup"
- How to increase the performance of RMan backup and explain it advantages over UMB?
- What is the use of crosscheck , obsolete, expired commands
- Difference between differential and cumulative backup?
- What is the use of BCT?
- How to increase the performance of RMAN nackup?
- How will recover a table sing RMAN? Explain the stepswith commands?
- Whats is schema refresh?what are the post refresh activities after schema refresh?
- Given a exp/expdp full dump (with out export logfile) how will you create a database with it?
- What is the use of compress , consistent for exp?
- What is teh performance parameters for exp/imp/expdp/impdp?
- What are the performance parameters for SQL loader?
- How will you take export of 20 tables? explain steps with commands?
- Given a 100gb table dump, but having 5 gb of undo, how will you import the table?
- On which oracle utility you will get snapshot too old error?
- What is use of resumable_timeout parameter in DB as well as EXP/expdp?
- How will you do schema refresh without removing grants from target schema?
- How to export set of record from a table?
- A datapump export is running with parllel=2 . Now you are asked to increase the parallel=4 from another terminal, how will you do it?
- Having the DB size ad 600GB. How will you take a database dumpfiles and copy that to another server. Explain the steps
- Is it possible to do a schema copy to another db with out dumpfile ?
- Explain the steps to transport tablespace?
- What is the advantage of datapump over exp/imp?
- Need to export a database using exp from putty even we get a network issue.
- Import a schema which is in tablespace USERS to another schema which is in tablespace USERS2.
- how to goback to client mode from interactive mode in datapump?
- How will you trouble shoot a client server connetion issue? Expplain all the possible issues?
- If listerner is down, what will happen to the existeing connetion? what will happen to new connection?
- How to check how many listeners are running on the server? How tio check their status?
- Is it possible to change the listener and tnsnames location ? If so how to do that?
- Expain the steps to recover a database using a backup from a location?
- Explain teh steps Rman cloning and active cloning?
- Can we have 2 listeners for a single database and 1 listener for multiple database? If so How?
- How to register a database to a listener?
- How to setup a recover catalog?explain with steps?
- Find the user who is locking a table?
- How to find if a query is using index?
- What are the possible chances that a index is not used by a query?How to force a index to be used?
- How to intrepret execution pan?
- If a user reports that a query hangs , how willyou trouble shoot?
- If a query run yesterday for 2 mins and it takes more tha 1 hr, what might be the possible issue?
- How will you kill a session even after it marked for killing in DB?
- How will you check how many plans exists for a query?
- How to check the duration of current running SQLS?
- How to get the execution plan for a Query?
- How will you trace a session? explain the steps? What will you check in it?
- What is AWR? When will you go for AWR? how to take it and what will you look in to it?
- Name some wait events (atleast 10) and explain hot to resolve it?
- What is ASH? Give the views related to ASH?
- Explain joining methods with examples.
- Name some hints (10 hints)and explain when that will be used?
- How to make the query not to a the index.
- What is the prerequisite to do upgrade / patching?
- How to check the conflict of a patch?
- How to install / rollback a patch?
- How to list the patches installed? What does ./datapatch -verbose do?
- What are the type of patches?
- what is opatch and opatchauto?
- How will you monitor while patching? Where the logs will be stored?
- How to check how many users are connect to database from linux command?
- How will remove kernal memory (shared/semaphores) from unix?
- How will estimate the remaining time of running rman backup / gather stats.
- What is a database?
- Explain about an instance and storage.
- What is the use of SGA, and what are the components of the SGA?
- What is the difference between SGA and PGA, and when are they used? Give an example query.
- Explain about DBBC, RLBC, and the Shared Pool. What is the default size of the Shared Pool?
- In case the Shared Pool has no free space, then from where does it take memory?
- What is the difference between soft parsing and hard parsing?
- What is the use of the Result Cache and Reserved Pool?
- What is the use of the Server Process, and what are its types?
- What are the mandatory background processes in Oracle?
- How do you check whether processes are running or not?
- Explain about DBWR.
- What is the use of the ARCH, SMON, and PMON processes?
- Explain about checkpoints. When do checkpoints occur, and what are the types of checkpoints?
- What are the full forms of SCN and LSN?
- Explain about the Stream Pool, Java Pool, and Large Pool.