P. 1
ORACLE DATABASE ADMINISTRATION HAND BOOK

ORACLE DATABASE ADMINISTRATION HAND BOOK

Ratings:

4.36

(11)
|Views: 11,341|Likes:
Published by marioy47
Simple and short document on Oracle database administration
Simple and short document on Oracle database administration

More info:

Categories:Types, School Work
Published by: marioy47 on Aug 22, 2008
Copyright:Attribution Non-commercial

Availability:

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

11/19/2012

pdf

text

original

 
ORACLE DATABASE ADMINISTRATION 
 HAND BOOK  BY Y.SREENIVASA REDDJTO(DOTSOFT)
 
 BASICS OF THE ORACLE DATABASE ARCHITECTURE 
Topics
1.The Oracle Architecture2.Starting and Stopping the Oracle Instance3.Creating an Oracle Database.
The Oracle Architecture contains the following:
1.Oracle memory Structures2.Oracle background Processes3.Oracle disk utilization structures
Oracle Instance
: All above three structures of the Oracle database server running together toallow users to read and modify data are referred to as an Oracle Instance.
ORACLE MEMORY STRUCTURES 
:This set of memory components represent a “Living” version of Oracle that is availableonly when the instance is running.There are
2 basic memory
structures on the Oracle Instance1.System Global Area (SGA)2.Program Global Area (PGA)
The Oracle SGA
: This contains1.The Buffer Cache2.The Shared Pool3.The redo log buffe4.Large Pool (from Oracle 8 onwards) (*)5.Java Pool (from Oracle 8 onwards)
Buffer Cache
: The Buffer Cache consists of buffers that are the size of database blocks.The buffers are designed to store data blocks recently used by the user SQL statements inorder to improve performance for subsequent selects and data changes.
Shared Pool
: This has 2 required components and one optional component. The requiredcomponents are:1.Library Cache(Shared SQL Area)2.dictionary cache (row cache)
 
Optional Component
: Session information for user processes connecting to OracleInstance.
Redo Log Buffer
: This stores online redo log entries in memory until they can be written todisk.(*) Usage of 
Shared Pool:
 
-Library Cache (Shared SQL Area)
This caches1.SQL/PLSQL statements2.Parsed form of SQL Statement3.Execution Plans-Oracle has hash value to search for PL/SQL statements in cache area of LibraryCache.-There is limit for no.of statements to hash.-The algorithm LRU (Least Recently used) is used to flush out the SQL statementsin Cache.-
Row Cache (Dictionary Cache) :
- Caches data Dictionary to improve response time on DD Queries.Benefit of Caching DD is :-All user processes and the Oracle database internal processes use the DD, thedatabase as a whole benefits in terms of performance from the presence of cachedDD in memory.(*)The size of the Library Cache and Row Cache will be internally taken care byOracle and user has no control over it.(*)If there is contention for memory betrib cache and row cache – the row cache isgiven priority.Java Pool (8i) :-Used for caching of Java Objects-An ordinary Java file can be stored in Java Pool as database object.-Minimum site is of Java Pool is 20 MB.Usage of Database Buffer Cache: The size of this db buffer cache is controlled by the INIT.ORAParameter DB_BLOCK_BUFFERS = integer value.DB_BLOCK_BUFFERS specifies the no. of database blocks that will be there in the db buffer cache.

Activity (58)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
luckyjaan1 liked this
Nizam Shaik liked this
Swapnajit Konwar liked this
payakkamron liked this
payakkamron liked this
payakkamron liked this
bhaaswanthy liked this
penyuso liked this

You're Reading a Free Preview

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