Forum Replies Created

Viewing 15 posts - 38,926 through 38,940 (of 49,552 total)

  • RE: sp recompilation, how it can be avoided?

    shnex (5/25/2009)


    Should I use OPTION (KEEP PLAN) to change the recompilation threshold of the temporary table or there are side effects?

    There are side effects. Because the plan won't be recompiled...

    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 won't start - can't find mssqlsystemresource.mdf

    Jeffrey Williams (5/24/2009)


    So, of course - they changed that whole thing in 2008 and you can't have this database anywhere other than in the same directory as the master database....

    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: Any way to move DB files without taking db offline?

    winston Smith (5/24/2009)


    Is there ANY way to move database files without taking a database offline?

    No. Reason is that to move the files, SQL has to not be using them....

    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: SQL2005 CheckDB error on Maintenance Plan (started happening on recent upgrade from SQL2000 to 2005)

    Excellent.

    Now make sure that you have regular integrity checks scheduled. No need to specify data purity in them, it's a default once it's run successfully once.

    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: Memory Usage

    If you have 8GB memory, make sure that SQL's max memory setting is set to no more than 6 GB. This is especially important on 64 bit.

    What service pack 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: SQL Server Queries

    Sankar Reddy (5/24/2009)


    Try this to pull the queries that have been executed the most on the server from the last server reboot:

    -- Cached SP's By Execution Count

    SELECT TOP (25) qt.text...

    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: Physical IO statistics

    Not that I'm aware 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: Copying a SQL 2005 database

    sheetaljain22 (5/23/2009)


    sheetaljain22 (5/23/2009)


    I am Facing the Same Issue

    Plzz Help Today is My Last Day Of my Proj

    What precisely is the problem? What are you trying to do, what is 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: Physical IO statistics

    It's cumulative since the server started. I wouldn't just divide by the number of days, that assumes that the IO load is identical every day (which it may not be)....

    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?

    Steve Jones - Editor (5/24/2009)


    Not a bad apology. There's hope.

    That's an apology?

    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 Profiler

    Steve Jones - Editor (5/21/2009)


    There is a default trace, but I'd guess that it doesn't have information from 3 days back.

    It might, depends how active the server is and...

    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: I get locks although I have NO LOCK

    If it's a select, you'll still get schema stability locks. If it's any form of modification, the nolock will be ignored. Data modifications have to lock.

    Why nolock?

    See - http://sqlblog.com/blogs/andrew_kelly/archive/2009/04/10/how-dirty-are-your-reads.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: Cross Server Authentication for the SQL 2008 Reporting Services server

    Threads once posted can't be deleted.

    Actual thread here - http://www.sqlservercentral.com/Forums/Topic722641-1550-1.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: Physical IO statistics

    TRACEY (5/23/2009)


    SQL Idera tool.............gives these measurements.

    Check it's documentation to see if you can find what that's measuring in. It may be bytes, disk sectors, SQL pages, or a...

    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?

    <sigh>

    "I detached the DB, deleted the log file and it won't attach. Backups not working either"

    http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=126304

    Head-desk

    Why???????????

    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 - 38,926 through 38,940 (of 49,552 total)