GeekInterview.com
Series: Subject: Topic:

Oracle DBA Interview Questions

Showing Questions 1 - 20 of 249 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

Why do you take tablespaces in backup mode.

Asked By: Pragati.rch | Asked On: Apr 19th, 2008

Answered by: Sriniv@s.. on: May 23rd, 2012

In case of hot backup,table space is put into backup mode.At the time ts related datafile header is frozen
because for taking backup with out any data loss.And after that any data is coming,that one going to redolog file for recovery.

Answered by: dbashashi on: Dec 2nd, 2010

We need to backup so that it can be used in case if any failure. We restore it from these backup. Now for the backup to be used for restore it has to be valid backup. Some thing like SCN, Timestamp ha...

Oracle catalog and archive log

Asked By: gyanudba | Asked On: Feb 12th, 2009

Explain what are Oracle catalog and Oracle archive log?

Answered by: Sriniv@s.. on: May 23rd, 2012

Oracle catalog contain the metadata of objects.
RMAN catalog maintain the backup information.
Redo data persistently stored in archive logs,for recovery..

Answered by: pandish on: Dec 31st, 2010

Catalog term is used in 2 ways.Catalog - All tables/views stores information about database and all objects in it.RMAN Catalog - Schema where RMAN executable stores/reads/writes the information about ...

When a user comes to you and asks that a particular SQL query is taking more time. How will you solve this?

Asked By: anjibabu padala | Asked On: May 10th, 2007

Answered by: Sreejith R Nath on: May 22nd, 2012

The dbms_advisor package has a procedure called dbms_advisor.quick_tune that allows the DBA to quickly tune a single SQL statement with a single procedure call

Answered by: tunakishore on: Jan 17th, 2009

Hi , I just reviewed your answer. Anyway thanks for your effort to give us response.But I have a concern .Suppose a user just reported us that his query running slow and we checked the execution plan,...

Startup mount and startup nomount

Asked By: Malik | Asked On: Sep 14th, 2011

What is the difference between startup mount and startup nomount? When its used?

Answered by: sriniv@s.. on: May 14th, 2012

Start up No mount: instance started with help of parameter file & here control files are located.

Start up mount:database is mounted i.e control files are allocated & data files, redo logs are located.

Open: here allocated all data & redo logs.Now the database is ready to use.

Answered by: Dharma Teja on: Oct 10th, 2011

Nomount : Instance started
Mount : control file open for this instance
open : All the files open as described by the control file.

What is SCN number in Oracle? Plz any one give me the explanation for SCN

Asked By: suri | Asked On: Sep 18th, 2006

Answered by: Sriniv@s.. on: May 12th, 2012

SCN is system change number.it will generate every time when log switch occurred & user commits the transaction.Main thing is scn will generated with every transaction &(or) every one seconds.

Answered by: Muthupandian.A on: Feb 24th, 2012

SCN-SYSTEM Change number, it will generate automatically while u perform commit.

Oracle maximum data files limit

Asked By: Pragati.rch | Asked On: Apr 19th, 2008

How many max datafiles can there be in an Oracle database.

Answered by: Sriniv@s on: May 12th, 2012

Database having maximum up to 65536 data files. Each table space having 1022 data files.

Answered by: MUTHUPANDIAN A on: Feb 24th, 2012

You can create maximum 65536 datafiles

What is difference between spfile and init.Ora file???

Asked By: hasanvtu | Asked On: Nov 1st, 2006

Answered by: srinivas on: May 11th, 2012

Using spfile,change the parameters dynamically.But in pfile,after change the parameters u must restart the database..
spfile is a binary file n it will automatically created with dbca utility(at db creation time).Pfile is a text file n it will edit by any text editor.

Answered by: ravi on: May 1st, 2012

Spfile server parameter file it is an substitute for pfile with the benefit of "make the changes in this spfile dynamically means if we made the changes in the spfile there is no need to restart of da...

What is the use of storage option in materialized view ?

Asked By: rajesh trivedi | Asked On: Apr 18th, 2012

Answered by: Sriniv@s. on: May 11th, 2012

Materialized views are useful for fast REPLICATION purpose..

Common problems while taking backups

Asked By: suresh299 | Asked On: Jun 3rd, 2008

What are the common problems while taking backups? What are the necessary steps to take backup on to tapes and disks in real time?

Answered by: sundarasaravanan on: May 4th, 2012

For a cold backup :shutdown oracle first and then proceed the cold(offline) back up. once you shutdown the oracle database insert the external tape/disk.pls ensure the tape/disk is in good condition. ...

Answered by: doc123 on: Mar 23rd, 2012

Some Common issues with Backup. If you are taking backup from no-archive log: then your database doesn't bring down due to some processes are running. If you are taking hot backup then may be newly ...

How will you move a table from one schema to other ?

