Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
oracle demo

oracle demo

Ratings: (0)|Views: 156|Likes:
Published by James Anderson

More info:

Published by: James Anderson on Dec 08, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

03/24/2015

pdf

text

original

 
Page 1
ARCHITECTURE
Every running Oracle database is associated with an Oracle instance.When a database is started on a database server, Oracle allocates amemory area called the System Global Area (SGA) and starts one or more Oracle processes. This combination of the SGA and the Oracleprocesses is called an Oracle instance.
Oracle instance background processes
 
Database Writer (DBW0 or DBWn)
 
Log Writer (LGWR)
 
Checkpoint (CKPT)
 
System Monitor (SMON)
 
Process Monitor (PMON)
 
 Archiver (ARCn)
 
Recoverer (RECO)
SGA contains the following data Structures
 
Database buffer cache
 
Redo log buffer 
 
Shared pool
 
Java pool
 
Large pool (optional)
 
Data dictionary cache
 
Other miscellaneous information
 
From Oracle9i We can change its SGA configuration while the instanceis running. With the dynamic SGA infrastructure, the sizes of the
a) Data buffer cache
b)
shared pool
 
c) large pool
can be changed without shutting down the instance.
 
Page 2
The
database buffer cache
is divided intoa) D
irty list:
buffers that have been modified and are waiting tobe written into disk andb)
least recently used:
(LRU) list. Buffers that are unmodifiedcan be used as free buffers.Oracle9i supports multiple block size in a database. The default blocksize is the block size used for the System Tablespace. You specify thestandard block size by setting the initialization parameter 
DB_BLOCK_SIZE
.Legitimate values are from 2K to 32K. To specify the size of thestandard block size cache, you set the initialization parameter DB_CACHE_SIZE.Sizes and numbers of non-standard block size buffers are specified bythe following parameters:
DB_2K_CACHE_SIZEDB_4K_CACHE_SIZEDB_8K_CACHE_SIZEDB_16K_CACHE_SIZEDB_32K_CACHE_SIZE
The
 
Shared Pool portion
of the SGA contains three memorystructures.a)
Library Cache,
b)
Data Dictionary and
c)
Control Structures
 The size of the Shared Pool can be customized using the parameter 
SHARED_POOL_SIZE
.
 
Page 3
ROWID
Oracle uses a ROWID datatype to store the address (rowid) of everyrow in the database.
Physical rowids
store the addresses of rows in ordinary tables(excluding index-organized tables), clustered tables, table partitionsand subpartitions, indexes, and index partitions and subpartitions.
Logical rowids
store the addresses of rows in index-organized tables.
Trace Files :
Each server and background process can write to an associated tracefile. When a process detects an internal error, it dumps informationabout the error to its trace file. If an internal error occurs andinformation is written to a trace file, the administrator should contactOracle support.
When one of the Oracle background processes (suchas
dbwr,lgwr,pmon,smonand so on
) encounter anexception, they will write to a
trace file
.These trace files are also recorded in thealert.log. Trace files are also created fordiagnostic dump events. AnORA-00600error also produces a trace file.
Alert Log File:
Each database also has an Alert log. The ALERT file of a database isa chronological log of messages and errors.
Oracle's
alert.log
chronologically records messages anderrors arising from the daily database operation. Also, thereare pointers totrace filesand dump files.

Activity (6)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
kmufasa liked this
irukulapati liked this
wellfsf liked this
bugzbinny liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->