Hi,I've been doing a lot of reading about backups and transactions logs recently, and I have a couple of very simple questions that I'm hoping someone can help me definitively answer.Here's how I understand the process to be:If I have a database that's uses full recovery and that hasn't had a full backup yet, then taking a full backup will start the log chain. After that point, I can take differentials (or continue to take full backups) and I still have a valid log chain. Does that all seem correct?If so, where does that leave transaction logs? If they don't get truncated until they're backed up, then it's possible the transaction log could exceed the database size itself, right?So, while I might have a valid log chain that includes a full backup that's 10GB and a differential that's 1GB, the transaction log (backup) could theoretically be 20GB, right?At this point, the log chain would be good and the transaction log might have been truncated, but it's still going to be 20GB. Does this mean that DBCC SHRINKFILE (which I'm reading over and over is not a good idea for ongoing maintenance) is the right thing to do in this type of scenario?Also, is my understanding correct or am I missing something (or maybe a few things....?).Thanks so much,Mike
↧