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
Testimonials (5)
Transfer of knowledge using simple and understandable examples.
Katsiaryna
Course - SQL language in MSSQL
Machine Translated
Philip was very kind, his style of explaining SQL concepts is outstanding. I liked that he give us information and answered to questions which were not part of this course.
Stefan
Course - SQL in SQL Server
analytical functions
khusboo dassani - Tech Northwest Skillnet
Course - SQL Advanced
Practical demonstration of knowledge acquired during the training on a real and very simple business problem. Referring to practical approach-related issues that are not directly elements of the training.
Damian Golab
Course - SQL Advanced in MySQL
Machine Translated
Interactive exercises