الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can Not Recover From Last Archive Log

Featured Replies

بتاريخ:

السلام عليكم ورحة الله
انا اقوم بعمل test حيث اخد full backup عن طريق rman بعد ذلك اعمل تغيير على قاعدة البيانات ومن ثم اعمل alter system switch logfile .وينتج عن ذلك archive log file جديد.بعد ذلك اقوم باعمل shutdown لقاعدة البيانات واخد نسخة للكنرول فايل .ومن ثم اعمل crash لقاعدة البيانات واقوم باسترجاع الكنترول فايل ويتم الاسترجاع بنجاح من النسخة للكنترول فايل .بعد ذلك اعمل استرجاع datafile من rman backup ويتم الاسترجاع بنجاح.لكن عندما اعمل recovery يعطيني هذا الخطاء
RMAN> RECOVER DATABASE;

Starting recover at 12-MAY-10
using channel ORA_DISK_1

starting media recovery

archived log for thread 1 with sequence 3 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_3_5YL1L7N0_.ARC

archived log for thread 1 with sequence 4 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_4_5YLNS4G5_.ARC

archived log for thread 1 with sequence 5 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_5_5YLS1925_.ARC

archived log for thread 1 with sequence 6 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_6_5YLSCGWK_.ARC

archived log for thread 1 with sequence 7 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_7_5YLSV71P_.ARC

archived log for thread 1 with sequence 8 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_8_5YLSVDXJ_.ARC

archived log for thread 1 with sequence 9 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_11\O1_MF_1_9_5YLTL690_.ARC

archived log for thread 1 with sequence 10 is already on disk as file C:\APP\ADM
INISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_12\O1_MF_1_10_5YMFZ7VY_.A
RC
archived log for thread 1 with sequence 1 is already on disk as file C:\APP\ADMI
NISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_12\O1_MF_1_1_5YNK6R75_.ARC

archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_3_5YL1L7N0_.ARC thread=1 sequence=3
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_4_5YLNS4G5_.ARC thread=1 sequence=4
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_5_5YLS1925_.ARC thread=1 sequence=5
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_6_5YLSCGWK_.ARC thread=1 sequence=6
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_7_5YLSV71P_.ARC thread=1 sequence=7
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_8_5YLSVDXJ_.ARC thread=1 sequence=8
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_11\O1_MF_1_9_5YLTL690_.ARC thread=1 sequence=9
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_12\O1_MF_1_10_5YMFZ7VY_.ARC thread=1 sequence=10
archived log file name=C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\
2010_05_12\O1_MF_1_1_5YNK6R75_.ARC thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 05/12/2010 10:30:47
ORA-00283: recovery session canceled due to errors
RMAN-11003: failure during parse/execution of SQL statement: alter database reco
ver logfile 'C:\APP\ADMINISTRATOR\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2010_05_12
\O1_MF_1_1_5YNK6R75_.ARC'
ORA-00283: recovery session canceled due to errors
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: 'C:\APP\ADMINISTRATOR\ORADATA\ORCL\REDO02.LOG'

ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.

حيث O1_MF_1_1_5YNK6R75_.ARC الملف الذي ينتج عن عملية alter system switch logfile المذكورة سابقاَ .
لكن عنما اعمل RMAN> RUN
2> {
3> SET UNTIL sequence=10 thread=1;
4> RESTORE DATABASE;
5> RECOVER DATABASE;
6> }

تنجح العملية.
السوئال هو لماذا لايتم عمل الريكوفيري من اخر archive log file على الرغم من اني اخد نسخة للكنترول فايل بعد عملية switch logfile .مع العلم انا هذه العملية تكررت معي العديد من المرات حيث يرفض عمل الريكوفيري من اخر نسخة لarchive log file وياخد التي قبلها.

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.