Forum Replies Created

Viewing 15 posts - 17,821 through 17,835 (of 49,552 total)

  • RE: running DMV's for Performance issue

    You can look at the DMVs, the problem with the sys.dm_exec_query_stats and sys.dm_exec_procedure_stats DMVs is that they do not show data since SQL was last started, they show data 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: ANSI JOIN VS Microsoft join

    chaithu559 (7/4/2012)


    so there's no term called Microsoft join ?

    No, and the join type you're asking about is the style that's heavily used in Oracle and, I believe, Sybase, not so...

    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: Can we configure logshipping 2005(Enterprise edition) and 2008(Enterprise edition) with standby mode?

    No. When log shipping to a higher version (which is not recommended and has very few uses other than a upgrade scenario), the secondary has to be restored WITH NORECOVERY.

    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: ANSI JOIN VS Microsoft join

    What you've shown there is the very old-style ANSI join. It's not recommended because it's harder to read and easier to make a mistake and cross join your tables.

    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: Introduction to Indexes

    Maybe. Will it be a big difference and will the reduction in fragmentation affect query performance? Depends on other factors (frequency of inserts, type of queries, etc)

    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 file shrinking..

    Please read through this - Managing Transaction Logs[/url] and maybe this: 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: ANSI JOIN VS Microsoft join

    No such thing as a 'Microsoft join'. What are you referring 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: Introduction to Indexes

    e-ghetto (7/3/2012)


    GilaMonster (7/3/2012)


    Any time at all that you query the index's order is irrelevant. Join or no join.

    Hmm, when is the index's order relevant?

    For seeking, for range scans, 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: Introduction to Indexes

    Charles Kincaid (7/3/2012)


    In the absence of ORDER BY it’s happenstance what order the rows come back in. I have seen the same query, not having ORDER BY, produce different...

    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?

    For anyone not on/not paying attention to twitter.....

    It seems to be official.... I'm a Microsoft Certified Master for SQL Server 2008.

    https://twitter.com/SQLintheWild/statuses/220252281847808001

    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: Db size is not decreasing

    opc.three (7/3/2012)


    If it's a heap you may need to rebuild the table, not sure how ghost records work with heaps.

    They don't. Ghost records only appear in indexes.

    http://www.sqlskills.com/blogs/paul/post/ghost-cleanup-redux.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: Are the posted questions getting worse?

    Wooooohooooooo!!!!!!!!!!!!!!!!!!!!!!!!

    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 to reduce time in adding PK constraint on a table?

    coronaride (7/3/2012)


    Ok, and the bulk of the time required for creating the constraint is creating the enforcing index?

    Yes. All there is to a constraint is an index and some...

    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 to reduce time in adding PK constraint on a table?

    Because SQL can read the existing index to create the new one whereas without that inde it would have had to read the entire table.

    Compare the time that creating 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: SYSFGFRAG system table

    None of the system tables can be directly queried in SQL 2005 and above. Unless there's some reason to be concerned, just ignore 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 - 17,821 through 17,835 (of 49,552 total)