Oracle startup and shutdown, monitoring start/shutdown of services

Source: Internet
Author: User

One: Sql*plus start/close:

1.sqlplus/nolog start Sql*plus "Do not connect to the database"

2.conn/as SYSDBA Connect to Oracle as a DBA

3.startup Startup Database

Three ways to start a database and application scenarios

1> Normal Start

Startup [Open] boot order: 1. Launch Instance "parameter file" to create background processes and services                     

2. Loading the database "control file"for the instance, loading the database opens the control file,

                      Get information about the physical structure of the database, such as the database name, the location and name of the data file, and prepare to open the database

3. Open the database, set the database to open, instance open all data files and redo log files

Application scenario:Open mode is also divided into non- restricted state and restricted state, restricted state:

                 1. perform data import and export

                 2. extracting external data using Sql*loader

3. Prohibit Normal user access to the database

                     4. Database porting or upgrade operations

  

2> startup mount boot sequence: 1, 2 steps for normal startup

Application scenario: Because the physical data file is not open, it is suitable for:

1. Data operation of the file

2. Operation of log files

3. Database recovery operations

4. Operation of the archive mode of the database

3>startup nomount Boot sequence: 1 steps for normal startup

Application scenario: Because the control file, data file is not open, it is applicable to:

1. Create a database,

2. Resetting the control file

4. Close the database

Normal shutdown shutdown

Close shutdown immediate now

Close transaction shutdown transactional

forcibly closing shutdown abort

Second: Start/shutdown of Oracle monitoring service:

Start: Lsnrctl start

Stop: Lsnrctl stop

strong>     Status: Strong> lsnrctl status

Non-restricted and restricted states

Oracle startup and shutdown, monitoring start/shutdown of services

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.