0% found this document useful (0 votes)
112 views

Oracle Instance Basic Manual

This manual provides you the whats an oracle instance, how connection obtained, Starting Up and Shutting Down the Instance(Database).
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
112 views

Oracle Instance Basic Manual

This manual provides you the whats an oracle instance, how connection obtained, Starting Up and Shutting Down the Instance(Database).
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 3

Starting Up and Shutting down the Instance (Database) ############################################## Using Sqlplus Command promt Using Script Using

ing Sqlplus Command promt Go to database Oracle Home Set the Databse n! "ile Connect to sqlplus with s#sdba pri! $un the command as startup % statges are there to start the instance &omount 'ount Open &omount (hen D) is in the nomount stage* oracle +irst opens and reads the initiali,ation parameter +ile -init.ora/ +or the D) con+iguration which includes !arious parameters required +or initiali,ation. )ased on the parameters* the memor# areas in database instance are allocated and db bac0ground processes are started. 1he instance then starts. 'ount (hen D) is in this stage* it opens and reads the control +ile which contains the ph#sical structure o+ db li0e the database data+iles etc.. It determines the location o+ the data+iles and the database is read# to be opened. Open (hen D) is in this stage* it opens the database* it tries to access all o+ the data+iles associated with the database. Once it has accessed the database data+iles* it ma0es sure that all o+ the database data+iles are consistent. Shutting down the Instance ############################ Closed Dismount Shutdown

Shutting Down with the &O$'23 Clause 1he &O$'23 clause is optional* because this is the de+ault shutdown method i+ no clause is pro!ided. &ormal database shutdown proceeds with the +ollowing conditions4 &o new connections are allowed a+ter the statement is issued. )e+ore the database is shut down* the database waits +or all currentl# connected users to disconnect +rom the database. 1he ne5t startup o+ the database will not require an# instance reco!er# procedures. Shutting Down with the I'' DI21 Clause 1o initiate an automated and unattended bac0up (hen a power shutdown is going to occur soon (hen the database or one o+ its applications is +unctioning irregularl# and #ou cannot contact users to as0 them to log o++ or the# are unable to log o++ 1o shut down a database immediatel#* use the SHU1DO(& command with the I'' DI21 clause4 control +ile !er# Oracle Database has a control +ile* which is a small binar# +ile that records the ph#sical structure o+ the database. 1he control +ile includes4 1he database name &ames and locations o+ associated data+iles and redo log +iles 1he timestamp o+ the database creation 1he current log sequence number Chec0point in+ormation

You might also like