what does checkpoint do in simple mode?

Posted on 2014-08-26
Last Modified: 2014-09-08
database is in full mode.
 change it to simple
 run the command 'CHECKPOINT'
 change it back to full.
 what has happened in this process?
Question by:25112
    LVL 44

    Expert Comment

    by:Vitor Montalvão
    Since you just changed the recovery model to simple I would say that you won't loose nothing. But you can check that by the time that it's need to set the recovery model to full again.

    And don't forget to make a full backup immediately after went back to full recovery model.
    LVL 5

    Author Comment

    the above steps was recommended to 'regenerate the log file' which was corrupted.. hence I was trying to understand how checkpoint can do that?

    if I just do
    database is in full mode.
      change it to simple
      change it back to full.
    it won't regenerate the log file, will it?
    LVL 44

    Accepted Solution

    What you mean with "regenerate the log file"?

    If means empty the log file, then the answer is yes but be careful because you might loose information and your backup chain will break, that's why you need to run a full backup after set it back to full recovery model so you can start a new backup chain.

    But you have a better option that is running transaction log backups. It's the correct and the faster way to do it.


    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
    How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now