Select an appropriate Oracle Database shutdown Method

Source: Internet
Author: User

Step 1: Shut down the database.

When the database is shut down, the database system mainly completes three tasks. First, the system will write the content in the redo log cache to the redo log file. Second, write the modified data in the high-speed cache of the database to the data file (data changes are often stored in the high-speed cache first, rather than directly written into the data file ). Third, close all data files and redo log files after the preceding two tasks are completed. At this time, the user has not been able to connect to the database after the three operations are completed.

Step 2: uninstall the database.

Shutting down the database only involves operations on log files and data files, but does not involve control files. When the database is uninstalling the database, the control file will be closed. The routine can be detached only after the database is shut down. Note that the control file plays a vital role in normal database startup. If the control file cannot be properly closed, it will easily cause a control file error, resulting in a database startup exception. Therefore, when shutting down the database, make sure that the control file is properly closed. At the same time, it is best to back up the control file independently for emergency needs.

Step 3: Terminate the routine.

In the termination routine step, all background processes and service processes will be terminated, and the SGA zone allocated to the memory will be recycled. That is to say, after this step is completed, the database system will release the control of memory. Then the database is actually shut down.

  • 1
  • 2
  • 3
  • Next Page

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.