Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

WAL file segments and rotation structure

Image RemovedImage Added

See also WAL history size section below

...

If we observe only CP begin and there is no CP end marker that means CP not finished; we have not consistent page store.

For crash without CP running restore is simple, logical record are applied.

Image Added

Let’s suppose we crash occurred at the middle of checkpoint. In that case restore process will discover markers for CP1 and 2 start and CP 1 end.

Image RemovedImage Added

For completed checkpoint CP1 we apply only physical records, for incomplete CP2  - only logical (as physical may be corrupted).

...