January 3, 2011 at 6:18 am
I do have one question regarding to differential backup.
Suppose i am taking Full backup on sunday, and monday i am adding few rows in particular table and taking differntial backup.
But how does SQL Server know which rows have to add using Differentail Backup?
January 3, 2011 at 6:31 am
SQL has a type of allocation page called the DCM, the differential change map. When you make a change to a table, the extent that the modified/new rows are in gets flagged in the appropriate DCM (the bit for that extent goes from 0 to 1).
The differential backup processes all extents that are flagged 1 in the DCMs. It doesn't care about the rows, just the extents (64kb chunk). Full backups reset the DCM to all 0
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 3, 2011 at 6:34 am
SQL Server tracks changed data through Differential bitmap pages. Here is more information on it.
Pradeep Adiga
Blog: sqldbadiaries.com
Twitter: @pradeepadiga
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply