Home > Archive > MS SQL Server > January 2006 > log file at sql server shutdown









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author log file at sql server shutdown
j.goines

2006-01-31, 3:23 am

hi all,
maybe a poor question, but i cannot test it for myself now.
when i shutdown or stop sql server, will there all logfiles be written in
the databasefiles, the same as a backup will do?

thanks for help
jeff


John Bell

2006-01-31, 3:23 am

Hi

It depends on how orderly the shutdown is, in an orderly shutdown a
checkpoint is carried out which will write all dirty pages to disc.

Check out:
http://msdn.microsoft.com/library/d..._start_6628.asp
or
http://msdn.microsoft.com/library/d...create_4hk5.asp

http://msdn.microsoft.com/library/d..._ca-co_241g.asp

On restarting SQL server will try and recover any committed transactions
from the log file.

John

"j.goines" wrote:

> hi all,
> maybe a poor question, but i cannot test it for myself now.
> when i shutdown or stop sql server, will there all logfiles be written in
> the databasefiles, the same as a backup will do?
>
> thanks for help
> jeff
>
>
>

j.goines

2006-01-31, 7:23 am

thanks a lot!
jeff

"John Bell" < jbellnewsposts@hotma
il.com> schrieb im Newsbeitrag
news:2706FFFE-4BD4-42EC-8465- 18A7569B8F60@microso
ft.com...[color=darkred]
> Hi
>
> It depends on how orderly the shutdown is, in an orderly shutdown a
> checkpoint is carried out which will write all dirty pages to disc.
>
> Check out:
> http://msdn.microsoft.com/library/d..._start_6628.asp
> or
> http://msdn.microsoft.com/library/d...create_4hk5.asp
>
> http://msdn.microsoft.com/library/d..._ca-co_241g.asp
>
> On restarting SQL server will try and recover any committed transactions
> from the log file.
>
> John
>
> "j.goines" wrote:
>


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com