GeekInterview.com
Series: Subject: Topic:

Oracle Memory Management Interview Questions

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

How can we start the database if both the PFile and spfile is lost?

Asked By: Naveen | Asked On: Feb 15th, 2006

Answered by: nagesh on: Jan 20th, 2012

We can get the pfile from the diagonostics_dest path, in this we select the appropriate parameters and then jst create a copy in $ORACLE_HOME/dbs location using another initdbname.ora
jst run it again its enough it works.

Answered by: g.mrunalini on: Jul 26th, 2008

All the changes to the init.ora file is recorded in the alert.log file. So,go to the alert log file in bdump directory and delete the unnecessary parameters from the file and copy that file to the desired location and restart the database.

What is the use of parfile option in exp command ?

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

 name of the parameter file to be passed for export.

Answered by: Mad on: Jan 17th, 2012

We can avoid explicitly showing password in the script by putting it in Parfile. If password has Pound "#" sign in it then parfile will treat the pound sign as a start of a comment so it wont work in that case.

How will you swap objects into a different table space for an existing database

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

Star Read Best Answer

Editorial / Best Answer

Answered by: Shrikant Pande

Answered On : Aug 24th, 2005

Alter table < Table_Name> move tablespace
 
Alter index rebuild tablespace ;

Answered by: Shrikant Pande on: Aug 24th, 2005

Alter table < Table_Name> move tablespace
 
Alter index rebuild tablespace ;

What is redo log buffer

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Star Read Best Answer

Editorial / Best Answer

Answered by: Alok

Answered On : Sep 10th, 2005

Redo log buffer is circular buffer,lgwr writes these buffers in cyclic faishon.redo log buffers contains redo entreies which are used to reconstruct or redo chandes. 
 

Answered by: Alok on: Sep 10th, 2005

Redo log buffer is circular buffer,lgwr writes these buffers in cyclic faishon.redo log buffers contains redo entreies which are used to reconstruct or redo chandes. 
 

Answered by: priya on: May 30th, 2005

it is a memory location where the temporary changes are stored in abuffer

What is meant by recursive hints

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Star Read Best Answer

Editorial / Best Answer

Answered by: sushilsb

View all answers by sushilsb

Member Since May-2006 | Answered On : Jun 2nd, 2006

Number  of  times processes repeatedly query the dictionary table is called recursive  hints.  It  is due to the data dictionary cache is too small. By increasing  the SHARED_POOL_SIZE parameter we can optimize the size of Data Dictionary Cache.

Answered by: sushilsb on: Jun 2nd, 2006

Number  of  times processes repeatedly query the dictionary table is called recursive  hints.  It  is due to the data dictionary cache is too small. By increasing  the SHARED_POOL_SIZE parameter we can optimize the size of Data Dictionary Cache.

What is dictionary cache

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Star Read Best Answer

Editorial / Best Answer

Answered by: Alok Kumar

Answered On : Sep 22nd, 2005

Hi,

Dictionary cache is memory arear in shared pool.dictionary cache are used to hold db blocks of recently used data dictionary tables.

thanks

Alok.

 

Answered by: Alok Kumar on: Sep 22nd, 2005

Hi,

Dictionary cache is memory arear in shared pool.dictionary cache are used to hold db blocks of recently used data dictionary tables.

thanks

Alok.

 

What is database buffer

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Star Read Best Answer

Editorial / Best Answer

Answered by: Alok Kumar

Answered On : Sep 22nd, 2005

Hi,

Database buffers are used to store copy of data of data blocks that has been used recently.the set of database block buffers are called db buffer cache.redo log buffers are used to store temorary entries for redo that supose to written to redo logfiles.

thanks

Alok.

Answered by: Alok Kumar on: Sep 22nd, 2005

Hi,

Database buffers are used to store copy of data of data blocks that has been used recently.the set of database block buffers are called db buffer cache.redo log buffers are used to store temorary entries for redo that supose to written to redo logfiles.

thanks

Alok.

How will you estimate the space required by a non-clustered tables

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: agarwalk_2000 on: Jun 16th, 2007

Calculate the total header size.
Calulate the available data spaceper data block.
Calulcate the combined column length by the avarge row.
Calultate total averagerow size.
Calculate avarge number of rows that can fit in data block.
Calulate the number of blocksbytes that required for a table.

