Minggu, 20 Maret 2011

SQL Server: Identify Memory and Performance Issues in T-SQL Queries and Fix them

Sometimes you may notice that some T-SQL queries are taking too much time to execute and thus slowing down the performance of SQL Server and other applications. You can find and rectify these queries using the following methods: Method 1 : Use Dynamic Management ViewSELECTtxt.text, total_elapsed_timeFROMsys.dm_exec_query_stats statCROSS APPLY sys.dm_exec_sql_text (stat.sql_handle) txt ORDER

Tidak ada komentar:

Posting Komentar