powered by simpleCommunicator - 2.0.53     © 2025 Programmizd 02
Форумы / Oracle [игнор отключен] [закрыт для гостей] / recreate standby
2 сообщений из 2, страница 1 из 1
recreate standby
    #39882530
gda
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
On my primary database some of archivelog files was accidentally deleted and not applied on the standby database. Now I want to recreate re-duplicate my standby database. What I did:

1. restore cold backup from primary to standby, except standby control file and redo logs
2. when executing the below commands

Код: plsql
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
startup mount;
alter database recover automatic standby database until cancel;
alter database recover automatic cancel;


ORA-01081: cannot start already-running ORACLE - shut it down first
alter database recover automatic standby database until cancel
*
ERROR at line 1:
ORA-00279: change 5329849953 generated at 10/24/2019 02:17:15 needed for thread
1
ORA-00289: suggestion : /u04/archive/1_36748_785270236.dbf
ORA-00280: change 5329849953 for thread 1 is in sequence #36748
ORA-00278: log file '/u04/archive/1_36748_785270236.dbf' no longer needed for
this recovery
ORA-00308: cannot open archived log '/u04/archive/1_36748_785270236.dbf'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3



why I still get ORA-00278: log file '/u04/archive/1_36748_785270236.dbf' since the cold backup I restored already contain this redo changes.

The redo log needed is date 10/24/2019, but restored cold backup is 10/27/2019. Why I still get the error on missing archivelog from 10/24/2019 - that's because I'm using old standby control files ? How to fix that ?
...
Рейтинг: 0 / 0
recreate standby
    #39882533
Вячеслав Любомудров
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Ты не захотел восстанавливать новый standby controlfile, а в старом у тебя прописано, что ему требуется старый журнал
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Oracle [игнор отключен] [закрыт для гостей] / recreate standby
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]