Forum Replies Created

Viewing 15 posts - 16,186 through 16,200 (of 49,552 total)

  • RE: Multiple updates for save value

    It's not the update, it's the IN. IN just looks for matching values, it doesn't matter at all how many times the value is in the subquery/value list, just whether...

    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: OPTION (RECOMPILE, QUERYTRACEON 8649)

    Jason-299789 (10/11/2012)


    GilaMonster (10/11/2012)


    IN is not an expensive operation. For matching rows, it's cheaper than join.

    Moving a filter from a join to the where when you have an outer join changes...

    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: OPTION (RECOMPILE, QUERYTRACEON 8649)

    IN is not an expensive operation. For matching rows, it's cheaper than join.

    Moving a filter from a join to the where when you have an outer join changes the logic...

    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: Mirroring doubt

    https://www.google.com/search?q=SQL+Server+dependencies

    https://www.google.com/search?q=cluster+dependencies

    If you're unsure after reading through, please ask.

    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: T-SQL Performance 1

    http://msdn.microsoft.com/en-us/library/bb510478%28v=sql.105%29.aspx

    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: OPTION (RECOMPILE, QUERYTRACEON 8649)

    ChrisM@home (10/11/2012)


    As Gail suggests, it's pointless using these query hints unless you can anticipate that they may work.

    And adding hints to a query when you don't know what they do...

    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: Mirroring doubt

    http://msdn.microsoft.com/en-us/library/ms189852%28v=sql.105%29.aspx

    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: Will shrinking the transaction log reduce the size of a full backup?

    No, neither shrinking the log nor explicitly truncating it will reduce database backup size. The portion of the log included in a full backup is usually just from the start...

    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: OPTION (RECOMPILE, QUERYTRACEON 8649)

    Firstly, why are you adding hints at all? What is the purpose, what is the reasoning behind the hints?

    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: TRUNCATE TABLE and ROLLBACK TRAN

    Recovery model has no effect ever on rolling back a transaction.

    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?

    L' Eomot Inversé (10/10/2012)


    SQLRNNR (10/10/2012)


    Stefan Krzywicki (10/10/2012)


    SQLRNNR (10/10/2012)


    Stefan Krzywicki (10/10/2012)


    GilaMonster (10/10/2012)


    jasona.work (10/10/2012)


    Brandie Tarvin (10/10/2012)


    Let me guess. You're one of those people who enjoying eating broccoli and cauliflower too, right?

    Yeesh. Steve,...

    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?

    jasona.work (10/10/2012)


    Brandie Tarvin (10/10/2012)


    Let me guess. You're one of those people who enjoying eating broccoli and cauliflower too, right?

    Yeesh. Steve, Why do we let these people on our boards? This...

    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: Missing Index

    Absolutely, the order that index columns are specified matters hugely.

    http://sqlinthewild.co.za/index.php/2009/01/19/index-columns-selectivity-and-equality-predicates/

    That said, you need to have a look at the queries that use that table and see if both indexes really...

    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: DBCC PAGE

    Perry Whittle (10/10/2012)


    GilaMonster (10/10/2012)


    Nope. Not for almost 2 years now. That was the old form, 3 weeks training and exams in Redmond.

    Ah right, gotcha.

    But, back to my original quote, 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: DBCC PAGE

    Nope. Not for almost 2 years now. That was the old form, 3 weeks training and exams in Redmond. Now it's just 2 exams, if you want training you have...

    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 - 16,186 through 16,200 (of 49,552 total)