SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Find Most Expensive View (By Execution Count)

By Yusuf Kahveci,

An important step in optimizing a system is to take a holistic approach and look at View that are called very often. These procedures can often be the backbone of a system. Sometimes optimizing these procedures can have a dramatic effect on relieving the physical bottlenecks of the system and improving end-user experience.
The following DMV query shows the execution count of each View, sorted by the most executed View first.

Total article views: 1259 | Views in the last 30 days: 1
 
Tags
performance    
 
Contribute