Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SQL Server Internals and Architecture Overview
Rating: 4.2 out of 5(212 ratings)
1,184 students

SQL Server Internals and Architecture Overview

A Real World Introduction to SQL Server Internals
Created byMike West
Last updated 2/2016
English

What you'll learn

  • At the conclusion of this course you'll understand how data is stored.
  • You'll also understand the anatomy of a Page. The fundamental unit of storage in SQL Server.
  • You'll learn how to correctly use several well known but undocumented commands to examine pages.

Course content

4 sections34 lectures1h 1m total length
  • Introduction1:35

    What's this course about?

    Let's find out in this intro.

  • Is this Course Right For You?1:11

    Are you at the right place?

    I want to make sure this course is right for you.

  • Course Downloads0:05

    Use the code provided in the course for the examples and demos throughout the course.

  • Data Pages2:07

    When storing data in SQL Server it's all about the page.

    Let's learn about it in this lecture.

  • Row Structure1:32
  • The Two Core Data System Datatypes1:26

    There are two kinds of system data types in SQL Server.

    Let's define them in this lecture.

  • DBCC IND and DBCC PAGE2:23

    We use two undocumented tools to get a forensic like look at our data structures.

    Undocumented just means not supported, these are safe to run on any test box.

  • Row Overflow0:55
  • Does SELECT * really cause more IO?3:40

    Let's take a look to see if SELECT * is really worse than Select column1, column1... etc.

    I'll give you the tools in this lesson to find out either way.

  • Summary1:23

    Let's conclude what we've learned in this section.

  • Terminology0:21

    Not that many new terms but understanding what they do is critical to understanding the storage engine.

    Let's go over these now.

  • Quiz

Requirements

  • You'll need to download and install a copy of SQL Server 2012,2014 or 2016. The express edition will do.
  • You'll need a copy of the adventureworks database.
  • All though the tools we will be using are safe, you'll need an environment other than production to test on.

Description

SQL Server is a massive, complex product.

One DBCC command can have over one hundred thousand lines of code.

Once you’ve learned the basics… creating tables, inserting data, backing up databases… then what?

The daily routine of a database developer or DBA often doesn't involve internal structures.

I’ve been driving for 30 years but don’t know the parts to my car’s engine. Well, I’m not mechanic either.

If you want to understand how SQL Server really operates then you have to undertake a study of how the two core engines of SQL Server work with one another.

The storage engine stores data and the optimizer processes queries.

This course will provide you with a solid foundation in storage internals. We are going to cover how data is stored at a very low level.

You’ll learn the vernacular specific to the page and several new commands that will provide us with some deep insight into what any how SQL Server stores data.

We will cover the data row structure and the transaction log and by the end of this course you’ll understand how data moves in SQL Server.

This knowledge will help you troubleshoot SQL Server at a level most DBAs simply don’t grasp. We will look at examples and code syntax to determine what works and what doesn’t.

Any relational database is a collection of objects, the table being the most fundamental.

However, what they are and what they do are two different things. Relational databases have entities called transactions that transfer and manipulate data.

This course will focus on how and what these transactions are moving.

Thanks for you interest in SQL Server Internals.

I’ll see you in the course!!!

Who this course is for:

  • This is a mid level course for those with a solid foundation in SQL Server.
  • This is not an entry level course.
  • Everything you need for the course will be included in the course.