Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > Checkpoint vs. commit process
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Checkpoint vs. commit process

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 02 June 2008
I have been trying to understand the relationship between CKPT and commit process. Please let me know the actions taken by LGWR, DBWN and CKPT and the final picture of SCN entry, RBA entry (both in control file and data file headers), datafile status and redo file status in the following scenarios:

1) User A has a transaction going on, he has not commited it. CKPT is fired.

2) User A has a transaction going on, he commits it.

3) User A has a transaction going on , he commits it and at the same time CKPT fires.

Even if you could give me the reference of some article which describes the interdependent operation of CKPT (Incremental) and commit, that may suffice.


>
EXPERT RESPONSE
Technically, the CKPT process has nothing to do with commits. Checkpoints serve one function, to write changed blocks to the database datafiles under certain conditions. It is possible for uncommitted changes to be written to the database datafiles. CKPT will cause DBWn to write changes to disk at a time interval or after a certain number of changes have occurred. Both of these are configurable by INIT.ORA parameters.

When a transaction changes data, the COMMIT is not complete until the changes are written to the online redo logs. The process responsible for this is LGWR, not CKPT.

Please read the Oracle Concepts manual for more information.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Design and Architecture
Should we worry about Oracle memory leaks on Windows?
How to disable Oracle constraints and triggers during an import in 10g
How to delete a partition on the F: drive with Oracle on Windows
What is a staging table, and how is the staging concept used in Oracle?
What could be causing an SQL count 0 with a successful Oracle import?
Tips for how to size an Oracle server
Oracle error 942 when exporting a schema
Do DDL statements roll back, and why?
Increasing Oracle storage capacity by moving to a new storage with minimum downtime
Using Undo Tablespaces vs. rollback segments in Oracle 9i, 10g

Oracle database administration (DBA)
Should we worry about Oracle memory leaks on Windows?
How to disable Oracle constraints and triggers during an import in 10g
How to delete a partition on the F: drive with Oracle on Windows
What is a staging table, and how is the staging concept used in Oracle?
What could be causing an SQL count 0 with a successful Oracle import?
Is a hot backup part of a backup database using RMAN?
How does Oracle instance recovery work and what happens internally?
How to configure Oracle DB_BLOCK_SIZE and Solaris operating system block size
How to back up Oracle 10g RAC database on an AIX system
Tips for using parameters in an Oracle dump file import
Oracle database administration (DBA) Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts