Naveen Kumar (6/10/2009)
I have performance issue in my application. This view contains more than 5 lakh records.Please help me how to create unique clustered index on this view. So that my queries performance will increase.
Indexing the view may not be the best solution. What are the queries that are slow, what's the view's definition, what are the underlying tables' definitions and what are their indexes? Lastly, can you post the exec plan of the slow queries, saved as .sqlplan files, zipped and attached.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability