Performance tuning

 

 


Some of the key points I learned 

Understanding the execution plan: Analyzing the execution plan is crucial to identify potential bottlenecks and inefficiencies in the query. It provides insights into the sequence of operations and helps pinpoint areas for optimization.

Examining the execution time of each operator: By evaluating the time taken by individual operators in the execution plan, we can identify the specific steps causing performance degradation and focus our efforts accordingly.

Considering the impact of functions: significance of functions in query performance. Evaluating their execution and considering factors like maxdop (parallelism) can greatly impact overall query speed.

Exploring compatibility modes: Being aware of compatibility modes and their associated features, especially advancements like UDF inlining in SQL Server 2019, allows us to leverage the latest capabilities for improved performance.

Assessing inlineable sys modules: Understanding and analyzing inlineable sys modules helps identify potential performance issues related to system modules.

Thoroughly investigating index spools:  importance of examining index spools when the SQL Server engine fails to provide missing indexes. Understanding their presence and impact is essential for optimizing query performance.

Monitoring index creation status: Learning to utilize "set statistics profile on" to verify the progress and percentage of index creation is a valuable technique for ensuring the effectiveness of index optimization efforts.


Comments

Popular posts from this blog

Interview Questions on AOAG

Database Administrator Designations

Interview questions for Junior SQL server DBA.