Wednesday, February 13, 2008

Recovery models

Simple Recovery Model

This recovery model facilitates the maintenance of a database by making the transaction log virtually maintenance free. There are limitations placed on the recoverability of a database if this recovery model is used.

Bulk-Logged Recovery Model

A database in this recovery model will have minimum logging for bulk import operations. Space allocation and deallocation is only logged for bulk import operations. Point-in-time and point-of-failure recovery may be possible when a database is in Bulk-Logged Recovery model.

Full Recovery Model

SQL Server performs full transaction logging for any bulk load operations if a database is in Full Recovery model. Transaction log backups should be performed at regular intervals for maximum recoverability. This model provides the safest mode of operation for production systems.




Complete/Full - Backs up the entire database.

Differential - Backs up only modified extents since the previous complete backup.

Transaction Log - Backs up the active portion and truncates the inactive portion of the transaction log.

File / Filegroup - Backs up individual files and filegroups within a database.