What is a logical backup?

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

 logical backup involves reading a set of database records and writing them into a file. Export utility is used for taking backup and import utility is used to recover from backup.

Answered by: gurubhai33 on: Mar 26th, 2011

Backups that are done using exp/imp or Data pump as called logical backups. It take the backup of logical structure of database instead of physical.

Answered by: Sriharsha N on: Mar 25th, 2011

Logical backup means backing up the database objects like tables, views , indexes...etc using the EXPORT utility given by Oracle. The objects exported in this way can be imported into either same data...

Enterprise LINUX os block size

Asked By: tamil.dba | Asked On: Dec 26th, 2007

My platform is enterprise LINUX (rhel as4) how to find block size.

Answered by: ianilreddy on: Aug 7th, 2010

IFCONFIG LONG_BIT
if we use this command we can find size of block size in os level

It  is  possible  to  use  raw  devices  as data files and what is the advantages over file. System files ?

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

 yes. the advantages over file system files. i/o  will  be  improved  because  Oracle  is  bye-passing the kernnel which writing into disk.Disk corruption will be very less.

Answered by: prashatt on: Jun 24th, 2008

Raw devices are controlled by the database engine so the OS kernel can be bypassed when using raw devices. System files reside on filesystem, filesystem is addressed by the kernel. So everytime a data...

Why we do use very small size of ram compairing then hard disk?

Asked By: dilip agrawal | Asked On: Oct 23rd, 2007

Answered by: prashatt on: Jun 24th, 2008

RAM means Random access memory, which is used as a temporary memory space to load Operating system kernel, driver modules and services needed on the system. Whenever you switch off the system all the ...

What is advantage of having disk shADOwing / mirroring

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: prashatt on: Jun 24th, 2008

Disk shadowing or mirroring is done either using a software or a hardware utility called RAID.  Disk shadowing enables another disk to take-over from a failed hard disk avoiding any downtimes. Generally Hardware fial-overs are enabled on all servers.

Answered by: balu on: Oct 8th, 2005

instead of taking seperate backups mirroring always helps taking backup simultanuesy.

How will you swap objects into a different table space for an existing database ?

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

 export the user perform import  using  the  command  imp  system/manager   file=export.Dmp indexfile=newrite.Sql. This will create all definitions into newfile.Sql. drop necessary objects. run the script newfile.SQL after altering the tablespaces. import...

Answered by: simakas on: Oct 9th, 2007

If its the same database use:

alter table the_table move tablespace other_tablespace;
alter index the_index rebuild tablespace other_tablespace;

What are disadvantages of having raw devices

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: simakas on: Oct 9th, 2007

Oracle raw devices are managed only with Oracle tools, at OS level they are just dd (character special files) devices. Raw devices are more difficult to administer than data files stored on a file system or in an ASM disk group.

When will be a segment released

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: simakas on: Oct 9th, 2007

Segment is dropped
On shrink
On truncation (TRUNCATE used with drop option)

It is possible to use raw devices as data files and what are the advantages over file system files

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: simakas on: Oct 9th, 2007

Yes. Using raw files/devices for database can have a slight performance gain. Raw files are unformatted disk partitions that can be used as one large file. Raw devices have the benefit of no file syst...

What is application server and web server give the difference between these two servers

Asked By: balakrishna | Asked On: Feb 27th, 2006

Answered by: yathirajulu on: Sep 30th, 2007

The difference is Application server provides some features:Multi-threading, persistence, security & Transperant, which supports various protocols.Where as, Web-server doesn't supports that features....

Answered by: sushilsb on: Jun 1st, 2006

Web servers serves the HTTP request and reutrns the HTTP response whereas application server exposes the business methods. These business methods are invoked thru different protocols e.g. Http, TCP/IP...

How will you monitor the space allocation

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: agarwalk_2000 on: Jun 16th, 2007

By Dba_segments and DBA_extents and dba_free_space views.

List the optional flexible architecture (ofa) of Oracle database

Asked By: Interview Candidate | Asked On: Aug 26th, 2004

Answered by: schma16 on: May 29th, 2007

Optimal Flexible Architecture is a set of configuration standard created to ensure reliable Ora installation that require little maintenance. It has a default file naming and Directory layout for nami...

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.