Query Performance Tuning Strategies with Monica Rathbun

13/04/2022 36 min Episodio 823
Query Performance Tuning Strategies with Monica Rathbun

Listen "Query Performance Tuning Strategies with Monica Rathbun"

Episode Synopsis

How do you keep your SQL queries fast? Richard chats with Monica Rathbun about her approaches to SQL Server query tuning. Monica starts with defining the problem - how do we know that the database is the performance bottleneck? The conversation dives into measuring query performance and the power of Query Store, but only on SQL Server 2016 and above, so get upgrading! Entity Framework is a standard tool for developers to automate access to SQL. Still, it can generate some pretty ugly queries, and Monica talks about different ways to improve them, including the old standby of writing a stored procedure. Lots of ideas for folks struggling to make their databases go fast!Links:Monitoring Performance with Query StoreCommon Table ExpressionsCursors in SQL ServerSQL Server ProfilerGlenn's SQL Server Performance BlogRecorded February 22, 2022