Asked By: Dinesh gunwant | Asked On: Oct 21st, 2011

Answered by: remil chalat on: May 2nd, 2012

We can use dbms_redefinition package to achieve this

Answered by: rohan makode on: Feb 25th, 2012

By creating a dump file of one schema and then exporting it to other schema

What is rap?

Asked By: sreedhar | Asked On: Mar 30th, 2007

Answered by: doc123 on: Mar 23rd, 2012

Dear friend, it is not RAP but it is WRAP. Using this utility of Oracle, we can hide our PL/SQL code from user.

Why use materialized view instead of a table

Asked By: rasmitaacharya | Asked On: Jun 4th, 2008

If materialized view contains the actual data and has to be re-created every time the original table data is changed and we intent to refresh the data in the view.Then what is the actual use of materialized view, why can't we create another table by itself by running the same query ?

Answered by: doc123 on: Mar 23rd, 2012

Materialized view is useful in replication and data warehousing environment where every time data extracting and data loading from another sites,databases. Materialized view also useful for maintaining complex queries because it uses query rewrite feature.

What are the advantages of views

Asked By: Interview Candidate | Asked On: Jul 9th, 2005

Answered by: doc123 on: Mar 22nd, 2012

Exactly View is logical identity.Oracle only stores definition of View in metadata. Using view, we can hide some columns of tables from users, we can hide original table name from user. Using view we can perform complex query in single statement.

Answered by: ROHAN MAKODE on: Feb 25th, 2012

Assume that the dba is modifying a tables and the same time developer want to use that database a then dba can provide him the view for that tables.

Code
  1. CREATE VIEW VIEW_NAME(SELECT * FROM A);

What are the components of logical database structure of Oracle database

Asked By: Interview Candidate | Asked On: Sep 1st, 2005

Answered by: doc123 on: Mar 22nd, 2012

Logical Structure of Oracle is following.

Tablespace =>Schema => Segments => Extent => Oracle Block. (Remember Oracle block is smallest logical unit).

Answered by: csanthoshreddy on: Mar 6th, 2012

the logical components of database are tablespaces, segments, extents, datablocks. datablock is the smallest unit of oracle I/0.

Which process writes data from data files to database buffer cache?

Asked By: Interview Candidate | Asked On: May 7th, 2005

Answered by: doc123 on: Mar 22nd, 2012

Data always copied in buffer cache from data file by only Server Process not DBWR.

Answered by: Shivasharan on: Mar 8th, 2012

Database writer writes data from Buffer to Disk But Server process loads data from Disk to Buffer

Locks in Oracle

Asked By: zefyrpma | Asked On: Nov 15th, 2011

A user issues the below query, 1. select * from table1 lock table at the same time DBA is trying to modify this table table1 using alter command, will he able to do that or not?

Answered by: doc123 on: Mar 22nd, 2012

DDL lock are exclusive locks. It shared the data. Means anyone can select data from same table.

Answered by: anil on: Mar 13th, 2012

there dba can break the lock given to table.
but in real time, no dba has the right to break the lock given by the user

Daily tasks for an Oracle DBA

Asked By: chandandba | Asked On: Mar 13th, 2012

What are key tasks for an Oracle DBA on daily basis?

Answered by: doc123 on: Mar 22nd, 2012

Daily Tasks of DBA are following. 1. Disk Space checking for all databases, tablespaces, archive log destinations, dump destinations, and backup destinations. 2. All backup successfully finished or n...

Answered by: Ankur Kaushik on: Mar 15th, 2012

1.Connectivity: Make sure each database is available and accessible both by logging in via user applications, as well as running test scripts. 2.Backups: Check database and log backups, archiving an...

What is Oracle table

Asked By: Interview Candidate | Asked On: Aug 24th, 2005

Answered by: srilatha on: Mar 16th, 2012

Table is used to store the data in the form of rows and columns

Answered by: nandu on: Sep 21st, 2011

a table is used to store the information in form of rows &columns in the database

What is a datafile

Asked By: Interview Candidate | Asked On: Apr 6th, 2005

Answered by: csanthoshreddy on: Mar 6th, 2012

datafile is the physical storage location of the database.tablespace is logical.for creation of tablespace one or more datafiles needed.we can define the datafile location with the following parameter

db_create_file_dest

Answered by: Dharma Kotha on: Oct 10th, 2011

Datafiles are physical data location of oracle architecture. Table space contains no.of datafiles.

How do you see specific table space is offline or online ?

Asked By: KISHOREDB | Asked On: Nov 16th, 2011

Answered by: Neeraj Kumar Singh on: Feb 17th, 2012

Code
  1. SELECT TABLESPACE_NAME, ONLINE_STATUS FROM DBA_DATA_FILES;

Answered by: Arunkumar on: Dec 28th, 2011

Code
  1. SELECT tablespace_name,status FROM dba_tablespaces;

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".