Best practice for re-duplicating a standby database (12.2)
Every once in a while we get a Standby database that just gets out of sync with the Primary and no matter how we try to repair it, it just seems to fail and keeps stating that it's lagging (for example). My solution was just to run our duplication script again which just uses an rman script (.scr) to rebuild the standby from the primary. Well, of course it fails because the .dbf files on the Standy are currently in use, so it complains (but overwrites those target files anyway). If I run the script again (and it's a pretty