Forum Replies Created

Viewing 15 posts - 21,526 through 21,540 (of 49,552 total)

  • RE: Backup Scenario

    satheessh (12/28/2011)


    after tat we should take tail log back up of particular database by putting db in single user mode which is in restoring state

    No. Tail log backup has to...

    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: Creating a suspect database.....

    That won't create a suspect DB, all that will do is make the DB go through crash recovery after startup. It'll come online fine after that. SQL can handle crashes...

    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: Using (Updlock,Rowlock) in Select statment

    SQL will start with a row lock, as the hint requests, if necessary it will escalate that to a table lock.

    Why the hints in the first place?

    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 should i do when the mdf file is full?

    Bhuvnesh (12/28/2011)


    @jason,

    If your mdf file is full then shrinking is out of the question and is not even applicable for discussion since you can't shrink a full file.

    can u suggest...

    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: Splitting SQL database 120GB (mdf file) into separate ndf files

    Before you go to all the effort of splitting the files, check that you really are bottlenecked on IO (not memory or CPU) and that the queries as optimised as...

    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: Simple recovery mode and transactional replication

    For a little more detail on what happens under the covers, you may want to read these:

    http://www.sqlservercentral.com/articles/Administration/75461/

    http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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 in 'Recovery Pending' State -Error 945

    Vertigo44 (12/27/2011)


    Good news is that even though SQL Agent history and job history didn't show any EMR db backup history we did find .BAK and Lots of .TRN backups on...

    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 in 'Recovery Pending' State -Error 945

    PaulB-TheOneAndOnly (12/27/2011)


    Check the post dated 5/16/2009 12:02;17am on this thread: http://www.sqlservercentral.com/Forums/Topic717382-266-2.aspx

    No. Please no. As Paul said (in that thread)

    that is NOT the supported/documented approach and is only suggested when EMERGENCY...

    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 in 'Recovery Pending' State -Error 945

    I hate to be the bearer of bad news, but you can't mix and match ldf and mdf files from different times.

    To get that DB up, you'd need mdf...

    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 in 'Recovery Pending' State -Error 945

    Vertigo44 (12/27/2011)


    I believe this is a new installation and is only a few months old. (Oct or Nov of this year)

    There are databases on there that date to July last...

    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 in 'Recovery Pending' State -Error 945

    Vertigo44 (12/27/2011)


    Being that there were no successful backups, wouldn't this mean that all transactions from the beginning are in the LDF and were never commited to the MDF? Please correct...

    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: Simple recovery mode and transactional replication

    There is no impact to any form of replication by changing the recovery models of the database to any of the options. The two features are independent.

    http://sqlinthewild.co.za/index.php/2008/12/05/a-new-sql-myth/

    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 in 'Recovery Pending' State -Error 945

    Do NOT detach, you won't be able to reattach it.

    Best bet - restore from backup (and I don't mean a file backup of the ldf). Restore full, any differentials 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: Using sys.dm_os_memory_objects to analyze memory use and identify possible memory leaks

    opc.three (12/27/2011)


    I have had a perfmon counter log capturing several counters, one of which is Available Megabytes. I can show that the number remains steady through the PLE drops...

    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: Chagne Database Physical File name

    You can detach, rename and attach or you can use ALTER DATABASE with modify file, then take the DB offline and make the change to the actual file name.

    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 - 21,526 through 21,540 (of 49,552 total)