|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Indetifying views in profilerDoes anyone know of a way to identify views from profiler ?
I have poorly performing views on a large system and no direct way to point back to one particular one Thanks As far as I know, there is no way to do this other than looking in textdata
for direct references to the view. -- Show quoteHilary Cotter Director of Text Mining and Database Strategy RelevantNOISE.Com - Dedicated to mining blogs for business intelligence. This posting is my own and doesn't necessarily represent RelevantNoise's positions, strategies or opinions. Looking for a SQL Server replication book? http://www.nwsu.com/0974973602.html Looking for a FAQ on Indexing Services/SQL FTS http://www.indexserverfaq.com "Buk Usu" <buk***@gmail.com> wrote in message news:ObHoJhK3GHA.5024@TK2MSFTNGP02.phx.gbl... > Does anyone know of a way to identify views from profiler ? > > I have poorly performing views on a large system and no direct way to > point back to one particular one > > Thanks > Hi
Any query that is poorly performing would show up with high cpu/reads/writes or duration, therefore if you analyse the worst performing queries in general you should be able to decide improvements needed in general and not just one specific view. John Show quote "Buk Usu" wrote: > Does anyone know of a way to identify views from profiler ? > > I have poorly performing views on a large system and no direct way to point > back to one particular one > > Thanks > > > Hello Buk,
A view is not a structure unless indexed, it is only a means by which code can be simplified/abstracted. What happens is that whe a query is run with a view, the views query is combined into the main query and that is then optimised. So the view isn't something that exists in the compilation/execution process. As already has been said. If looking for poor performance then look for high cpu, reads, writes or duration Simon Sabin SQL Server MVP http://sqlblogcasts.com/blogs/simons Show quote > Does anyone know of a way to identify views from profiler ? > > I have poorly performing views on a large system and no direct way to > point back to one particular one > > Thanks > |
|||||||||||||||||||||||