Db checkpoint.
Changed order of major sections.