Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

'no chkpt on recovery'

i would also like to where exactly in a database a chekpoint record is added, if 'no chkpt on recovery' option is set to false and what exactly it does in terms of loading transaction logs if a chkpt record has been written to the database as compared to when it has not been written.
0
sajalk
Asked:
sajalk
1 Solution
 
jayaramhhCommented:
Hi,      
      An automatic checkpoint process wakes up approximately every 60 seconds and cycles through every database to determine if a checkpoint is needed. This determination is based on the recovery interval configuration option and the number of rows added to the log since the last checkpoint. Only those rows associated with committed transactions are considered in the calculation.
      If the trunc. log on chkpt. option is set, the checkpoint process attempts to truncate the log every 60 seconds, regardless of the recovery interval or the number of log records. If there are no committed transactions in the log, the log is not truncated.
     Only implicit checkpoints performed automatically by SQL Server result in this truncation. A CHECKPOINT statement issued by a user does not cause truncation of the transaction log, even when the trunc. log on chkpt. option is set.


0
 
sajalkAuthor Commented:
the following was not answered:
since chkpt. does not occur at regular interval, where in the database it is stored as to when exactly s chkpt was issued last.
thanx.
sajal.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now