Get in Touch

Course Outline

1. Database Preparation and DBO

2. Custom Data Types

  • UDDT (User-Defined Data Types)
  • UDT (User-Defined Types)

3. Spatial Data

  • Geography
  • Geometry

4. Hierarchical Data Type

  • Structural Elements
  • Storage Methods
  • Indexing Strategies
  • Methods

5. XML Data Type

  • Creating Variables
  • OPENXML Standard
  • FOR XML Clause
  • Data Type Conversion
  • WITH XMLNAMESPACES Clause
  • Namespaces
  • XQUERY Language
  • XPATH Language
  • FLWOR Expressions
  • Methods
  • XML Document Indexing
  • Examples of XML Data Usage

6. APPLY Operator

  • CROSS APPLY
  • OUTER APPLY

7. Ranking and Analytical Functions

  • OVER Clause
  • Window Functions
  • Frame Clauses
  • Operators: GROUPING SETS, GROUPING_ID, ROLLUP, CUBE, PIVOT, UNPIVOT

8. Temporary Data

  • Temporary Tables
  • Differences and similarities between using table variables and temporary tables
  • Other Temporary Objects

9. Enhancing Query Performance through Data Indexing

  • Rowstore Indexes
  • Advantages and disadvantages of using indexes
  • Types of Indexes
  • Index Selectivity Indicator
  • Server Suggestions for Missing Indexes
  • HEAP Tables
  • Hints (server guidance and suggestions)
  • Measuring operation execution time with and without index usage
  • Columnstore Indexes

10. Index Maintenance and Upkeep

  • Index Fragmentation
  • Index Rebuilding: REBUILD
  • Index Reorganization: REORGANIZE
  • Index Fragmentation Level

11. Creating and Maintaining Statistics

  • Statistical Structure and Working Principles
  • Monitoring and Maintaining Statistics
  • Cardinality Estimation Errors and Statistics Updates

12. Query Execution Plan Analysis

  • Query Optimizer
  • CASE: Obtaining Information for a Specific Query
  • Query Optimizer Working Principles
  • Query Plans: QUERY EXECUTION PLAN
  • Types of Query Execution Plans
  • Running and Reading Query Plans
  • CASE: INDEX SCAN and INDEX SEEK Operations
  • PARAMETER SNIFFING
  • Code Recompile

13. SQL Query Execution Control

  • Hints (server guidance and suggestions)
  • SQL Server Profiler - (SSP)
  • Extended Events - (EE)
  • Database Engine Tuning Advisor - (DTA)
  • Data Collector - (DC)
  • Query Store - (QS)

Requirements

  • Intermediate-level knowledge of SQL
  • Experience in database design and management
  • Familiarity with fundamental concepts related to indexing

Target Audience

  • Database Administrators
  • SQL Developers
  • Data Analysts
 21 Hours

Testimonials (3)

Related Categories