Escolar Documentos
Profissional Documentos
Cultura Documentos
com/Job-Interview-Questions/Sr-
SQL-And-Oracle-DBA-Interview-Questions/3/
Why do you need environment file ? Does this get created automatically ? What
the environment settings which are needed in environment file ?
What are the various startup options which can be used and explain me about
those ?
Explain me the database views which you look at to identify the logical
structures of the database ?
Give me the syntax for creating the dictionary managed and locally managed
tablespaces ?
What are the various kernel settings which you setup in oracle install on
linux/unix ?
What is oracle instance ? What is Oracle SGA ? What are the various components
exist in Oracle SGA ?
What are the things you check before you install an oracle database on unix or
linux or windows platforms ?
List at least 25 famous unix commands which are needed for daily day-to-day
dba work ?
Give me the steps to recover the deleted rows using flashback query in 10g ?
How do you identify the datafile associated with a table ? How do you know how
big the table size is. ?
How do you identify the pre-req os patches required for an oracle installation on
HP or solaris or Linux platforms ?
What is root.sh ?
Give me the detail steps for creating the database using DBCA ?
How do you enable the archive log disable the archive log ? Explain in detail
about database instance ?
How do you specify the tablespace name when you create the table ? What is
the syntax ?
How do you identify if the oracle software version you are installing is certified
on the platform you are installing ?
What are the various shutdown options which can be used and explain me about
those ?
How do you identify the oracle alert log file ? controlfile ? trace file ? tns file ?
listener file ?
How do you rename/move the redo log members from one disk to another disk ?
How do you identify if the database is running in archive log mode or no-archive
log mode ?
What is export import ? How do you change the db char set or db block size ?
How do you move the table from one tablespace to another tablespace ?
Tell me about your experience with automation of startup shutdown in unix and
windows ?
DBA QUES:
What is ROWID?
What is a DBA?
What view would you use to look at the size of a data file/
What are the Referential actions supported by FOREIGN KEY integrity constraint?
What is a Sequence?
What are the different modes of mounting a Database with the Parallel Server?
When creating a user what permissions must you grant to allow them to connect
to the database?
What other parts of your organization do you interact with and how?
Where would you look for errors from the database engine?
What are user defined datatypes and when you should go for them?
How would you determine the time zone under which a database was operating?
What is a Segment?
What is a Schema?
Give the two types of tables involved in producing a star schema and the type of
data they hold.
Explain an ORA-01555
DBA QUES-PART2
When exporting using filesize parameter if three files is generated. How the
Oracle name this three files?
How can the problem be resolved if a SYSDBA forgets his password for logging
into enterprise manager?
What are the differences between database designing and database modeling?
If the SQL * Plus hangs for a long time what is the reason?
Can Oracle’s Data Guard be used on Standard Edition and if so how? How can
you test that the standby database is in sync?
What are three rules of thumb to create good passwords? How would a DBA
enforce those rules in Oracle? What business challenges might you encounter?
What will you do if in any condition you do not know how to troubleshoot the
error at all and there are no seniors or your co-workers around?
What kind of backup you take Physical / Logical? Which one is better and Why?
What is the difference between local managed tablespace & dictionary managed
tablespace ?
When you execute: alter tablespace begin backup; How can Oracle engine can
identify that the corresponding datafiles are in backupmode?
What is a Schema ?
How do you return the top-N results of a query in Oracle? Why doesn’t the
obvious method work?
As a Oracle DBA what are all the UNIX file you should be familar with?
What is a synonym?
How will you rectify if one of the rollback segments gets corrupted ?
What is a segment?
In which situation whether peak time or off peak time you will execute the
ANALYZE TABLE command. Why?
When yesterday developer gives the following command: select count(*) from [table name]it
gives the output within minutes today the same command takes hours? What will you check?
Explain how will you setup Replication Server & sync it?
What is dump destination? What are bdump cdump and udump? Explain in detail. ?
What is a datafile?
When a database is started Which file is accessed first?
What are the changes that happen in Database buffer cache(List of all changes in DB Buffer
Cache) ?
What is the difference between .ora and net file or .ora and .net or tnsnames.ora sqlnet.ora
listener.ora?
What is a latch?
How to check to memory gap once the SGA is started in Restricted mode?
What is ORA-1555?
What is RAP?
How do you find wheather the instance was started with pfile or spfile ?
What should you do when you find a stacktrace in the server errorlog?
How do you see how many memory segments are acquired by Oracle Instance. ?
How do you control No. of Datafiles one can have in an Oracle Database. ?
What is clusters ?
What is a tablespace?
What are the diffrent file types that are supported by SQL*Loader?
When the developer trying to compile the package. But the database gets
hanged? What will you check?
What do you do when the server cannot start due to a corrupt master database?
What is an extent?
What are four errors found in an alert (error) log that can ruin a DBA's appetite
and how can you avoid them?
Which process writes data from data files to database buffer cache?
DBA QUES-PART3
How do you recover from the loss of a controlfile if you have backup of
controlfile?
Only some blocks are damaged in a datafileCan you just recover these blocks if
you are using RMAN?
You want users to change their passwords every 2 monthsHow do you enforce
this?
How do you see how much hard disk space is free in Linux?
How do you control number of Datafiles one can have in an Oracle database?
At one time you lost parameter file accidentally and you don't have any
backupHow you will recreate a new parameter file with the parameters set to
previous values.
What is SHMMAX?
How do you set Kernel Parameters in Red Hat Linux AIX and Solaris?
Which default Database roles are created when you create a Database?
Have you faced any emergency situationTell us how you resolved it?
As a Oracle DBA what are all the UNIX file you should be familar with?
Some user has accidentally dropped one table and you realize this after two
daysCan you recover this table if the DB is running in ARCHIVELOG mode?
What is 01555 - Snapshot Too Old error and how do you avoid it?
How do you see how many memory segments are acquired by Oracle Instances?
Where RMAN keeps information of backups if you are using RMAN without
Catalog?
What is a Tablespace?
You loss one datafile and DB is running in ARCHIVELOG modeYou have full
database backup of 1 week old and partial backup of this datafile which is just 1
day oldFrom which backup should you restore this file?
What is VMSTAT?
You have taken a manual backup of a datafile using o/sHow RMAN will know
about it?
Can you take Online Backups if the the database is running in NOARCHIVELOG
mode?
How do you recover from the loss of datafile if the DB is running in ARCHIVELOG
mode?
Should you take the backup of Logfiles if the database is running in ARCHIVELOG
mode?
Where should you place Archive logfiles in the same disk where DB is or another
disk?
What is dump destination? What are bdump cdump and udump? Explain in detail
You lost some datafiles and you don't have any full backup and the database was running in
NOARCHIVELOG modeWhat you can do now?
How do you recover from the loss of datafile if the DB is running in NOARCHIVELOG
mode?
Some datafiles were there on a secondary disk and that disk has become damaged and it will
take some days to get a new diskHow will you recover from this situation?
How many Maximum Datafiles can there be in an Oracle Database?
What is a Checkpoint?
How would you handle a difference of opinion between yours and a Senior technical
member?
What is the difference between Direct Path and Convention Path loading?
What are four performance bottlenecks that can occur in a database server and How are they
detected?
You want to retain only last 3 backups of datafilesHow do you go for it in RMAN?
You have written a script to take backupsHow do you make it run automatically every week?
You cannot shutdown the database for even some minutes then in which mode you should
run
What are four errors found in an alert (error) log that can ruin a DBA's appetite
and how can you avoid them?
What is SAR?
You loss one datafile and it does not contain important objectsThe important
objects are there in other datafiles which are intactHow do you proceed in this
situation?
Can you use Backupsets created by RMAN with any other utility?
Can you perform DML operations when the standby database is in read only in
Standby Database?
A table is having few rows should you create indexes on this table?
What is remote login user and local user in database?And sid is used when user
want to login as local user and Glodal database name is used when user wants to
login as remote user..What does it mean ?
How will you identify database size when you create a database first time?
What is SQL Loader? Explain the files used by SQL Loader to load file. i.e Loader
control file Input datafile
Explain the areas of memory used by oracle i.e. Software code area
Explain the categories of oracle processes i.e. user data writing processes