View Single Post

   
  #4 (permalink)  
Old 02-29-2008, 08:52 AM
Erland Sommarskog
 
Posts: n/a
Default Re: Memory usage\Performance problem

Magnus Österberg (magnus.osterberg@abo.fi) writes:
> I guess my expectations on selecting based on a non-indexed column were
> somewhat high. When I added an index, my query executes in seconds. One
> index solved this problem, but my table contains 30-40 similar columns,
> and I don't think indexing every column is a good idea.
>
> Isn't there any other ways of speeding up selects? Well, I guess not...


Well, once data is in cache it will be faster. Or at least less slow.

But if you need to do this on every column, it sounds to me like one
of those things Analysis Services is good for.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp

Reply With Quote