GeekInterview.com
Series: Subject: Topic:

Oracle DBA Interview Questions

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

How do you kill a process in UNIX

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

Answered by: vijay on: Mar 16th, 2013

kill -9

Answered by: Manjunath on: Mar 6th, 2013

kill -9 (process)

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

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

Answered by: arjun on: Feb 14th, 2013

Sp file is static and p file is dynamic

Answered by: Shakeer.Shaik on: Aug 11th, 2012

SP file is more advantage than P file SP File: SP file is available from above 9i versions.SP File is a server side file,Dynamic file,no need to restart when ever changes happen.u cant edit the SP f...

What parameter should be consider while defining the size of sga

Asked By: neha.awasthi1 | Asked On: May 18th, 2011

Answered by: arjun on: Feb 14th, 2013

Before 11g sga_target from 11g onwards memory_target is mandatory

Answered by: sridhar on: Aug 1st, 2011

mandatory parameter are:
1.db_cache_size
2.log_buffer_size
3.shared_pool_size
4.sga_max_size

Can you start a database without spfile in Oracle 9i?

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

Answered by: seshu on: Jan 8th, 2013

No its cannot possible. In any version we have by default one spfile. If Pfile is exitsted then you startup database.

Answered by: venu on: Sep 1st, 2012

In Oracle 10g, the database is started automatically using pfile (if there is no spfile) when we issue the startup command.

We dont need to specify to Oracle to use pfile always.(Linux OS)

Layer exception handling

Asked By: shanthiavari | Asked On: Jun 10th, 2008

In exception handling we have some not_found and others. In inner layer we have some not_found and others. While executing which one whether outer layer or inner layer will check first?

Answered by: AK Badola on: Dec 17th, 2012

Inner layer

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

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

Answered by: rkishore on: Nov 30th, 2012

Server process

Answered by: doc123 on: Mar 22nd, 2012

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

What is database link

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

Answered by: Abhinav on: Nov 5th, 2012

a database link is a path to another database with the help of which a user can access the schema objects of later database.

Answered by: Jaydeep Galiya on: Oct 28th, 2012

Database link is an implementation of chaining.The database link behaves like a database but has no persistent storage.Instead,it points to data stored remotely.

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

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

Answered by: Nony on: Oct 7th, 2012

alter table move tablespace USERS

Answered by: chandrasekar.s on: Jun 1st, 2012

using alter table command we can move one table from one schema to other

Code
  1. SQL>create TABLE t1
  2. unrecoverable AS SELECT * FROM other_schema.t1;
  3.  

How to estimate size of database?

Asked By: PARTHA SINHA | Asked On: Jan 25th, 2007

Answered by: sanu on: Sep 26th, 2012

