
What's is this course about?
Let's find out in this lecture.
The transaction log capture what's happening inside SQL Server like it's capturing your thoughts.
Let's take a look at that in this lecture.
What's WAL again?
Let's learn the basics of how a page is written to disk.
In this lecture let's learn how the transaction log is designed.
This will set the stage for the rest of the course.
Course downloads.
We will be doing a lot of manual checkpointing in this course.
Let's find what that is.
Let's learn how concurrent transactions are written out to a log file.
In this lesson let's start working with fn_dblog.
In this lesson let's learn how transactions are written to the log.
Additionally, we will try to make some sense of the column information provided.
Let's INSERT one row and look and take a detailed look at that transactions.
Let's take a look at the logging associated with INSERTING a single row into a table.
In this lecture let's learn about the logging associated with a single update statement.
We've been using NULLs as parameters throughout the course.
In this lesson let's learn how to pass LSNs into fn_dblog.
Both of these are fully logged operations.
In this video we'll learn several key points about logging for both commands.
In this lesson let's find out who dropped my object.
In this lecture let's move from analyzing live data to analyzing the information inside a transaction log backup.
We can analyze a .bak file the same way we can a .trn file.
Let's learn how to do that in this lecture.
COURSE REVIEWS:
Thanks Mike. Absolutely fantastic. Learnt so much. Clearly presented with excellent use of technology to demonstrate the key points. It covered many aspects of SQL Server not just SQL syntax and gave practical demonstrations of every subject covered. Brilliant. -- Mr Dave Morgan
"A very succinct introduction to the SQL Server transaction log. A must for anyone wishing to understand the function of the transaction log and learn how to explore its contents within the space of an hour or two." -- Stylianos
"Great" -- Richard
"The explanation was very simple and easy to understand." -- Mansoor
"Very good forensic procedures." -- Thomas
"Thanks very much, nice course" -- Stanislaw
"Great explanation and very representative examples." -- Roman
"I am learning a lot about SQL Server Transaction Log Analysis." -- Debora
"Concise review of basic SQL premises along with log analysis at current and file levels. Good course." -- Mike H
"Excellent material and quick to the point!" -- Nick Y.
COURSE INTRODUCTION:
Welcome to Advanced SQL Server Transaction Log Analysis. In this course, we are going to take a deep dive into analyzing the transaction log. The SQL Server transaction log contains the history of every action that modified anything in the database.
Before data is written or saved on disk a copy or record of that transaction is first written to the transaction log.
This is part of the D in the ACID properties. Recall that D stands for durability and durability is the ACID property which guarantees that transactions that have committed will survive permanently.
For example, if a flight booking reports that a seat has successfully been booked, then the seat will remain booked even if the system crashes. This process in SQL Server is accomplished by WAL or Write Ahead Logging.
SQL Server uses a write-ahead log (WAL), which guarantees that no data modifications are written to disk before the associated log record is written to disk.
No matter what you’ve read about non-logged operations the truth is that every user transactions that modifies an internal SQL Server object is logged.
In the course we will learn how WAL works for SQL Srever and some internal architecture on how this is accomplished.
Thanks for your interest in Advanced SQL Server Transaction Log Analysis and we will see you in the course.