Forum Replies Created

Viewing 15 posts - 19,426 through 19,440 (of 49,552 total)

  • RE: How to SpeedUp Queries

    First step. Take out the join hints and table hints. The chance that you know better than the optimiser is slim.

    If you can't post the code, then I can only...

    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 2005 Table keeps being deleted

    Open up the default trace and look for Drop Object events. That will give you time, login name, host name and a lot of other info. (or if you 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: MCTS 70-432

    Henrico Bekker (4/1/2012)


    jesicasmith335 (4/1/2012)


    hi i need latest questions of <removed> for the preparation of 3M0-211 exam.can someone share these questions with me

    You are aware that by using braindumps etc 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: Can't Restore Differential Backup

    Someone took an ad-hoc full backup between the scheduled 7am backup and the diff you are trying to restore.

    Differential backups are based on the last full backup taken, so if...

    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: What is wrong with shirnk then rebuild index?

    Waste of time and resources. Shrink fragments indexes and reduce the file size. Rebuild removes the fragmentation, growing the data file again.

    See - http://sqlinthewild.co.za/index.php/2007/09/08/shrinking-databases/

    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 can we see MinLSN?

    p.s. Don't mix up the minimum LSN for database recovery and the minimum LSN for log truncation, because they are not the same thing.

    p.p.s The undocumented commands and features tend...

    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: Database Backup...

    If the transaction commits before the data-reading portion of the full backup finishes, the transaction will be included in the backup and present in the restored DB. Otherwise not.

    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 can we see MinLSN?

    Shcherbunov Neil (4/1/2012)


    That's all!! So - who is wrong? I am, or Minimum LSN column, or BOL?

    The minimum LSN column (which only appears for a end checkpoint) is the minimum...

    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 index with -2

    DBA-640728 (4/1/2012)


    when i run select * from sys.sysprocesses , i find the spid#, with the blocked column with the -2

    then i use that spid and run dbcc inputbuffer (spid#)

    and i...

    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 index with -2

    DBA-640728 (3/31/2012)


    yes the same spid that is doing the rebuild is the one with -2

    How did did you see that? Spid -2 won't appear in sys.dm_exec_requests, and DBCC InputBuffer can'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: Restores for dummies

    george sibbald (3/31/2012)


    it would fail, as in it wont even attempt to start the restore, thus preserving your database. Set up a test database, back it up and then try...

    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 index with -2

    DBA-640728 (3/30/2012)


    thanks, but you still have not answered my question, why does the spid which is doing the rebuild index a Negative spid?, (blkd column has a -2) , which...

    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: Restores for dummies

    You can restore without dropping the existing database, and it saves the cost of recreating the files. A restore always leaves the restored database exactly how it was at 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: Data tuning in SQL 2005

    Shrinking is liable to make the problem worse, not better, as it severely fragments indexes.

    There's no quick fix, no magic switch or setting. Performance tuning is the process of finding...

    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: Reclaim Transaction Log Space

    govindarajan69 (3/31/2012)


    Eventually it is scheduled with daily FULL backup. Our db size is currently 575 gb. Also need to understand one more thing. While it is backing up,...

    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 - 19,426 through 19,440 (of 49,552 total)