Posts

Showing posts from October, 2017

Oracle Background Processes - System Monitor (SMON)

Oracle Background Processes - System Monitor (SMON) :  SMON stands for system monitor process is the most critical background process for Oracle Database. It performs critical tasks such as instance recovery,dead transaction recovery and maintenance tasks such as temporary space reclamation, data dictionary cleanup, and undo tablespace management. It is a mandatory background process for running an Oracle instance. It is the heart of oracle architecture.It performs all system monitoring functions on the oracle database, SMON checks regularly to see whether it is needed. Other processes can call SMON if they detect a need for it. It checks the space of SYSTEM tablepace and if it is running short of it displays an error message. SMON wakes up periodicaly to perform housekeeping activities like cleanup of temporary segments that are no longer needed.  It also coalesces contiguous free extents in dictionary managed tablespaces that have PCTINCREASE set to a non-zero value. It al

Flashback Database to Restore Point in Primary-Standby Environment

Flashback Database to Restore Point in Primary-Standby Environment: When we have a Data Guard environment (Primary RAC and Standby Standalone Databases) and we want Flashback database to restore point. We need to follow below steps. a) Always flashback the primary database first. Then follow below step for Standby. b) On the primary, connect using RMAN and list the incarnations. c) On the standby, cancel the recovery and flashback the standby to restore point created earlier. d) On the standby, connect using RMAN and list the incarnations. e) If there is a mismatch in incarnation between primary and standby then need to reset the incarnation of standby and start recovery (Details not available in this DOC). 1)    Disable Log Transport Services to the Standby Database for the Destination serving the Standby Database on all Primary Instances: $ dgmgrl sys/<Password>@<PRIM/STDBY> DGMGRL>  show database 'PRIM '; edit database '