Oracle database Startup and shutdown in Linux

Source: Internet
Author: User

Sometimes you need to restart the Oracle database on Linux.

Note Start the database first, and then listen on the startup database.

Su oraclesqlplus/nologconnect/as sysdbastartup//exit Sqlplusexitlsnrctl start//shut down the database before opening the monitor shutdown immediate

A.startup parameters

Start the DB instance without parameters and open the database so that the user can use the database, and in most cases, use this method!

Nomount, just start the DB instance, but don't open the database, use it when you want to create a new database, or use it when you need it!

Mount, which is used when renaming a database. This time the database is open and ready to use!

B.shutdown parameters

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.

Oracle database Startup and shutdown in Linux

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.