Viewing 15 posts - 35,131 through 35,145 (of 49,552 total)
I'd say, just as important as the technical side, is communication skills. If you do get the job, you'll be dealing with big, important clients. They generally call PFEs in...
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
December 22, 2009 at 10:42 am
Depends on what you mean by 'failure'
Database corruption is dealt with very differently to 'I accidentally dropped the database' which is dealt with very differently from 'We've just had a...
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
December 22, 2009 at 10:30 am
GSquared (12/22/2009)
I'm going to go with, "this is a job title they came up with on their own".
I'm guessing it's Microsoft. Premier Field Engineer is part of their premier...
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
December 22, 2009 at 10:27 am
GSquared (12/22/2009)
Great picture, Gail. Is that an original artwork, or something you put together from other works?
Original, mostly. It's 3d graphics. Some of the models were purchased or free...
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
December 22, 2009 at 10:17 am
In that case I'll amend my index advice
CREATE NONCLUSTERED INDEX idx_TRNDTLSPR09_WKENDDT
ON [TRN].[TRNDTL_SPR09] ([WK_END_DT],[TRANS_ID],[SKU_NUM])
INCLUDE ([SLS_UNITS])
and drop the index that's just on WK_END_DT
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
December 22, 2009 at 9:41 am
Chris Morris-439714 (12/22/2009)
It's a pretty picture - but many will feel cheated. Whatever you click on, nothing rude happens.
I'm sorry, but it's enough work to create one image.
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
December 22, 2009 at 7:13 am
There are a couple nasty table scans in there. Can you add this index and then post the revised execution plan?
CREATE NONCLUSTERED INDEX idx_TRNDTLSPR09_WKENDDT
ON [TRN].[TRNDTL_SPR09] ([WK_END_DT])
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
December 22, 2009 at 6:50 am
Merry Christmas everyone.
Since I didn't manage to finish the christmas scene for this year, have one from a couple years back.
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
December 22, 2009 at 6:41 am
No need. The data in an ntext column is unicode (which is what the N prefix means). When you inserted the varchar data, SQL would have done an implicit conversion,...
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
December 22, 2009 at 6:13 am
Couple things...
Do you know that the Statement_History table has no clustered index?
Consider a nonclustered index on the Accounts table on the Account_Type_ID column. There's a clustered index (read table) scan...
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
December 22, 2009 at 2:52 am
That's an awful lot of code. Do some analysis yourself and find where the slow portions of that procedure are, then post those. Also, please post table definitions, index definitions...
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
December 22, 2009 at 2:18 am
You're not referring to the table that you're updating anywhere in the EXISTS so if that subquery returns any rows at all, all rows of the table that's being updated...
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
December 22, 2009 at 2:13 am
First thing, move the SQL into a stored procedure and call that procedure from your ASP (that's classic ASP?)
Once you've done that, please post the proc, table definitions, index definitions...
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
December 22, 2009 at 2:02 am
Jeff Moden (12/21/2009)
Is it actually your goal to return over 4 million rows?
I don't think he is. Look at the arrow leading towards the Compute Scalar (2nd last operator). Estimated...
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
December 22, 2009 at 1:50 am
You can start with this series on indexes, it may help
http://www.sqlservercentral.com/articles/Indexing/68439/
If you have queries often filtering on two columns then you really should add an index on those two columns....
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
December 22, 2009 at 1:41 am
Viewing 15 posts - 35,131 through 35,145 (of 49,552 total)