Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
------------------------------------Instructions:
Write the answers below the questions,
-----------------------------------------------------------------------------------PART 1:
1) What is the importance of redo log files ?
2) What are the contents of a Control File ?
3) Why is the difference between Direct Path Export and Conventional Path Export
?
4) Questions are asked about parameters in export, like : consistent = y , ( wha
t is the purpose of it ) ?
5) What is the use of the parameter "maxtrans" . Is it used at block level, exte
nt level or segment level ?
6) Which parameter do you use to read multiple blocks in one go (DB_MULTIBLOCK_R
EAD_COUNT)
7) Difference & when to use first_rows & all_rows parameter, while using an opti
mizer
8) What are the types of recovery one can perform ?
9) How can one implicitly disconnect a user from the database , who is idle for
a long time ? ( Using Profiles )
11) Which parameter can be used to enable checkpointing at regular intervals (fa
st_start_mttr_target)?
12. What are the background process that start when you give a startup command a
nd what is their signifance.
A. Read on smon, pmon, ckpt, arch process in detail
13. What the day to day Activities you do in your job.
A. Talk about Alert Handling, Backup Auditing, Database Refreshes, Schema Refres
hes, Code Deployment.
14. What backups do you use. Online or Offline.
A. Tell them you use both, online and offlien. Read about the Hot Backup mechani
sm.
15. What are your database versions and what are your databases sizes.
A. You can tell them are currently supporting 8.1.7.4, 9.2.0.4 and 9.2.0.6 versi
on of databases. Tell them you support in total 15 databases out of which 6 are
production. They are 2 dba's to take care of these 16 instances. Size of the dat
abases range from 5 GB to 120 GB.
16. How can you see the source code of the package?
A. Tell them by querying the dba_source
17. What is Cost Based Optimizer. How can you gather statistics on a table.
28) What for OPTIMAL (rollback segment) size? And tell me the syntax how will yo
u define it?
29) Describe the exp, imp utility parameters and syntax?
30) What are the different export options?
31) If the application is running very slow, at what points do you need to go ab
out the database in order to improve the performance?
32) What are the parameters you need to look at in output file (tkprof)? How to
identify that the given SQL statement is bad by looking into the tkprof output f
ile?
33) Explain the definition of a "star schema."
34) Explain what a bitmapped index is, what it's applications would be, and why
it's useful.
35) Describe the procedure for moving a datafile from one disk to another. Show
actual SQL used for this procedure.
36) Explain the difference between a "hot" and a "cold" backup. What is involved
with executing a "hot" backup?
37) Explain the differences between logical and physical database backups. What
are the benefits and penalties of each?
38) If an underlying filesystem uses a blocksize of 2K, what would the optimal b
locksize be for the STORAGE clause in a CREATE TABLESPACE statement?
39) What variables in the "init.ora" file affect the amount of RAM needed for th
e SGA?
40) What is the SQL statement necessary to delete a user named "joe" and everyth
ing that he owns in a database?
41) If you were connected to a database, TEST01, as the SYS user, what would be
a SQL statement that you could use to show the members of all of TEST01's redo l
og groups?
42) If you had a tablespace, TEST_TABLESPACE, which consists of three files: TES
T01.dbf, TEST02.dbf, and TEST03.dbf, and someone accidentally used the Unix comm
and "rm" to delete the file TEST02.dbf, what else would you need
in order to recover all the data that was present in TEST_TABLESPACE at the time
that TEST02.dbf was deleted?
43) You notice the machine that is running a database called TEST01 is running a
bout 95-100% idle. You have about 30-45 users trying to connect to TEST01, and t
hey are complaining that the database is slow to respond, or doesn't respond at
all. Where do you being your diagnosis, and what steps do you take to resolve th
e problem?
44) How would you get the Oracle server to show you its plan for a given SQL sta
tement?
45) Schema A has some objects and created one procedure and granted to Schema B.
Schema B has the same objects like schema A. Schema B executed the procedure li
ke inserting some records. In this case where the data will be stored whether in
Schema A or Schema B?
46) What is mutated trigger, is it the problem of locks. In single user mode we
got mutated error, as a DBA how you will resolve it?
47) In exception handling we have some NOT_FOUND and OTHERS. In inner layer we h
ave some NOT_FOUND and OTHERS. While executing which one whether outer layer or
inner layer will check first?
48) Dual table explain. Is any data internally storing in dual table. Lot of use
rs are accessing select sysdate from dual and they getting some millisecond diff
erences. If we execute SELECT SYSDATE FROM EMP; what error will we get. Why?
49) How do you increase the performance of %LIKE operator?
51) If the SQL * Plus hangs for a long time, what is the reason?
52) All the users are complaining that their application is hanging. How you wil
l resolve this situation in OLTP?
53) How to check to memory gap once the SGA is started in Restricted mode?
54) In which situation whether peak time or off peak time you will execute the A
NALYZE TABLE command. Why?
55) If the large table contains thousands of records and the application is acce
ssing 35% of the table which method to use: index searching or full table scan?
Solaris Questions