You are on page 1of 2

14-8-2013

 Mostly CKPT is killed in case of instance crash.


 Audit file-when you try to connect as sysdba it gets generated as it is a privileged user. Default
location is adump.
 Auditing can be enabled for different levels. Another option is creating trigger(to get the details)
 Auditing can be enabled for other users using audittrail
 Aud$ ??

Checkpoint tuning

During chkpt update scn to control file and data file header.ckpt process initiates that.

Enqueue-holding a lock ??

When we create more redo grps..we get more buffer time to create chkpt.

If redo is switching too frequently, increase size of the redo.

Types-

 Global chkpt- entire database chkpt(eg in case of shut down , logswitch


 Incremental- (eg dropping a table..chkpt is at object level)

Also-

 Tablespace level
 Object level
 Database level

Thread chkpt- in case of RAC there is relevance of this term. No relevance in case of single instance db

To reuse redo chkpt is needed.

If huge buffer cache configured and less activity then additional delay as whole cache has to be scanned.

>> Nologging can be used when we have sufficient backup.

If all buffers full chkpt cannot occur,db will hang.

For background processes – 1503146.1


Issues associated with checkpoint:

- Waiting for CF enqueue.


- Checkpoint not complete.(significant in case of reuse of redo). It comes with the rollback
address(RBA)

Redo logs

We determine when redo log generation is high. We try to get the session.

Log miner - To read the redo log. Won’t give much info if supplemental logging is not available
(additional info in redo file. e.g. if updating the address, only the change vector will be there normally.
Log miner won’t be able to recreate the statements without supplemental logging)

Issues

- Redo switching frequently.


- High redo generation.

Before suggesting increase in redo generation, check whether high redo generation is genuine or not. If
any other cause, determine and check.

Archive logs

Issues:

- High log generation.


- Not able to access it.
- Archive hangs. In turn db also hangs.

You might also like