Forum Replies Created

Viewing 15 posts - 38,941 through 38,955 (of 49,552 total)

  • RE: Detach / Attach when db is in NORECOVERY mode

    If a database is detached while in the recovering or standby state, it cannot be reattached (baring some odd hacks that may or may not work)

    In fact, in SQL 2008,...

    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

    Which SQL tool?

    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: Defragment the indexes in a database - NOT WORKING

    That's a heap (table that doesn't have a clustered index). It can't be defragmented because there's no index there to defragment.

    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

    Where are you measuring those IOs from?

    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: Defragment the indexes in a database - NOT WORKING

    How big are the indexes that aren't defragmenting? How many pages?

    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: Plan Optomizer choseing the wrong index

    Bear in mind that all costs are estimates, no matter whether it's an estimated or actual plan. There are a number of factors that could make them wrong.

    Will look at...

    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?

    RBarryYoung (5/22/2009)


    That's Kevin Boles. He's a might be a bit dismissive at times, but he doesn't usually go off on someone like that. I'd suggest trying to give...

    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 (5/22/2009)


    You are a very brave person, Gail.

    Didn't really have many choices at the time.

    SQL 2000 on Itanium. Critical production system (stock market trading). SQL completely unresponsive,...

    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 (5/22/2009)


    Guess he should enhance DBCC with an option "RECOVER FROM SQLKILL" 😛

    Fortunately, as long as the log and data files are intact, that usually doesn't cause...

    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: Accessing dm_db_index_physical_stats taking a long time

    Gaby Abed (5/22/2009)


    In trying to determine which are the best candidates, I queried sys.dm_db_index_physical_stats.

    I'm curious. What's in index physical stats that you're using to determine the best clustered index?

    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)

    These errors are the result of someone directly editing the system tables on SQL 2000. They are not the result of the upgrade.

    In SQL 2000, CheckDB did not include...

    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: Plan Optomizer choseing the wrong index

    Lynn Pettis (5/22/2009)


    You may also want to post the plans here, but I'm not sure how to have you do that with SQL Server 2000.

    Add the following line above 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: Count

    As I already said, SQL will not automatically release memory. Don't worry about the memory. You have plenty (16GB), SQL's using 10 or so, that's quite normal and not 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?

    Jan Van der Eecken (5/22/2009)


    GilaMonster (5/21/2009)


    Oh yay. 🙁

    Another email accusing me of personal attacks and damaging someone's public image by 'misleading' people about his statements.

    Sometimes I wonder why I bother.....

    You...

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

    dallas13 (5/21/2009)


    dbcc traceon(1204,3605,-1)

    dbcc traceon(1205,-1)

    dbcc traceon(3604,-1)

    All of above...

    You don't need all of those. If you're looking for deadlocks, the only one that you need is 1204.

    1205 adds a lot, lot more...

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