Beruflich Dokumente
Kultur Dokumente
The default location for the spfile or init file of the database is in
determine all the product versions which are installed in the system.
and other background process also constitute the oracle instance like ARCH,RECO
Shared pool is used to cache recently used sql statements so as to reduce the overall
response time of the sql query if they are executed consequently by the same of diffrent
user. Shared pool consists of library cache,row cache and uga(in case of shared server
configuration).Shared pool is flushed using LRU algorithm
It is use to cache the data dictionary information stored into system tablespace.
The tables,indexes which stores the data in the datafiles in oracle database.Caching the
data in the SGA make the execution of the query faster and reduces the response time.
Log buffer is used to store redo information generated while manipulating the data in the
oracle database.Redo information is used for recovery. The redo information is flushed fr
om
log buffer to online redo log files of the Oracle Database in the circular fashion.
the listener spawns a server process which fires the queries and fetches
the data from the database on behalf of the user process on the client.
Also this server process is dedicated to that particular client only and
parameter in init<SID>.ora
15) Where is the Session Information stored in case of dedicated server configuratio
n?
Because in shared server confirguration all the session are not linked
there is a idle time for server process and this idle time is
increases background process PMON starts the shared server process dynamically .
19) What is the maximum of number of shared servers which can be started by
PMON?
The max number shared server processes which can be started by PMON is decided by
max_shared_servers parameter in init.ora
20) What is the location of init<SID>.ora file for windows system and for unix
system?
init<SID>.ora Files contains all the parameters which is used to configure the Oracle Inst
ance.
For e.g
No, the parameters of the init<SID>.ora does not take effect on the fly when the database
and then stop the database and start the database with the modified pfile.
To start the database with pfile located in the non default location
24) Which parameter determines the location control files in oracle database?
25) What are Instance specific parameters and how are they defined in init<SID>.or
a?
In RAC (Real Application Cluster) which is a Oracle HA(High Availability) Feature we
can have multiple oracle instance configured on different nodes which can access the
same database located in shared storage area. These instances configured on different
nodes can be configured differently by using these instance specific parameters. These
instance specific parameters are defined in init<SID>.ora as
Instance 2 SID:ORCL2
initORCL1.ora
ORCL1.undo_tablespace=UNDOTBS1
ORCL2.undo_tablespace=UNDOTBS2
27) How can we create spfile from pfile and vice versa?
File created
File created
By firing the above command the spfile/pfile is created in the default location i.e
%oracle_home%/database in Windows and
$ORACLE_HOME/dbs
To dynamically change the database parameter your database must be started with
spfile<SID>.ora
If the parameter cannot be modified on the fly use the following command
29) When you give startup to start the database and if both spfile and pfile are prese
nt in
When the oracle starts the instance it looks the following files in the specified order
1)spfile<SID>.ora
2) spfile.ora
3)init<SID>.ora
4) init.ora
If it finds spfile<SID>.ora it will start the database using that but if it is not
present it will look for spfile.ora file. If that file is also not present it looks for init<SID>.
ora
and so on.
We can use
IFILE= ’<location of the pfile>’
SPFILE=’<location of spfile>’
parameters to create pointer to init/spfile which are located at some other location.