Forum Replies Created

Viewing 15 posts - 19,306 through 19,320 (of 49,552 total)

  • RE: What is the difference between SubQuery and Joins in terms of Performance

    Usually none.

    The idea that subqueries execute once per row of the outer query is wrong in most cases (there are only two cases where that is true). The vast majority...

    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 doubts

    The answer to most of those can be found in Books Online. The rest with a google search.

    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: When we talk about fragmentation, is it "Index Fragmentation" always ?

    Michael Valentine Jones (4/5/2012)


    GilaMonster (4/5/2012)


    george sibbald (4/5/2012)


    I stand corrected, I had forgotten about forwarding pointers. what about internal fragmentation though?

    where I have added a clustered index to a heap I...

    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?

    Conservative Party

    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?

    Jan Van der Eecken (4/5/2012)


    Lynn Pettis (4/5/2012)


    Oh well, no bomb. Back to work.

    Darn. I remember back in '79 we had a bomb scare in High School. All 600-odd of...

    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: License vs physical cores

    You'll have to either remove the processor from the machine or restrict the CPUs in the BIOS (some servers that's possible on, others not). If it can be seen by...

    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 for consecutive alphabets

    My question would be why do TOP <x> in an EXISTS when the point of an EXISTS (or NOT EXISTS) is to terminate as soon as it finds a row.

    http://sqlinthewild.co.za/index.php/2011/04/05/to-top-or-not-to-top-an-exists/

    Count...

    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?

    Evil Kraig F (4/5/2012)


    Lynn Pettis (4/5/2012)


    Unclaimed briefcase in the lobby and now we aren't working. The CSPD Bomb Squad is here to remove the briefcase.

    20 years ago, you saw...

    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: DATE and TIME Add issues in 2012.

    Relying on implicit conversion is never a good idea.

    Either convert the time to datetime then add (which is still replying on implied behaviour), or use dateadd and datediff.

    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: Corrupt master database

    If you restore a backup of your master database you won't need to restore user databases. The restored master will still have the user databases cataloged.

    It's when you rebuild master...

    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 (4/5/2012)


    Stefan Krzywicki (4/5/2012)


    Brandie Tarvin (4/5/2012)


    Wow. Reading that thread and comparing it to the several 17+ hour shifts I've got through the past couple of days...

    I think I'll keep my...

    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: log reuse wait time on simple recovery

    That doesn't necessarily reflect the immediate situation (and no, it could not have read that for the last year, unless your log has been growing for a year)

    If means 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: log reuse wait time on simple recovery

    http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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?

    Lynn Pettis (4/5/2012)


    Has anyone written up what happens to a table when a clustered index is dropped making the table a heap? What I am wondering is if 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: Detach database snapshot

    sunny.tjk (4/5/2012)


    GilaMonster (4/5/2012)


    You could, just watch the IO impact.

    Lots of database snapshots can have a serious impact on data modifications in the source DB. By lots, I don't mean...

    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 - 19,306 through 19,320 (of 49,552 total)