Forum Replies Created

Viewing 15 posts - 9,316 through 9,330 (of 49,552 total)

  • RE: Enabling LPIM and AWE

    What's the exact version you're working with (output of SELECT @@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: Hash match

    tony28 (4/14/2014)


    I added to WHERE clause also, but there is still Hash Match.

    Which another recommendation are for this ?

    Hash matches aren't a problem, and without an execution plan nothing useful...

    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: Backup Failed SQL 2005

    Oooh, a sharepoint content database...

    Switch the database into simple recovery, checkpoint, checkpoint, checkpoint, (and a few more just to be sure), switch the DB back to full recovery and take...

    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 Read ismore

    I'm done.

    TITLE: Microsoft SQL Server Management Studio

    ------------------------------

    Error loading execution plan XML file C:\Users\REDACTED\Downloads\plan.sqlplan_1.sqlplan. (SQLEditors)

    ------------------------------

    ADDITIONAL INFORMATION:

    There is an error in XML document (599, 33). (System.Xml)

    ------------------------------

    The 'Sort' start tag on line...

    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: Backup Failed SQL 2005

    What does the error log say?

    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 Read ismore

    It's still an estimated plan. Please can you post the actual execution plan of an execution of that query which is slow

    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 Read ismore

    That's an estimated plan, it has no actual row counts or values, and it doesn't even load into Management Studio

    TITLE: Microsoft SQL Server Management Studio

    ------------------------------

    Error loading execution plan XML file...

    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 Read ismore

    Well the execution plan you posted was from a query which returned 0 rows. If the query you want help with doesn't return 0 rows, then please post an execution...

    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: Corruption in user Database, Unable to repair using DBCC checkdb

    CheckDB won't fix that.

    Either you have metadata corruption or the DB was upgraded from SQL 2000 and someone went messing with the system tables back then.

    Script all objects, export all...

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

    I believe that the default date settings are based on the server's regional settings.

    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 Read ismore

    yuvipoy (4/14/2014)


    GilaMonster (4/14/2014)


    So the query, when run in production, returns 0 rows?

    Not everytime that is the problem.

    Most of the time it is some millisecond but some time it is nearly...

    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 Read ismore

    So the query, when run in production, returns 0 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: SQL Server Read ismore

    Last try...

    GilaMonster (4/7/2014)


    Please, can you run the query against the actual production tables, take the resultant execution plan and do a find/replace over the XML to obfuscate the table names...

    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: rebuild increases memory

    SQL doesn't use the page file, and memory usage is capped by max server memory.

    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 and Restores

    Truncate table doesn't affect restores in any way. What exactly are you looking for, proof that truncate table is logged (and hence is rolled forward by a log restore)?

    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 - 9,316 through 9,330 (of 49,552 total)