Course Outline

1. Preparation of the database and DBO

2. Custom data types

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

3. Spatial data

  • Geography
  • Geometry

4. Hierarchical data type

  • Elementy structures
  • Storage methods
  • Indexing strategies
  • Methods

5. Data type XML

  • Creating variables
  • Standard OPENXML
  • FOR clause XML
  • Data type conversion
  • WITH XMLNAMESPACES clause
  • Namespaces
  • XQUERY language
  • XPATH language
  • FLWOR expressions
  • Methods
  • Document indexing XML
  • Examples of using data type XML

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 in the use of array variables and temporary tables
  • Other temporary facilities

9. Improve query performance by indexing data

  • Row indexes,
  • Advantages and disadvantages of using indexes
  • Types of indexes
  • Index selectivity index
  • Server suggestions for missing indexes
  • HEAP tables (heap)
  • Hints (tips, hints for the server)
  • Measuring the execution time of operations with and without indexes
  • Column indexes (COLUMNSTORE INDEX)

10. Maintenance and maintenance of indexes

  • Index fragmentation
  • Index reconstruction: REBUILD
  • Reorganizing indexes: REORGANIZE
  • Index fragmentation level

11. Creating and maintaining statistics

  • The construction of statistics and the principle of their operation
  • Monitoring and maintaining statistics
  • Cardinality estimation errors and statistics update

12. Analysis of query execution plans

  • Query optimizer
  • CASE: obtaining information for a specific query
  • Principles of operation of the query optimizer
  • Query plans: QUERY EXECUTION PLAN
  • Types of query execution plans
  • Running and reading query plans
  • CASE: INDEX SCAN and INDEX SEEK operations
  • SNIFFING PARAMETER
  • Code recompilations

13. Query execution control SQL

  • Hints (tips, hints for the server)
  • SQL Server Profiler - (SSP)
  • Extended Events - (EE)
  • Database Engine Tuning Advisor - (DTA)
  • Data Collector - (DC)
  • Query Store - (QS)

Requirements

  • Intermediate-level understanding of SQL
  • Experience with database design and management
  • Familiarity with basic indexing concepts

Audience

  • Database Administrators
  • SQL Developers
  • Data Analysts
 21 Hours

Number of participants


Price per participant

Testimonials (5)

Upcoming Courses

Related Categories