Oracle Architecture and Backup (12) Bg-smon

Source: Internet
Author: User
Tags backup

One what is the Smon process

The systemmonitor performs recovery when a failed instance starts up again. In a oraclereal application clusters database, the Smon process of one instance Canperform instance for other Stances that have failed. Smon Alsocleans up temporary segments this are no longer in use and recovers deadtransactions skipped during system Failur E and instance recovery because offile-read or offline errors. These transactions are eventually recovered Bysmon then the tablespace or file is brought back online.

Role:

Instance Recovery

Roll forward changes in all redo logs

Open a database to enable users to access

Rollback transactions that are not committed

The space to engage the free (coalesce every three secons)

Free temporary tablespace (Deal located)

Example of two operations

 sql> startup force;  
      
ORACLE instance started. Total System Global area 838860800 bytes Fixed Size 1222192 bytes Variable Size 775948752 bytes Da  
Tabase buffers 58720256 bytes Redo buffers the 2969600 Database bytes.  
Database opened.  
sql> startup force Mount;  
      
ORACLE instance started. Total System Global area 838860800 bytes Fixed Size 1222192 bytes Variable Size 775948752 bytes Da  
Tabase buffers 58720256 bytes Redo buffers the 2969600 Database bytes.  
-This problem occurs: Close the database and restart sql> ALTER DATABASE archivelog;  
      
ALTER DATABASE Archivelog * ERROR at line 1:ora-00265:instance recovery required, cannot set Archivelog mode  
sql> shutdown immediate;  
Ora-01109:database not open database dismounted.  
ORACLE instance shut down.  
Sql> startup;  
      
ORACLE instance started. Total System Global area 838860800 bytes Fixed Size 1222192 bytes Variable size 775948752 bytes Database buffers 58720256 bytes Redo Buffer  
s 2969600 bytes Database mounted.  
Database opened.  
sql> shutdown Mount;  
Sp2-0717:illegal SHUTDOWN option sql> SHUTDOWN immediate;  
Database closed.  
Database dismounted.  
ORACLE instance shut down.  
sql> startup Mount;  
      
ORACLE instance started. Total System Global area 838860800 bytes Fixed Size 1222192 bytes Variable Size 775948752 bytes Da  
      
Tabase buffers 58720256 bytes Redo buffers the 2969600 Database bytes.  
      
sql> ALTER DATABASE Noarchivelog;  
      
Database altered.  
      
sql> ALTER DATABASE open; Database altered. 

Three summary

1. Smon: System monitoring process, static registration monitoring

2.SMON function: Instance recovery, joining the free space (coalesceevery three secons),

Free temporary tablespace (Deal located)

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.