Viewing 15 posts - 2,926 through 2,940 (of 5,843 total)
Grant Fritchey (5/23/2012)
Can you post the execution plan for the query? It's hard to suggest improvements not knowing the structure of your system, tables, indexes, constraints, etc.
Actually Grant I don't...
May 24, 2012 at 7:11 am
I would have (probably clustered) index on your datetimestamp column. then do something like this:
declare @error int, @rowcount int
set @rowcount = 9999
while @rowcount > 0
begin
begin tran
...
May 24, 2012 at 7:07 am
I will let others who have been following along here continue to help you with this. But I have a HUGE CAUTION for you: BEWARE doing tuning by...
May 24, 2012 at 7:00 am
Gullimeel (5/23/2012)
Not necessarily. Properly done indexing can provide just about the same benefit. Partitioning may give you somewhere around an additional 1% performance improvement over just indexing, but is that...
May 24, 2012 at 6:55 am
Grant Fritchey (5/22/2012)
May 23, 2012 at 6:42 am
<lol> Your 'interview' comment reminds me of an interview I suffered through a while ago. They were asking [really detailed] "What would you do if...?" questions. Finally I...
May 23, 2012 at 6:40 am
You should know about good automated tools Ami, given what DBSophic's Optimizer is capable of!! Like I have said before - it is like having the vast majority of...
May 23, 2012 at 6:38 am
SQL Kiwi (5/22/2012)
TheSQLGuru (5/22/2012)
May 22, 2012 at 1:28 pm
As always you have a great breakdown of what is going on in the plan Paul! To the OP: Paul makes a great point about helping the optimizer by...
May 22, 2012 at 6:17 am
MERGE with TRIGGERS will not function as desired in your scenario either. You will need to break the processing into discreet steps - i.e. UPDATE existing matching rows, INSERT...
May 21, 2012 at 6:58 am
In addition to the logical IO you seem to be fixated on you must also consider the TYPE of IO. Random IO on rotating media, which is what you...
May 18, 2012 at 2:46 pm
I have said it many times before and will say it again. Table Partitioning in SQL Server is a very complex subsystem with lots of requirements, conditions, gotchas, etc....
May 18, 2012 at 6:52 am
okbangas (5/16/2012)
May 18, 2012 at 6:48 am
Elizabeth, I will point out that you have been going at this one performance issue for 3 days now. It is quite possible that getting a good performance tuning...
May 18, 2012 at 6:34 am
RBarryYoung (5/17/2012)
RBarryYoung (5/17/2012)
Thanks for the test, Kevin.Hmm, I wonder why that didn't work? ...
Well I looked at the estimated and actual query plans for several different versions of my...
May 17, 2012 at 11:20 am
Viewing 15 posts - 2,926 through 2,940 (of 5,843 total)