Starting Up Oracle Database
Starting Up Oracle Database
1 ORACLE commands
1.1.1 Starting
Up Oracle Database
Perform the following steps to start up Oracle database: 1. 2. Log in as Oracle user; Execute the command below; $ sqlplus /nolog 3. Execute the command below to connect to Oracle database as sys user; sql>connect sys/oracle as sysdba; 4. Execute the following command to start up the database; sql>startup 5. Execute the following command to exit. sql>exit
1.1.2 Shutting
Note: normal option is to stop all users from accessing database till all users complete requests and log off. immediate option is to shut down database so that the SQL sentence being processed by database will be terminated immediately, and any events not submitted will be rolled back. abort option can be used to shut down database when neither of the above two options functions upon emergency. If this option is used, the SQL sentence is terminated immediately, and the events not submitted cannot be rolled back. It is advised to use shutdown immediate on site. 5. Execute the following command to exit Oracle Server Manager. SVRMGR>exit
1.1.3 Starting
Perform the following steps to start up/shut down Oracle listener service: 1. 2. Log in as Oracle user; Execute the following command to start up Oracle Listener service; $lsnrctl start 3. Execute the following command to shut down Oracle Listener service; $lsnrctl stop