
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.
Restore databases to a base before applying new index structures with a restore script. Verify the correct drive path to ensure the restoration succeeds.
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.
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.
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.
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.
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.
Explore how a covering index speeds queries by avoiding lookups. Compare the clustered index on age and SSN with another index, and limit columns to improve execution plans.
consolidate redundant indexes by grouping last name, first name, and middle initial into a single covering index, then test with execution plans to optimize storage usage.
Explore how a unique index and unique constraint affect performance, including cluster index concepts, execution plans, and avoiding duplicate indexes in SQL Server.
Learn how duplicate indexes harm performance and maintenance in SQL Server, and discover best practices to avoid creating unnecessary indexes while improving query speed.
Explore how over indexing harms performance, inflates maintenance time and disk usage, and why monitoring indexes and avoiding unnecessary indexes is essential for transactional workloads.
Discover how forcing clustered or nonclustered indexes changes performance, switching between scans and seeks. Learn to create covering indexes to speed up queries in SQL Server.
Deactivate a cluster index on the primary to boost insert performance, as shown by a reduction from 12 minutes 20 seconds to 1 minute 2 seconds; test scenarios before reactivating.
Analyze how a clustered index on a newid column impacts performance by inspecting fragmentation, page density, and index statistics to inform optimal indexing strategies.
Demonstrate how a filtered index targets only relevant values to shrink index size and speed queries on targeted ranges.
Demonstrates creating and using filtered indexes, and shows how execution plans choose or miss these indexes. Explore forcing index usage, comparing covering indexes, and recognizing anomalies in query plans.
Choose the clustered index to optimize performance on high-volume data, and schedule nightly maintenance to rebuild fragmentation; remember a unique constraint can create a clustered index, so keep it narrow.
See how the columnstore index boosts performance on very large fact tables in a data warehouse, using compression and batch mode processing to store data efficiently in memory.
The lecture demonstrates creating an indexed view in SQL Server by adding a clustered index first, then a nonclustered index, to boost queries over large aggregated data.
Understand how fragmentation affects index scans, disk space, and page splits, and learn when to reorganize or rebuild indexes, considering fill factor and buffer pool impact.
Demonstrate how inserting data in a SQL Server index causes page splits and fragmentation, altering contiguity from base level through intermediate to leaf pages.
Learn to enable extended events, set up a session, and monitor page splits on a clustered index by inserting test data and querying results to observe split behavior.
Set the fillfactor to reserve free space on index pages, typically around 70 percent, to prevent page splits during inserts and when creating or reorganizing indexes.
Learn how to manage SQL Server indexes by choosing between reorganize and rebuild, assessing fragmentation, updating statistics, and applying online or offline maintenance plans.
Learn how to rebuild SQL Server indexes with abort_after_wait to manage blocking and timeouts, including blockers, transaction handling, and rollback during peak hours.
Discover what sargable means on SQL Server and how index seeks versus scans affect query performance and the execution plan, with tips to rewrite expressions for better efficiency.
Consolidate duplicates and indexes to save space and time, use a single index that covers multiple needs, and apply clustered and covering indexes for critical queries.
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 :)