Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

SQL log file behavior

$
0
0

Hi, 

I am planing for SQL disaster recovery. Can anyone help check my understand is correct or not?

- The moment when SQL commit the transaction (insert/update/delete)

1. SQL updates data in memory page

2. SQL append log to log file on disk

3. When page full, move data from memory page to disk (write data file)

Then, my assumption...

1. if we manually unplug SQL server, the latest committed transaction is in log file. The incomplete transaction is not commit

2. SQL needs high speed disk for log file because it has to write log of every single committed transaction.

Thank you in advance.

Chaba


___________________________________________________ Naruphon blog: http://www.vm360degree.com


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>