1.

Which of the following SQL Server SQL Statistics counter represents number of auto-parameterization attempts per second?(a) Batch Requests/sec(b) Failed Auto-Params/sec(c) Forced parameterizations/sec(d) Auto-Param Attempts/secThe question was asked in an interview for job.My question is based upon Query Plan Reuse topic in chapter Performance Tuning and Optimization of SQL Server

Answer»

The CORRECT OPTION is (d) Auto-Param Attempts/sec

To explain: Auto-parameterization occurs when an INSTANCE of SQL Server TRIES to parametrize a Transact-SQL request by replacing some literals with parameters so that reuse of the resulting cached execution plan across MULTIPLE similar-looking requests is possible.



Discussion

No Comment Found

Related InterviewSolutions