How to stop oracle database ?
Stopping/Shutdown the Oracle Database
There are certain ways to start oracle database like:- Using SQLPLUS
- Using Oracle Enterprise manager (If DB is configured with EM)
- Using Oracle Grid/cloud control (If DB is configured with GC)
1. Logon to the database server as the administrator/OS user 2. To start the database instance, go to Start -> Settings -> Control Panel -> Administrative Tools -> Services.
3. Scroll down to the service for the database, for example: OracleServiceORCL
4. Right click and select Stop. A dialog box appears showing the progress of the shut-donw and after a few seconds it will disappear.
The database instance service is now stopped
Linux Database Shutdown
1. Logon to the database server as the administrator/OS user
2. To start the database instance, go to Terminal and set below environment variable if already not.
On Bash shell,
export ORACLE_HOME=<ORACLE_HOME value like /u01/app/oracle/product/11.2/db_1>
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=<DB Name like orcl>
3. Connect to the database:
sqlplus / as sysdba OR Sqlplus sys/<pwd>@<TNS> as sysdba
4.enter the following command:
shutdown;
OR
Shutdown immediate;
OR
Shutdown abort; (for instant DB shutdown)
Tags: Oracle Database, Shutdown
Subscribe to:
Post Comments (Atom)
Share your views...
0 Respones to "How to stop oracle database ?"
Post a Comment