Oracle server shutdown in Linux environment

Source: Internet
Author: User
Kai-Stop Oracle Services

Log on to the server where the Oracle service resides [root@localhost ~]# su Oracle
[Oracle@localhost ~]$ Sqlplus/nolog
Sql> Connect/as SYSDBA
sql> shutdown immediate (Close database instance)
Sql> Startup (starting a database instance, generally do not need to add parameters, as long as the environment variable settings)
sql> quit (Exit SQL mode)
[Oracle@nstlbeta ~]$ CD $ORACLE _home/bin
[Oracle@nstlbeta ~]$ lsnrctl Stop (off listening)
[Oracle@nstlbeta ~]$ lsnrctl Start (starting listening)
Statup three parameters, meaning as follows:
Startup force: Force startup instance and open database
Startup recover: Database recovery
Startup restrict: Block connections to users other than DBA
Shutdown four parameters, meaning as follows:
Shutdown normal needs to wait for all users to disconnect and not allow new connections.
Shutdown immediate waits for the user to complete the current statement and does not allow new users to connect.
Shutdown transactional waits for the user to complete the current transaction and does not allow new users to connect to the database.
Shutdown abort do not do any waiting, directly close the database, in the case of not already, do not recommend the use of



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.