Question : We have a multi-tenanted database. FirmID is the partition key and we have lots of different firms. I […]
Tag: parameter-sniffing
Same query different execution plans
Question : I am trying to optimize performance for a server and this particular query was causing huge reads from […]
Parameter Sniffing – Running query in code vs in management studio
Question : I just had a problem at work where a stored proc, being called by some C# code, was […]
Does sp_recompile performance enhancement always link to parameter sniffing?
Question : We have a production app which runs ok normally, but gave us very poor performance this week. As […]
Parameter sniffing = On with Parameterization = forced. Which takes precedence?
Question : These two settings seem to contradict each other. One forces plan parameterization so that only one plan gets […]
Execution plan caching of ITVF called with inline vs dynamic SQL
Question : I would like someone to explain to me how each of the two queries below would generate their […]
Does parameter sniffing exist for views?
Question : I’ve heard of and encountered parameter sniffing in stored procedures before. But today I ran into the first […]
Date index SEEK is chosen when using OPTION RECOMPILE but not with OPTION OPTIMIZE FOR
Question : I have a table containing 10 years worth of ‘package scans’. Somebody scans a package and it records […]
Does oracle database suffer from parameter sniffing issue
Question : Does oracle database suffer from parameter sniffing issue in stored procedures? Considering there are millions of pages written […]
Same query different execution plans
Question : I am trying to optimize performance for a server and this particular query was causing huge reads from […]
- 1
- 2