Newsgroups: microsoft.public.sqlserver.programming
From: "Jim Underwood" <james.underwoodATfallonclinic.com>
Date: Fri, 15 Sep 2006 17:12:10 -0400
Local: Sat, Sep 16 2006 7:12 am
Subject: Re: Performance Issue
where fPhone like @TelNo
is @TelNo prefixed or suffixed with %? if you prefix the search string with % then you can't really use an index. Is it really necessary to search on part of a phone number? Would a use It would likely be faster to do where fPhone = @TelNo Also, you could have a problem with parameter sniffing, but I'll let those > SQL2000 Std Ed. > Customers table 4 million records > Users search by phone# - during periods of heavy use the cpu will peg to > Here's the facts: > Was troubleshooting w/ user - user app in asp connecting w/ ado over > I am assuming the app is getting stuck on a procedure cache that somehow > Is this table lock escalation - is that common during periods of high > Any ideas how to combat? > Thanks, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||