الانتقال إلى المحتوى
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.

Multiplexing Of Controlfiles

Featured Replies

بتاريخ:

بسم الله الرحمن الرحيم

السلام عليكم ورحمة الله وبركاته

Control Files
Every Oracle database has a control file. A control file contains entries that specify the
physical structure of the database. For example, it contains the following information:
■ Database name
■ Names and locations of datafiles and redo log files
■ Time stamp of database creation
Oracle can multiplex the control file, that is, simultaneously maintain a number of
identical control file copies, to protect against a failure involving the control file.
Every time an instance of an Oracle database is started, its control file identifies the
database and redo log files that must be opened for database operation to proceed. If
the physical makeup of the database is altered (for example, if a new datafile or redo
log file is created), then the control file is automatically modified by Oracle to reflect
the change. A control file is also used in database recovery

* Oracle ® Database
Concepts
10g Release 2




بعد تنزيل قاعدة البيانات تكون هنالك ثلاثة نسخ من ال
controlfile
و لكن في مكان واحد

$cd $ORACLE_HOME/oradata/$ORACLE_SID/

$ls

controlfile01.ctl
controlfile02.ctl
controlfile03.ctl



لمعرفة مكان ال
controlfile

SQL>select name from v$controlfile;



و حتي نحفظ قاعدة البيانات في حالة
hardisk failure
نحتاج لأن نوزع علي ثلاث هاردسكات

لنقوم بهذه العملية نتبع هذه الخطوات

1- SQL>shutdown immediate



2-$ cp controlfile02.ctl /disk2/oracle/oradata
 $ cp controlfile03.ctl /disk3/oracle/oradata



3- إذا كانت قاعدة البيانات تعمل علي 
pfile

$ vi init$ORALCE_SID.ora
control_files='/disk1/oracle/oradata/orcl/controlfile01.ctl',
'/disk2/oracle/oradata/controlfile02.ctl',
'/disk3/oracle/oradata/controlfile03.ctl'



4- SQL>startup



5-SQL>select name from v$controlfile;



و تكون تمت العملية بنجاح

بالتوفيق إن شاء الله

تم تعديل بواسطة ابن الجوزي

بتاريخ:

لو كانت الداتابيز تعمل على spfile ????

بتاريخ:
  • كاتب الموضوع

إذا كانت قاعدة البيانات علي
spfile

SQL> alter system set control_files='/disk1/oracle/oradata/orcl/controlfile01.ctl',
'/disk2/oracle/oradata/controlfile02.ctl',
'/disk3/oracle/oradata/controlfile03.ctl'
scope=spfile;



SQL>shut immediate



SQL>startup



SQL>select name from v$controlfile;

بتاريخ:

شكرا وجزاك الله خير

  • بعد 2 شهور...
بتاريخ:
  • كاتب الموضوع

جزانا الله و إياك خيراً

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

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

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

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

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

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.