Oracle database is a powerful and efficient relational database management system that is widely used in enterprise-level application systems. The running status of the Oracle database is very important, so it is necessary to know how to start and stop the Oracle database. The following is how to start and stop Oracle database.
1. Start the Oracle database
1. Use DBCA to start the Oracle database
DBCA is the installation and configuration wizard for the Oracle database. You can use it to start the database.
Steps:
a. In the command line or terminal window of the operating system, enter: dbca
b. In the main interface of DBCA, select "Start Database Instance"
c. Enter Oracle database management User name and password of the administrator
d. Select the instance to be started and enter the user name and password of the instance administrator
e. Click the "Start Instance" button and wait for the database startup to complete
2.Use Oracle Enterprise Manager (OEM) starts the Oracle database
OEM is an Oracle database management tool that can be used to start the database.
Steps:
a. Enter the OEM's address in the web browser (usually: https://
b. Enter the login credentials, such as username and password
c. Select "Database" > "Instance" in the left navigation bar
d. Select the instance to be started, click the "Start" button in the right panel, and wait for the startup to complete
3. Use the SQL*Plus command line tool to start the Oracle database
SQL*Plus is the command line tool for the Oracle database. You can use it to start the database.
Steps:
a. In the command line or terminal window of the operating system, enter: sqlplus / as sysdba
b. Enter the user name and password of the Oracle database administrator
c. Enter the following command to start Example:
STARTUP
d. Wait for the database startup to complete
2. Stop the Oracle database
1. Use DBCA to stop the Oracle database
DBCA can also be used to stop the Oracle database .
Steps:
a. In the command line or terminal window of the operating system, enter: dbca
b. In the main interface of DBCA, select "Stop Database Instance"
c. Enter Oracle database management User name and password of the administrator
d. Select the instance to be stopped and enter the user name and password of the instance administrator
e. Click the "Stop Instance" button and wait for the database stop to complete
2.Use Oracle Enterprise Manager (OEM) Stops Oracle Database
OEM can also be used to stop Oracle database.
Steps:
a. Enter the OEM's address in the web browser (usually: https://
b. Enter the login credentials, such as username and password
c. Select "Database" > "Instance" in the left navigation bar
d. Select the instance to be stopped, click the "Stop" button in the right panel, and wait for the stop to complete
3. Use the SQL*Plus command line tool to stop the Oracle database
SQL*Plus can also be used to stop the Oracle database.
Steps:
a. In the command line or terminal window of the operating system, enter: sqlplus / as sysdba
b. Enter the user name and password of the Oracle database administrator
c. Enter the following command to stop Example:
SHUTDOWN
d. Wait for the database stop to complete
Summary:
The above are three methods for starting and stopping the Oracle database. Regardless of which method you use, always make sure to back up your database before proceeding to avoid data loss. At the same time, when starting and stopping the Oracle database, you also need to humbly consult and learn from experienced database administrators and other professional and technical personnel.
The above is the detailed content of oracle start and stop. For more information, please follow other related articles on the PHP Chinese website!