Viewing 15 posts - 29,311 through 29,325 (of 49,552 total)
Would one of mine do?
http://www.sqlservercentral.com/articles/Indexing/68636/
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
November 18, 2010 at 10:15 am
Ellen-477471 (11/18/2010)
I've never been certain if the optimizer added it twice. Or if the order changes.
SQL doesn't add it twice (and it's not done by the optimiser)
If the clustering...
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
November 18, 2010 at 9:55 am
nigelrivett (11/18/2010)
The clustered index columns will be added as included rather than indexed.
For a unique nonclustered index, the clustering key is present only at the leaf level (like an include...
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
November 18, 2010 at 9:46 am
Ellen-477471 (11/18/2010)
so, would if be most efficient and work correctly if I just create the index with the column 'invtypeid' only?leaving the 'itemnumber' implied?
Work correctly, yes. Most efficient, no. If...
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
November 18, 2010 at 9:09 am
I use option 3, but them Microsoft's the sole sponsor at the moment.
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
November 18, 2010 at 6:59 am
CirquedeSQLeil (11/17/2010)
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
November 18, 2010 at 6:11 am
Someone out for free consulting again?
http://www.sqlservercentral.com/Forums/Topic1022788-391-1.aspx
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
November 18, 2010 at 6:05 am
Don't understand what you're asking. If you copy the data to another server you've just copied the data. The mirrored status of the one server is totally irrelevant to the...
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
November 18, 2010 at 6:00 am
nigelrivett (11/18/2010)
I think the tuning advisor is of little real value.
Agreed. Test any recommendations carefully
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
November 18, 2010 at 5:59 am
None.
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
November 18, 2010 at 5:55 am
DataDog (11/18/2010)
connection 1 - get lock on index A
connection 2 - get lock on index B
connection 1 - waits for...
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
November 18, 2010 at 5:55 am
If you want some help building it, please show us what you have so far.
If you want to hire someone to do it for you, what's your budget?
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
November 18, 2010 at 5:52 am
There's less logging for a temp table compared to a user table. Proof on my blog if you're interested.
The data caching's much the same, but even if it were more,...
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
November 18, 2010 at 4:23 am
Profiler (deadlock graph event) or turn traceflag 1222 on and it will be written to the error log. Neither is historical. Hence why I asked if it was reproducible.
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
November 18, 2010 at 4:13 am
matsinopoulos (11/18/2010)
However, what is your opinion about a Select failing with transaction deadlock error? What might be the possible roots of error?
No idea. Would need to see the deadlock graph....
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
November 18, 2010 at 3:54 am
Viewing 15 posts - 29,311 through 29,325 (of 49,552 total)