Please Login To Continue

Lesson #1: Parameter Sniffing: How it Hinders the DB Performance in SQL Server and Fixes

Lesson 2 of 6 • 0 upvotes • 14:10mins

Avatar

Sourav Mukherjee

Lesson #1: Parameter Sniffing: How it hinders the SQL Server DB performance and ways to fix the problems. When the SQL Server database engine compiles any stored procedure, it looks at the parameter values being passed and creates an execution plan based on such parameters. Such a process of checking at parameter values when compiling a stored procedure is commonly known as “parameter sniffing”. Again, parameter sniffing (as the name suggests), relates to sniffing the parameters. when you execute any ad-hoc query /any stored procedure, the SQL server generates a unique query plan for every query or stored procedure that you execute. When you create any stored procedure with parameters, the SQL server sniffs the parameter range or type and creates a cost-effective execution plan accordingly and this can lead to the performance issues sometimes. We need to address this bottleneck. Plan cache can store execution plans so that they can be reused later for us to execute the same query and an execution plan matches the current parameters of a query improves the performance. This can save both optimization time and the CPU cycle.

Continue on app
1

Parameter Sniffing in Sql Server and the Potential Solutions

15:00mins

2

Lesson #1: Parameter Sniffing: How it Hinders the DB Performance in SQL Server and Fixes

14:10mins

3

Lesson #2: Why Parameter Sniffing Degrades Performance?

15:00mins

4

Lesson #3: Symptoms of Parameter Sniffing

14:21mins

5

Lesson #4: Workaround of Parameter Sniffing using Practical Demo

15:00mins

6

Lesson #5: Conclusion - Summary Overview

13:47mins

Crack Programming with Unacademy

Get subscription and access unlimited live and recorded courses from India's best educators
Structured syllabus
Structured syllabus
Daily live classes
Daily live classes
Ask doubts
Ask doubts
Tests & practice
Tests & practice

Similar Plus Courses

thumbnail
ENROLL
HinglishBiology

Course on Diversity in Living Organism

Seep Pahuja

Unacademy is India’s largest online learning platform. Download our apps to start learning


Starting your preparation?

Call us and we will answer all your questions about learning on Unacademy

Call +91 8585858585
Company
About usShikshodayaCareersBlogsPrivacy PolicyTerms and Conditions
Products
Learner appLearner appEducator appEducator appParent appParent app