SQL> select a.datafile_size + b.temp_size + c.redo_size + d.controlfile_size "Total_size in GB" from ( select sum(bytes)/1024/1024/1024 as datafile_size from dba_data_files) a, ( select nvl(sum(by...

Answered by: prati on: Mar 7th, 2007

select sum ( bytes) from dba_data_files ;
select sum(bytes) from v$log;
select sum ( bytes ) from dba_temp_files ;
Total sum of all the three will give the database size .

What is the difference between view and materialised view?

Asked By: madhuri_v123 | Asked On: Aug 23rd, 2012

Answered by: hanuman on: Sep 4th, 2012

view does not consume space and materialized view consume space

Answered by: manoj100 on: Aug 26th, 2012

A view is a simple select statement executed each time user runs query against it A materialized view is a physical persistent object used for performance improvement of summary data or replication. ...

Online backup of a control file

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

Can you take online backup of a control file if yes, how?

Answered by: venu on: Sep 1st, 2012

Code
  1. SQL> ALTER DATABASE backup controlfile TO trace AS <PATH>

Specify the path where you want to store the controlfile backup.

Answered by: neha.awasthi1 on: May 18th, 2011

we can do this by suding RMAN:
configure control file auto backup on;

Where can you check the state of the database after the startup command.

Asked By: Interview Candidate | Asked On: Oct 2nd, 2004

Answered by: venu on: Sep 1st, 2012

Code
  1. SELECT STATUS FROM v$instance

will give the required result.

Answered by: Wildy on: Jul 18th, 2011

select instance_name, status, database_status, startup_time from v$instance;

Which functions can be improved by using transportable tablespaces?

Asked By: Interview Candidate | Asked On: Oct 2nd, 2004

Answered by: venu on: Sep 1st, 2012

The transportabel tablespaces enable us to transport data objects across different platforms.

Backing up or recovering a particular user/schema objects or data objects or tablespaces or entire databases is possible, which cannot be done using other backup techniques.

Answered by: Sriniv@s.. on: Jun 2nd, 2012

Moving data using transportable tablespace can be much faster than performing either export/import or unload/load of the same data.Bcz transporting a tablespace only requires the copying of datafiles & integrating the tablespace structural information.

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: venu on: Sep 1st, 2012

SCN is generated by oracle when a transaction is successfully commited. This is referred to as SystemChangeNumber. We can think of it as a transaction id generated when we make some transaction in an ...

Answered by: SANTHOSH on: Aug 15th, 2012

SCN no is a number which is generated by the oracle, when we made any changes to the data that statements will be recorded in redo log files and every committed statement will be given this SCN no by oracle.

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: venu on: Sep 1st, 2012

We can also try the explainplan and tkprof utilities.

Answered by: Madhusmita Dash on: Jun 21st, 2012

I think we should check the indexing structure.May be for that it took more time.

What is the use of control file

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

Answered by: Mubeen on: Jul 19th, 2012

control file is used to startup the database from nomount stage to mount stage. Firstly, when the database is started it looks for the path of control file in the parameter file and the database is now in the nomount stage. Now the database looks for the control files to startup the database.

Answered by: Sriniv@s.. on: Jun 8th, 2012

Control file contain metadata of the database.And also containing as follows,
Name of the database & when was database created.
Name & location of datafiles,redolog files.
Backup information(RMAN).
SCN information stored into it.

What is the use of storage option in materialized view ?

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

Answered by: iv4122 on: Jul 3rd, 2012

Using the storage options can bring further performance gains by using the techniques available for regular tables, including parallel option, partitioning or nologging for the table that holds the materialized view data.DRDPW

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

Materialized views are useful for fast REPLICATION purpose..

What is a schema ?

Asked By: Interview Candidate | Asked On: Sep 6th, 2004

 the set of objects owned by user account is called the schema.

Answered by: Sriniv@s.. on: Jun 20th, 2012

Schema is a set of objects own by a Particular user..

Answered by: msabuu on: Nov 6th, 2007

Schema is collection of database object.

What is difference between SQLnet.Ora and tnsnames.Ora and listener.Ora??

Asked By: Hasan | Asked On: Oct 20th, 2006

Answered by: Sriniv@s.. on: Jun 8th, 2012

SQLNET.ORA :: It is the optional network configuration file.it contain network configuration details.
LISTINER.ORA : It is the listener file for creating at server side
TNSNAMES.ORA:client side configuration file.it was matched with listener file.it for remote access.

Answered by: Patrick McShea on: Nov 15th, 2006

SQLNET.ora tells you what path to take in resolving the name of an instance (among other things). In the context of this question, the NAMES.DIRECTORY_PATH parameter specifys the order of the naming methods used for client name resolution lookups. (TNSNAMES, ONAMES...)

What are schema objects

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

Answered by: Sriniv@s.. on: Jun 5th, 2012

Schema is a set of objects own by particular user.
Tables,indexes,Triggers,constraints etc..are schema objects..

Answered by: Jacob on: Jul 9th, 2005

A schema is a collection of database objects. A schema is owned by a database user and has the same name as that user. Schema objects are logical structures created by users. Objects may define areas ...

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.