Forum Replies Created

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

  • RE: index locks

    IgorMi (10/31/2013)


    If an escalation occurs then, it'll switch from ROW to TABLE lock, skipping the intermediate PAGE level which is currently OFF. You'd better have PAGE level set to ON.

    Escalation...

    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: index locks

    SQLSteve (10/31/2013)


    So you would advise to turn Row Locking off?

    I wouldn't recommend that, not without a very good reason (of which to be honest there aren't many)

    Default has both...

    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: Execution Times vs Logical Reads/Scan Count

    tony28 (10/30/2013)


    GilaMonster (10/30/2013)


    Don't look at scan count. It is not the number of times a table has been scanned, it's not consistently the number of times a table has been...

    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: Max DOP

    If you keep maxdop at 0, then there can be as many active threads for each query as you have cores. If you put maxdop to 4, then each query...

    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: Forum is chopping off characters...

    Just 1 \ and an n will do it. How do you escape things? I tried a few random things and didn't work. Can't the software do 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: Max DOP

    Then they'll be the same.

    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: Max DOP

    4 processors or 4 cores?

    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 on Prod

    Ask yourself, which is preferable, a corrupt database that you know is corrupt or a corrupt database that you don't know is corrupt.

    CheckDB when run without a repair option (which...

    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: How can I go 4 hrs back and see what sessions were running at that time

    In short, no. You would have needed to have a trace or an extended events session running at the time.

    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: Moving a DB with compressed tables, what happens?

    A restore recreates a database exactly as it was at the time of the backup.

    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: installing sql 2008 and sql 2012 on the same server

    bbsr (10/30/2013)


    so on both installation I would have to create named instances - servername\sql2008named_Instance and servername\sql2012_namedInstance and I cannot have a default instance on any of them?

    One of them can...

    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: installing sql 2008 and sql 2012 on the same server

    You can't install two default instances. If you install 2008 as the default instance then 2012 will have to be a named instance. You can install both as named instances....

    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?

    I remember seeing a CV where someone had rated himself 10/10 on 4 versions of Windows (XP, 2000, 98, NT4), two versions of SQL Server (2000, 2005) and a version...

    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: Execution Times vs Logical Reads/Scan Count

    tony28 (10/30/2013)


    Like I said, I didnt see yet problem with no lock ...

    Doesn't mean it didn't happen. If you have locking problems, consider one of the snapshot isolation levels....

    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 Server Total Memory and Task Manager Process

    Task manager is limited, it doesn't show memory allocated with the AWE API (which is used when you have locked pages enabled)

    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 - 11,131 through 11,145 (of 49,552 total)