Oracle DBA interview [message #165089] |
Tue, 28 March 2006 05:22 |
dbasif
Messages: 35 Registered: March 2006 Location: Bangalore, India
|
Member |
|
|
Hi All,
i had a dba technical round,i am sending few question which i have a doubt, can anybody explain me.
* user complains about db is slow, how will you proceed ?
(provided not to use any of the utility or statspack)
* how to find and recover the block corruption.
* what are semaphores and how it is important in oracle
* how to find out which user has generated a particular trace
file ?
Regards
Mohammad Asif
MindTree Consulting
|
|
|
|
Re: Oracle DBA interview [message #165120 is a reply to message #165089] |
Tue, 28 March 2006 06:47 |
kmsalih
Messages: 197 Registered: March 2006
|
Senior Member |
|
|
Hi
There are so many methods for your first issue.
I will explain one.
Write a shell script to know the most cpu consuming users.( Use ps command)
If users are complaining that the db is slow run that.
From the result generated by the shell script you will get the spid of the process taking more cpu.
Query the database and find which is the user.
According to the importance of that session keep or kill that session.
Regards
SALIH KM
|
|
|
Re: Oracle DBA interview [message #165231 is a reply to message #165089] |
Wed, 29 March 2006 00:29 |
gajini
Messages: 262 Registered: January 2006
|
Senior Member |
|
|
Can anyone answer the following the DBA interview questions
* how to find and recover the block corruption.
* how to find out which user has generated a particular trace
file ?
Thanks,
Malru
|
|
|
|
|
|
|
Re: Oracle DBA interview [message #165610 is a reply to message #165251] |
Fri, 31 March 2006 01:19 |
madhusunkara
Messages: 59 Registered: March 2006 Location: hyderabad,india
|
Member |
|
|
for block corruption detection you can use any of the folowing utilities
1.dbverify
2.export
3.RMAN
4.alert log
dbverify can only do offline check
for recovery you have to use RMAN
Thanks
Madhu
|
|
|
|
Re: Oracle DBA interview [message #165893 is a reply to message #165089] |
Mon, 03 April 2006 04:02 |
nmacdannald
Messages: 460 Registered: July 2005 Location: Stockton, California - US...
|
Senior Member |
|
|
* user complains about db is slow, how will you proceed ?
(provided not to use any of the utility or statspack)
check the top 10 user list by cpu on oem?
Take a snapshot,using oem, of a running database and see what is going on. Run the snapshot through oem's sql analyser.
* what are semaphores and how it is important in oracle
I *think* they are the way Oracle keeps track of resources(table rows, indexes, whatever).
Microsoft asks dba's how many gas stations are in your town. The answer is not important, they just want to see how you got your answer. Also, they ask "why is a manhole cover round", with the answer being 'it is the only geometric shape that will not fall in on itself.
But that's just Microsoft. For getting a jump on interview questons try Don Berleson's interview book at www.donberleson.com?
Neil.
[Updated on: Mon, 03 April 2006 04:10] Report message to a moderator
|
|
|
|