بتاريخ: 5 سبتمبر 200619 سنة comment_77992 i will explain the real promble that i found in online backup , at first iam using oralce9i under linux platform .. so when i was doing a practice in hot backup and how to recover it i found aproblem ,,, already i had changed my database mod to archive mod and and all the requirement in parameter file ,,,,,and i issued ALTER TABLESPACE USR BEGIN BACKUP and i made so much transaction till the log sec# is changed after that i issued ALTER TABLESPACE USR END BACKUP ,,, at this time i removed the USR.DBF this datafile belong to the USR tablespace ,,,,NOTE:- i removed the datafile when the database is RUNING....so when i issue SHUTDWON command it was close the database normaland when i issue STARTUP it was open the database without display any error message and when i say SELECT*FROM V$TABLESPACE; it display all the tablespace including USR tablespace so when i want to display any table that stored in USR.DBF that belong to USR tablespace it display this message ---------------------------------------------------------------------------------------------------ERROR AT LINE 1ORA_00376:FILE 6 CANNOT BE READ AT THIS TIME ORA_01110:DATA FILE 6:/DISK1/USR.DBF ---------------------------------------------------------------------------------------------------another note: after i issued alter tablespace usr begin backup it took copy to usr.dbf datafile in different directory.................... but really i confused because iam not return the backup datafile to the orginal loaction but my database is open without display any message ---------------------------------------------------------------------------------------------------note : when i remove the datafile upon the database is close i can recover it but when i remove it upon the database is running it my prob and abserve i issued another command like RECOVER DATAFILE '/DISK1/USR.DBF' it display recovery completed but when i want to display any table it display that messageagin i issued this command ALTER DATABASE DATAFILE 'OLD LOCATION' AS 'NEW LOACTION' itdiplay use this command just for AUTOEXTEND OR DROP OR END OR RESIZEso i wish to find the raight answeralaaeldin [email protected] تقديم بلاغ
بتاريخ: 6 سبتمبر 200619 سنة comment_78044 السلام عليكم ورحمة الله وبركاتهمعذرة يا أخىولكن هل من الممكن طرح مسألتك باللغة العربيه أو بلغة انجليزية سليمه شكرا . تم تعديل 6 سبتمبر 200619 سنة بواسطة h_elshawaf تقديم بلاغ
بتاريخ: 6 سبتمبر 200619 سنة كاتب الموضوع comment_78090 شكرا على المرور الاخ h_elshawafاولا احب اوضح لك انى مستخدم اوراكل 9i يعمل تحت اللنكس , وانا واجهت مشكله فى online backup انا سوف اوضح لك المشكله بالتفصيل1/ my database in archive mode2/ عندما كانت قاعدة البينات مفتوحه اخذته backup to USR.DBF datafile بأستخدام الامر ALTER TABELSPACE USR BEGIN BACKUP3/ وانشأت جدول اسمه t1 داخل USR.DBF وادخلت مجموعه من البيانات داخل الجدول 4/ واصدرت الامر الاتى ALTER SYSTEM SWITCH LOGFILE P حتى اغير السكونس نمبر5/ اخذت backup to USR.BDF to different location6/ كما اصدرت الامر الاتى لتوقيف backup بالامر الاتى ALTER TABLESPACE USR END BACKUP7/ وعندما كانت قاعدة البيانات مفتوحه قمت بمسح USR.DBF بأستخدام linux command8/ واغلقت قاعدة البيانات ..... وتم اغلاق قاعدة البيانات من دون اى مشكله9/ وعندما فتحت قاعدة البيانات تم فتحها من غير اى مشكله ايضا علما بأن هنالك ملف مفقود 10/ وعندما اصدرت الامر الاتى SELECT*FROM V$DATAFILE تم استعراض كل DATAFILE ومن ضمنه الملف المفقود 11/ وعندما حاولت اسنعراض الجدول t1 تم عرض وجود مشكله وهى الاتى ---------------------------------------------------------------------------------------------------ERROR AT LINE 1ORA_00376:FILE 6 CANNOT BE READ AT THIS TIME ORA_01110:DATA FILE 6:/DISK1/USR.DBF---------------------------------------------------------------------------------------------------12/ على فكرة تم انشاء USR TABLESPACE WHEN MY DATABASE IN ARCHIVE MOD وارجو ان تفيدونى بالحل تقديم بلاغ
بتاريخ: 6 سبتمبر 200619 سنة كاتب الموضوع comment_78093 dear h_elshawafi have two question ----------------------------------(1)---------------------------------------------------------------why the database administrator is not recommended to backup the redolog file ,,,,,, why --------------------------------------------------(2)------------------------------------------------suppose my database in archive mod and i don't have backup of redolog file ,, so if i lost the redolog file can i recover it .. how is'tthanx تقديم بلاغ
بتاريخ: 8 سبتمبر 200619 سنة كاتب الموضوع comment_78216 بسم الله الرحمن الرحيم اخى ابو صالح وبقيه الاخوه ارجو ان تساعدونى............................ علاءالدين تقديم بلاغ
بتاريخ: 13 سبتمبر 200619 سنة كاتب الموضوع comment_78543 الووووووووو وووووووووووووو اه البخل دا تقديم بلاغ
بتاريخ: 17 سبتمبر 200619 سنة كاتب الموضوع comment_78825 الووووووووو وووووووووووووو اه البخل دا تقديم بلاغ
بتاريخ: 19 سبتمبر 200619 سنة comment_79004 السلام عليكم ورحمة الله وبركاتهأخي الفاضلmjingoofأهلاً بك و طول بالك إن شاء الله يرد عليك الأعضاء ..و لي عودة إن شاء الله ,,أخوكم تقديم بلاغ
بتاريخ: 25 سبتمبر 200619 سنة comment_79315 dear h_elshawafi have two question ----------------------------------(1)---------------------------------------------------------------why the database administrator is not recommended to backup the redolog file ,,,,,, why --------------------------------------------------(2)------------------------------------------------suppose my database in archive mod and i don't have backup of redolog file ,, so if i lost the redolog file can i recover it .. how is'tthanx78093[/snapback] Dear sir,thanks for very important questions.first questions:i will tell u why dba's not recomended to backup redolog files:the good reason is when the log switch occur the logfile will be overriten so u lost the old data so no need to backup these logfiles but if u r using archive log mode the logfiles will be archived so u have to take care about the archived files not redologs.second question:if ur database in archive log mode u need the online log file and the archived files so u can apply the data from archive log and u will get the latest data from online log file.sorry becuase im not good in english but if anybody need more explain i dont mind.thanks alot تقديم بلاغ
بتاريخ: 25 سبتمبر 200619 سنة comment_79349 السلام عليكم ورحمة الله وبركاتهبجد متأسف جدا يا أخى على التأخير لأنى لم أدخل على الموقع منذ فترة طويله ،أولا : بالنسبة للسؤال الأول ، بالفعل ال dba ليس فى حاجه لوضع ال redologs ضمن خطة الbackup لأنه كما قال الأخ mawad انه يتم الكتابه عليها cycling اى يتم عمل overwrite على كل file عند عملية ال switch بالنسبه للسؤال التانى :لا يتم عمل recover لل redo log files ولكن فى هذه الحاله يمكن عمل reset لل sequence عن طريق فتح ال database ب rerset logs عندها بيتم عمل sequence جديد لل redo logs وفى هذه الحاله يفضل مسح كل archive logs السابقه لأنك فى هذه الحاله تكون قد أنشأت new incarenation لل database---------------أما بالنسبة للمثال الذى فمت به فتأكد ان ال usr tablespace ليس فى ال backup mode وانه onlineselect tablespace_name,status from dba_tablespace;وآسف للتأخير للمره الثانيه تقديم بلاغ
بتاريخ: 26 سبتمبر 200619 سنة كاتب الموضوع comment_79488 el salam 3likom wa rahmat allah wa barakato thanx alot dears h_elshawaf,mawad to reply my Questionreally thanx all تقديم بلاغ
بتاريخ: 30 سبتمبر 200619 سنة comment_79774 السلام عليكمان شاء الله تكون مشكلتك اتحلتمع الف سلامهمحمد عوض تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.