How to reboot the Oracle database
To restart the Oracle database, you can follow these steps:
- Log in to the Oracle database server on the operating system with administrator privileges.
- Open the command prompt or terminal window.
- To stop the Oracle database instance, input the following command:
sqlplus / as sysdba
shutdown immediate
- Wait for the database instance to finish closing.
- Use the following command to start the Oracle database instance:
sqlplus / as sysdba
startup
- Waiting for the database instance to finish starting.
- You can use the following command to verify if the database has been successfully launched:
sqlplus / as sysdba
select instance_name, status from v$instance;
If the status of the database is “OPEN”, it indicates that the database has been successfully launched.
Please be aware that restarting the Oracle database may interrupt any ongoing operations, so make sure there are no critical operations in progress before executing this action. Additionally, ensure to perform a proper backup before restarting.