Forum Replies Created

Viewing 15 posts - 34,651 through 34,665 (of 49,552 total)

  • RE: Local Temporary Tables and Table Variables

    3) The only indexes that can be created against table variables are primary key and unique constraints (and even then, people don't usually bother)

    It's not a problem with 10 rows...

    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: Deadlock Scenario

    kingscriber (1/16/2010)


    Forcing the sproc to be read committed doesn't allow an exclusive lock during the select. Does my assumption seem correct for this fix?

    Incorrect. Your selects were taking shared range...

    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: nightly sp_updatestats versus weekly Update Statistics with fullscan

    Indianrock (1/16/2010)


    Thanks Gail. So you're recommending targeted updating for problematic indexes weekly. And I suppose more often as needed.

    Or daily. Or hourly. Whatever you need.

    I see 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

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: nightly sp_updatestats versus weekly Update Statistics with fullscan

    Limiting your fullscan tables where > 20% of the rows has changed is senseless. That's the threshold that the auto update uses. If the row changed reaches that, the auto...

    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: nightly sp_updatestats versus weekly Update Statistics with fullscan

    Indianrock (1/16/2010)


    I'll have to see if I can find what sp_updateStats does under the hood.

    If you're not specifying any parameters to the proc, it does a sampled update to...

    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: Deadlock Scenario

    kingscriber (1/15/2010)


    My guess the default isolation level for the .Net Data Provider for Data Reads is serializable.

    I'm not a .net dev, so can't answer that one. Can you investigate...

    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: Deadlock on single Table, when DELETE

    I'm honestly not sure why this is happening.

    Is there any reason you have no clustered index? If there's no good reason, maybe make the pk clustered, see if it...

    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: MCTS Exam 70-433

    PrincessPuja (1/16/2010)


    1. Style of questions - multi choice/case scenarios/ similar to questions found in self paced training kit CD?

    Never used the training kit, but they are multiple choice questions

    2. No...

    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: Serious Deadlock issues

    Jeff Moden (1/15/2010)


    Not familiar enough with the system but my first blush guess would simply be that the transactions are way too long.

    At a first glance, I'd agree with you....

    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: Dead Lock in SQL Server 2005

    Interesting, a 3-process deadlock. Not the most common type.

    Can you post some more information please. I need to see the definition of the stored proc "AddBookingAvailabilitySettingCoverSize" and the definition (with...

    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: Select/Update deadlock

    I'm trying to have a look at this, but without the definitions of the two procs (which I can no longer access from the PM that you sent, I assume...

    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 takes too long to execute needs to improve query...

    Please post table definitions, index definitions and execution plan, as per http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    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: CHECKDB

    In this case the database is not suspect or recovery_pending, hence there is no need to switch to emergency mode. That...

    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: Need your help to change my career path

    love sql (1/15/2010)


    I was specific about what are the roles and responsibilities of an 'Development SQL Server DBA '.

    Depends on the company. There's no fixed spec across all companies 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

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

    CirquedeSQLeil (1/15/2010)


    Potentially lost. Data may be lost - it depends on how bad the corruption is.

    Will be lost.

    If the minimum level to repair is repair_allow_data_loss, it...

    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 - 34,651 through 34,665 (of 49,552 total)