Oracle Startup Shutdown Command

Source: Internet
Author: User

Shut down:
1. Shutdown normal
Do not allow new connections, wait for the session to end, wait for the transaction to end, make a checkpoint, and close the data file. No instance recovery is required at startup.

2, Shutdown transactional
Do not allow new connections, do not wait for the session to end, wait for the transaction to end, make a checkpoint, and close the data file. No instance recovery is required at startup.

3, Shutdown immediate
Do not allow new connections, do not wait for the session to end, do not wait for the transaction to end, make a checkpoint, and close the data file. Transactions that do not end are automatically rollback. No instance recovery is required at startup.

4, Shutdown abort
Do not allow new connections, do not wait for the session to end, do not wait for the transaction to end, do not checkpoint, and do not close the data file. Automatic instance recovery on startup. Shutdown abort closes immediately. But the next time it starts, it's probably going to be a problem. Use with caution.

Start:
1, Startup Nomount
Non-installation boot, this way startup executable: Rebuild the control file, rebuild the database, read the Init.ora file, start the instance, that is, start the SGA and background process, this boot only need Init.ora files.

2. Startup Mount (dbname)
Installation starts, this way starts under executable: Database log archive, database media recovery, bring data files online or offline, relocate data files, redo log files.
Execute "Nomount", and then open the control file to confirm the location of the data file and the online log file, but the data and log files are not checked for verification at this time.

3. Startup open (dbname)
You can access the data in the database by executing "nomount", then executing "mount", and then opening all the database files, including the redo log file.

4, startup equals the following three commands
Startup Nomount
ALTER DATABASE Mount
ALTER DATABASE Open

5, startup restrict
Constrained mode to start the database, but only a privileged user is allowed to access it, and the following prompt appears when a non-privileged user accesses it:
Error:ora-01035:oracle only allow users with RESTRICTED SESSION permissions to use

6. Startup force
Force start mode, when the database cannot be closed, you can use startup force to complete the database shutdown, first shut down the database, and then execute the normal start database command

7. Startup pfile= parameter file name
Start with the initialization parameter file, read the parameter file, and start the database according to the settings in the parameter file
Example: Startup Pfile=e:\oracle\admin\oradb\pfile\init.ora

8, startup EXCLUSIVE
Exclusive and shared boot

Oracle Startup Shutdown Command

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.