Oracle database Start and stop

Source: Internet
Author: User

Oracle database Start and stop

Log in as an Oracle user
After logging in, enter the following command:
Oracle-> Sqlplus/nolog
Sql*plus:release 9.2.0.1.0-production on Monday April 26 09:42:00 2004

Copyright (c) 1982, 2002>>, Oracle Corporation. All rights reserved.

sql>; Connect/as SYSDBA
is connected.
sql>;
After entering, you can do the following!
First, shut down the database.
The shutdown has four parameters, and the four parameters have the following meanings:
Normal needs to wait for all users to disconnect
Immediate waits for the user to complete the current statement
Transactional waiting for the user to complete the current transaction
Abort does not do any waiting, directly shuts down the database
Normal needs to shut down the database task after all the connected users are disconnected, so sometimes it looks as if the command is not running! New connections are not allowed after this command is executed
Immediate disconnects the user after the user finishes executing the statement, and does not allow the new user to connect.
Transactional disconnects when it advocates executing the current thing, and does not allow new users to connect to the database.
Abort executes a forcibly disconnected connection and shuts down the database directly.
The first three ways to not lose user data back. The fourth kind does not have the case, does not recommend the use!
Startup of the database
Database startup using the startup command, it has three scenarios
The first: Start the DB instance without parameters and open the database so that the user can use the database, in most cases this way!
The second: With the Nomount parameter, start the DB instance only, but do not open the database, use when you want to create a new database, or use it when you need it!
The third type: With the mount parameter, when the database renaming is used. This time the database is open and ready to use!

Lsnrctl Start Listener

Oracle database Start and stop

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.