Problem solve Get help with specific problems with your technologies, process and projects.

Knowing when a checkpoint has completed

When Oracle performs a checkpoint: a) Is there a way to receive control when the checkpoint has completed and the...

datafiles are in a consistent state? b) If yes, is there a way to force this state for a period of time?

A checkpoint is performed under a variety of scenarios, i.e. a log switch occurs or the LOG_CHECKPOINT_INTERVAL has been reached. There is no native way of knowing when the checkpoint starts and ends. The easiest way is to check when your online redo logs switch. This starts a checkpoint, but it doesn't give you an indication of when that checkpoint has been completed. It also doesn't let you know when a checkpoint has been started with something like the ALTER SYSTEM CHECKPOINT command.

For most people, they aren't too concerned with making sure the datafiles are in a consistent state. As long as the database is in ARCHIVELOG mode, you can always recover a datafile to a consistent state by applying redo.

For More Information

  • What do you think about this answer? E-mail the editors at editor@searchDatabase.com with your feedback.
  • The Best Oracle Web Links: tips, tutorials, scripts, and more.
  • Have an Oracle or SQL tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
  • Ask your technical Oracle and SQL questions -- or help out your peers by answering them -- in our live discussion forums.
  • Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.

This was last published in March 2002

Dig Deeper on Oracle database design and architecture



Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.