Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: how to restore database?

$
0
0

I thought your problem is on different allocation map (segmap ) on your user database between Prod ASE and DR ASE !

You can issue sp_helpdb / sp_helpsegment / select * from master..sysusages where dbid = db_id('user_db_name') to find out the difference between Prod ASE and DR ASE,

and try to drop/recreate that problem user database, then restore database from backup !

 

Actually, in real practice, we don't need to restore master everytime !

Just try to maintain same allocation map between Prod ASE and DR ASE,

in other word, when you alter database on Prod ASE, please do the same thing on DR ASE accordingly to avoid inconsistant problem on allocation map !!

 

So, everytime you only need to restore database/tran from backup to keep DR ASE update !!

HTH !

Thanks !!

- Robert Chu


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>