Oracle Checkpoint ( CKPT ) Background Process

I will explain Oracle Checkpoint ( CKPT ) Background Process in this post.


Oracle Checkpoint ( CKPT ) Process


CKPT (Checkpoint Process): When this process is triggered, the Database Writer (DBW) process writes dirty blocks in the database buffer cache to datafiles. It also updates the Datafiles header ( latest checkpoint SCN ) and controlfiles with checkpoint information.


If this process is triggered at very frequent intervals, the database will slow down because disk I / O will increase.

If it is rarely triggered, it will take some time to recover instance when the Oracle database instance crashes suddenly. Because changing blocks are not written to datafiles and the number of changing blocks is accumulated. Therefore, during the recovery process, the number of blocks to be written from the online redo log to the data files will be more.


Determining the frequency of triggering of this process is important for the above reasons.




Checkpoint ( CKPT ) Process


Oracle instance has 3 parameters related with the Checkpoint, you can list them as follows.


SQL> show parameter Checkpoint

------------------------------------ ----------- ------------------------------
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE



If you set parameter LOG_CHECKPOINTS_TO_ALERT=TRUE , you can see checkpoint start and end times in the database alert log.




Checkpoint automatically occurs at the following situations:

  1. Log switch
  2. If the datafile is offline
  3. Shutdown immediate command
  5. fast_start_mttr_target parameter
  6. Manual DBA command as follows.




System altered.



You can list the Checkpoint process on the server as follows.


[MSDB1]/home/oracle $ ps -ef | grep -i ckpt
grid 104640 1 0 Apr21 ? 00:19:55 asm_ckpt_+ASM1
oracle 121685 182163 0 17:07 pts/3 00:00:00 grep --color=auto -i ckpt
oracle 185010 1 0 Jun21 ? 00:23:42 ora_ckpt_MSDB1
[MSDB1]/home/oracle $



You can read the following post to learn more details about Oracle Background process and Oracle Architecture.

Oracle Database Architecture -3 SMON, PMON, DBWR,CKPT and LGWR Processes


Do you want to learn Oracle Database for Beginners, then read the following articles.

Oracle Tutorial | Oracle Database Tutorials for Beginners ( Junior Oracle DBA )

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *