Db in recovery after restoring

  • HI, All of these qey's are giving me restore % which is 100% but it is actaully recovering after the restore from the past few days not sure when that will be done and whether or not it will finish?

  • Tara-1044200 (9/12/2011)


    HI, All of these qey's are giving me restore % which is 100% but it is actaully recovering after the restore from the past few days not sure when that will be done and whether or not it will finish?

    I'm a fish out of water here. Going to let Gail toke over form here on out.

  • I'm still waiting for the info from the error log that I asked for.

    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
  • What Edition are you using? What is the output of this query (replacing "DBName" with the name of your database)?

    Use master;

    Select name As [File Name],

    type_desc As [File Type],

    state_desc As [File State],

    size As [File Size]

    From sys.master_files

    Where database_id = DB_ID('DBName')


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • Did the restore complete? If it did how long did it take. I am in a similar kinda of situation. The restore says 100% processed but it is still in recovery state. It has been more than 32 hours and it is a 1.5TB database. Any ideas on when this would recover.

  • Waiting for an update please!!!

  • Codezilla-292868 (5/31/2012)


    Did the restore complete? If it did how long did it take. I am in a similar kinda of situation. The restore says 100% processed but it is still in recovery state. It has been more than 32 hours and it is a 1.5TB database. Any ideas on when this would recover.

    If you are experiencing a similar issue, please post your own thread on it.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • We were finally able to bring back the database back up. There is apparently a bug in sql server, which takes a long time for the database to come back up if there is a large log file. The cummulative fix described in the article below

    http://support.microsoft.com/kb/2028436/EN-US actually helped us solve the problem. The database was back up in less than 2 hours.

    If you need more details let me know.

    Thanks.

  • That's not a bug. That's a side effect of an improperly configured database.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • Robert,

    If this is not a bug, why would Microsoft not charge us for the support they had provided us during this outage. And the cummulative fix actually helped with the restore being faster.

    Thanks

  • Support agreement?

    Long recovery time from lots of VLFs is not a bug. There have been several changes that MS made to try and optimise the recovery, knowing how many DBs have badly mis-configured logs.

    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 11 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic. Login to reply