Professional Documents
Culture Documents
Oracle
DATABASE OVERVIEW
● Database architecture.
Oracle Database:
It is a collection of data logical treated as a unit and
physically stored in one or more data files on disks.
Database architecture
Oracle Instance:
It is an set of background process and memory
structures.
SGA
● The SGA is a shared memory region that
Oracle uses to store data and control
information for one Oracle instance.
● The SGA is allocated when the Oracle instance
starts and deallocated when the Oracle
instance shuts down.
● Each Oracle instance that starts has its own
SGA.
SGA
SGA Consists of the following
● SMON
● DBWR
● LGWR
● CKPT
PMON
● Normal
● Transactional
● Immediate
● Abort
Modes of shutdown
Normal
● No new connections are allowed
● Oracle waits for all currently connected users to
disconnect from the database.
● Only after the last user has disconnected (in
SAP system: all work processes have been
stopped), Oracle shuts down the database
Modes of shutdown
Transactional
● No new connections are allowed, and no new
transactions are allowed to be started after the
statement is issued
● Oracle waits for all open transactions to finish,
then it disconnects all users (work processes in
SAP system) and shuts down the database.
Modes of shutdown
Immediate
● No new connections are allowed, and no new transactions are
allowed to be started after the statement is issued.
Abort
● No new connections are allowed, and no new transactions are
allowed to be started after the statement is issued.
● All client SQL statements currently being processed are
terminated, without rolling back open transactions.Users are
disconnected and Oracle processes are stopped.
THANK YOU!!