Forum Replies Created

Viewing 15 posts - 17,911 through 17,925 (of 49,552 total)

  • RE: database kept in offline

    Please post SQL 2000 questions in the SQL 2000 forums. Post in the 2005 forums and you will get answers that are specific to 2005 and above.

    In SQL 2000 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: The Perils of Running Database Repair

    If you're talking about the SQL Server database engine, Paul's said before on Twitter that it's mostly C++ with some assembler

    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: DBCC check db

    sql.AB (6/24/2012)


    What this option does is when the last user disconnect, database shutdown and when new user try to login, database reopens. Every time it opens it will run...

    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: Online Conversion of a Heap table into a Clusterd table.

    or Snapshot / read committed snapshot isolation.

    Data modifications may still block

    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: clearing tempDB

    Have a read through this, there's a section on monitoring TempDB, you can put a job in place to track the abusers of TempDB without having to sit and watch...

    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: Benefits of INDEX(0) and INDEX(1) hints

    The INDEX(1) hint forces SQL to use the clustered index (if there is one) for that query. It does not specify how the clustered index should be used, whether 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
  • RE: start sql server 2008 in single user mode

    Take a step back.. Why can't you start the SQL service normally?

    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 2008 R2] System Databases lost after migration

    Define 'lost'

    What is the exact state of the SQL instance?

    What did you do to the system databases? (neither checkDB nor updateusage will affect any database other than the one they...

    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: clearing tempDB

    The solution is not to try and shrink TempDB, but to size it correctly for the usage that you get. SQL will automatically drop temp tables as soon as they...

    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: clearing tempDB

    That won't work.

    Only the connection that creates a temp table can drop it. That script will just give you a whole lot of errors.

    Why do you want to clear TempDB...

    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: Bloated tran log

    Jake Shelton (6/24/2012)


    But again, what I would like is a script I can run next weekend which is integrated into the defrag script, so that once defrag is complete, 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: Bloated tran log

    Don't shrink the log regularly...

    In bulk-logged recovery you're better off rebuilding the indexes than reorging, as rebuild is a minimally logged operation. Otherwise increase the frequency of your log backups....

    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: query to be formed to test data corruption.

    Update a large table.

    However if you want to test the stability of the IO subsystem, shut SQL Server down and use SQLIOSim

    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: Bloated tran log

    The log will never reduce in size by itself

    Please read through this - Managing Transaction Logs[/url]

    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 Secure the Database when Restore the Database

    Then you need to enable TDE (Transparent Database Encryption) on the database itself, or use a 3rd party tool that allows for encrypting backups.

    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,911 through 17,925 (of 49,552 total)