How can we start the database if both the PFile and spfile is lost?
What is the use of parfile option in exp command ?
name of the parameter file to be passed for export.
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
Answered by: Shrikant Pande
Answered On : Aug 24th, 2005Alter table < Table_Name> move tablespace
Alter index
Alter table < Table_Name> move tablespace
Alter index
Answered by: Alok
Answered On : Sep 10th, 2005Redo 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.
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.
it is a memory location where the temporary changes are stored in abuffer
What is meant by recursive hints
Answered 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.
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: Alok Kumar
Answered On : Sep 22nd, 2005Hi,
Dictionary cache is memory arear in shared pool.dictionary cache are used to hold db blocks of recently used data dictionary tables.
thanks
Alok.
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
Answered On : Sep 22nd, 2005Hi,
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.
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
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.
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.
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.
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
My platform is enterprise LINUX (rhel as4) how to find block size.
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 ?
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.
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?
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
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.
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 ?
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...
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
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
It is possible to use raw devices as data files and what are the advantages over file system files
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
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....
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
By Dba_segments and DBA_extents and dba_free_space views.
List the optional flexible architecture (ofa) of Oracle database
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...
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.
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.