Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 implications of temporarily changing DB mode?

Author  Topic 

ferrethouse
Constraint Violating Yak Guru

352 Posts

Posted - 2012-06-01 : 11:59:54
I need to delete several clients from our shared database. I will be disabling the website tonight in order to do this. It takes about an hour to delete a client but if I change the recovery mode of the database to simple first then it takes half the time. But If I do that and then change it back to full after then the transaction logs are out of sync and useless right? Suggestions?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-06-01 : 12:29:58
You have to run a full or diff backup to startup the tlog chain again after you switch back to FULL.

I don't understand why changing the recovery model speeds up performance. That doesn't make any sense. There must be something else going on here, such as severe IO issues.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ferrethouse
Constraint Violating Yak Guru

352 Posts

Posted - 2012-06-01 : 16:01:08
quote:
I don't understand why changing the recovery model speeds up performance. That doesn't make any sense. There must be something else going on here, such as severe IO issues.



It is deleting about 18 million records so I guess not having to commit to the tlogs means it is faster.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2012-06-01 : 16:41:53
quote:
Originally posted by ferrethouse

quote:
I don't understand why changing the recovery model speeds up performance. That doesn't make any sense. There must be something else going on here, such as severe IO issues.



It is deleting about 18 million records so I guess not having to commit to the tlogs means it is faster.



Nope. Transaction log is used regardless of recovery model. You've got something else happening here. Maybe autogrow problems and not often enough tlog backups?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -