Forum Replies Created

Viewing 15 posts - 22,861 through 22,875 (of 49,552 total)

  • RE: Change Database Status from Shutdown to Normal

    No. Never ever detach a suspect or recovery_pending database as it will not always reattach (suspect will never reattach)

    Are you absolutely sure that file is there? Exact path, exact name.

    Was...

    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 2008 - trying to recover from a disaster

    If the drive the files are currently on is damaged, there's no guarantee a repair will succeed. I'd prefer to be safe.

    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: HELP, what is "SQLTRACE LOCK"

    gregory.anderson (10/19/2011)


    Is that via spwho procs?

    I suppose you could, but it's far from the best way. Read up on wait stats and monitoring wait state

    DBA is running ProcessExplorer and PerfMon,...

    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 2008 - trying to recover from a disaster

    I would suggest that.

    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 2008 - trying to recover from a disaster

    SQL binaries. They often live with the OS.

    Reinstall any that are damaged, it'll probably be quicker.

    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: Dropping BuiltIn/Administrator and SA from SQL Server

    What you can do then is rename and disable sa, then create a low-privilege account (db_owner or lower) and call it sa.

    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: HELP, what is "SQLTRACE LOCK"

    gregory.anderson (10/19/2011)


    I'd have to ask her to shut down the Quest tools, but then we'd have to rely on the users to tell us how performance is.....

    No, you can query...

    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: Change Database Status from Shutdown to Normal

    Elliott Whitlow (10/19/2011)


    If this is an important database I hope you can fix it or your resume is up to date. I've seen businesses go under because of things...

    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: Upgrade 2005 to 2008 R2 via Backup or Detach & Reattach

    They're handled exactly the same.

    Only thing is that detach-attach (unless you make a copy of the files) doesn't leave you with a back-out option.

    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: Properly shutting down a SQL2005 db

    One thing you must do is fix your autogrow increments so that if the log grows you're not back in this situation soon after.

    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: HELP, what is "SQLTRACE LOCK"

    No. SQLTrace is profiler-related. Are you running the profiler GUI? (regardless of where it's coming from)

    Hate to say this, but shut down the monitoring tool and see if it's still...

    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: Change Database Status from Shutdown to Normal

    Another production database without a backup? Why?

    Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\log\dbFile_log.LDF'

    Is the file there?

    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: HELP, what is "SQLTRACE LOCK"

    Running the SQL Profiler GUI perhaps?

    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: Duplicate Plans in the cache

    Ninja's_RGR'us (10/19/2011)


    Oh wait, still on that darn CS server :hehe:.

    In which case the varying different cases either match to an object (and hence a plan) or are errors (and don't...

    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: Dropping BuiltIn/Administrator and SA from SQL Server

    Ninja's_RGR'us (10/19/2011)


    It's not the kind of change you do it prod without testing it...

    Agreed, but because of unexpected (and unknown) apps using sa, not undocumented side effects in the engine....

    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 - 22,861 through 22,875 (of 49,552 total)