Viewing 14 posts - 16 through 30 (of 30 total)
Hi,
I got a reply from our tech guys, who said that auto update statistics was set to true, and in addition to that they were running sp_updatestats once a...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
December 15, 2009 at 1:00 am
GilaMonster (12/14/2009)
Table definitions, index definitions and execution plans please. Refer to the 2nd article in Lynn's sig (How to post performance problems) for details on how to post them.
I'd be...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
December 14, 2009 at 9:23 am
Thank you, a good article!
Not a lot of it applies to my issue I think (I may be wrong as I don't know the exact cause of my problem)...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
December 14, 2009 at 7:25 am
Thanks for all your thoughts and comments. Currently it's working out okay when we delete 5000 rows performance wise, and there doesn't appear to be any locking issues. I assume...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 13, 2009 at 1:17 pm
GilaMonster (3/3/2009)
one (3/3/2009)
Why all this worry about having the clustered index unique? 🙂
A clustered index is always unique. The only question is do you make it unique, or does SQL...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 1:11 pm
Narendra (3/3/2009)
Note: It is many rows per state and one row per bracket.Thanks,
Naru.
Depends on how you see it I guess, but
Alabama ...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 1:05 pm
People are too concerned with consistency and theoretical issues. Why all this worry about having the clustered index unique? 🙂
Making a clustered surrogate key (that you won't really use in...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 12:58 pm
A lookup table like you are suggesting with one row per state per bracket range makes sense.
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 12:37 pm
Ab5sr, Thanks for your suggestion - I guess it might be worth a try to minimize the potential performance hit. I'll give this a try in our staging environment...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 12:29 pm
How many records will a query like this typically return?
It looks to me like you need a clustered index on client_Id in your gl-table. An alternate approach to try...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 12:23 pm
As your SP has several operations - figuring out what is actually the slow part is probably a good way to start instead of just rewriting it in a number...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 12:01 pm
I guess it is a design issue where to put your logic, and this may not be good advice on a database forum - but I like to keep the...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 11:47 am
ab5sr (3/3/2009)
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 11:38 am
Hey, thanks for the replies.
We have the enterprise edition - and runs an online payment gateway, so we have traffic around the clock - no real "slow" period. The...
Thorbjorn Kvam,
Project manager and DBA (design) at Payex (http://www.payex.com)
March 3, 2009 at 10:44 am
Viewing 14 posts - 16 through 30 (of 30 total)