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

Starting Up Oracle Database

To start up the Oracle database, log in as the Oracle user and connect to the database as the sys user with sysdba privileges. Execute startup to start the database and exit to close the connection. To shut down the Oracle database, log in as the Oracle user and connect as sys user with sysdba privileges. Execute shutdown with the normal, immediate, or abort option and exit to close the connection. To start or stop the Oracle listener service, log in as the Oracle user and use lsnrctl start or lsnrctl stop.

Uploaded by

Ajay Lohia
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Starting Up Oracle Database

To start up the Oracle database, log in as the Oracle user and connect to the database as the sys user with sysdba privileges. Execute startup to start the database and exit to close the connection. To shut down the Oracle database, log in as the Oracle user and connect as sys user with sysdba privileges. Execute shutdown with the normal, immediate, or abort option and exit to close the connection. To start or stop the Oracle listener service, log in as the Oracle user and use lsnrctl start or lsnrctl stop.

Uploaded by

Ajay Lohia
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

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

Down Oracle Database


Perform the following steps to shut down 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. Shut down the database. There are three options to shut down the database sql>shutdown normal sql >shutdown immediate sql>shutdown abort

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

Up/Stopping Oracle Listener Service

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

You might also like