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

what internaly happens to the Transaction log file data during server / memory crashes in sql server . Highlight if any differences between the sql versions too?

$
0
0

1. If transaction log file is only having log records ( no data pages ) where the transaction data is physically located in disc ?. Not sure whether it is locating in physical memory (buffer cache) or somewhere ? 

2. A transaction is doing a insert of around 100 GB data and its is commited . The 50 GB data has been written to the disk , during wrtting remaining data , server crashed. When the server comes up, commited transaction will be roll forward during redo phase. If yes, where that 50 GB data was located during server crash . If it is in buffer cache , how it will accomodate if physical memory is only below 10 GB.

3. A transaction is doing a insert of around 100 GB data and its is commited . The 50 GB data has been written to the disk , during wrtting remaining data , physical memory crashed. When the server comes up, will the commited transaction ie., 50 gb data gets roll forward ? if yes where will that 50 GB located during memory crash.

Note: Like to understand with graphical view of the these operations internally . Will be very useful if anyone can manually create it.


vijayasarathi


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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