Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
SQL Server: The complete course on Indexes (4 h of class)
Rating: 3.9 out of 5(22 ratings)
151 students

SQL Server: The complete course on Indexes (4 h of class)

Learn in this course how to set up a real indexing strategy on your tables to get better performance
Last updated 7/2023
English
English [Auto],

What you'll learn

  • Improve performance, through the implementation of indexes on your tables :)

Course content

5 sections31 lectures3h 24m total length
  • Small explanation on the subtitles0:47
  • What is a index ?2:36

    Learn how an index on a server reduces data reads and speeds queries, much like a book index. See how to index a table to improve performance.

  • Setting up databases1:36

    Restore databases to a base before applying new index structures with a restore script. Verify the correct drive path to ensure the restoration succeeds.

  • Démo : Définition and création of a clustered index11:17

    Explore how a clustered index structures data into a root and leaf nodes, with leaves holding the data, and why a table can have only one clustered index.

  • Définition and création of a non clustered index6:46

    Define and create a non clustered index in SQL Server, and contrast it with a clustered index while exploring its syntax, leaf level, and page structure.

  • Structure of the clustered index with a non clustered index4:54

    Explore how a clustered index uses a primary key and how a non-clustered index complements it, with keys replicated on each page and impacts on fragmentation and maintenance.

  • Démo : The table SEEK4:58

    See how a table seek uses cluster and nonclustered indexes to speed data access, with the execution plan guiding reduced i/o. Learn when not to force indexes for every query.

  • Démo : The table SCAN8:54

    This demo compares a table scan with index scans, shows how cluster indexes affect execution plans and page reads, and explains why the right index speeds queries.

Requirements

  • Installation of SQL server on his station + management studio (SSMS)

Description

You have problems of slowness on your SQL servers, and you suspect the implementation of your indexes?

You haven't set up indexes on your tables, because you don't know the differences between a clustered and a non-clustered index? 

In this 4 hour course, come and discover the importance of a good index setup on your tables.

Don't go on a spending spree buying disk storage, when it may be the index setup that is wrong! It's simple, indexes are the first reason, of your performance improvements on a SQL server.

The training in detail:

  • The structure of a clustered and a non-clustered index.

  • The Table SCAN and the Table SEEK

  • The covering index and Why you should not index the whole table (Over indexing).

  • Remove duplicate indexes, and see the definition of a SINGLE index.

  • Remember to consolidate indexes, and the columnstore index.

  • Beware of filtered indexes and their associated cache plan, and see what is the term SARGABLE?

  • How to choose the right Clustered Index

  • Why fragmentation is important, and how to remove it

  • Tracking page splits and the FILLFACTOR definition

  • Rebuild Index Vs REORGANIZE and the ABORT_AFTER_WAIT option


This course is for all DBAs and developers who deal with performance optimization and want to use indexes to improve server performance.

Look at the average of my other courses (4.4/5), and you will see that my courses are quality courses :)

Take this course, will help you to stand out technically from your colleagues, or during a job interview.

I also made sure that the videos are not longer than 10 minutes, so that it's not too boring :)

Who this course is for:

  • Future Database Administrators (DBA)
  • Developers who want to learn about the performance of their SQL query.
  • BI consultants who work on other technologies than SQL Server (Oracle etc...)
  • Students who want to get started on SQL
  • Tech leads (CRM, Web etc..) who want to discover TSQL