Forum Replies Created

Viewing 15 posts - 35,131 through 35,145 (of 49,552 total)

  • RE: SQL Premier Field Engineer. Some questions on this role...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Database Failure Checklist

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Premier Field Engineer. Some questions on this role...

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Query Performance

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Query Performance

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Update old data to use N-prefix

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Baffling performance issue

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: could someone please help to improve the performance of this store proc,it takes 2hrs 30mins to execute

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: trying to do an update with Distinct

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Performance problem for back dated entry

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Baffling performance issue

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Query Performance

    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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 35,131 through 35,145 (of 49,552 total)