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

مشوش Spfile & Instance

Featured Replies

بتاريخ:

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

أحبتي الكرام و الحق يقال اني استفدت كثيرا من منتداكم و اطمع في ازالة التشويش اللي عندي حول فهم SPFILE وكذلك instance انا ادرسها بالانجليزي لكن ترجمة قووقل ضيعتني ...

أتمنى و بشكل مختصر واحد يصفي التشويش اللي عندي ... جزاكم الله خير ..

بتاريخ:

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

1- ال spfile في نفس القيم الي تكون في ال pfile الى اذا حدث تغيير في واحد منهم

2-اذا حدث تغيير في واحد منهم تعمل create spfile from pfile or create pfile from spfile عشان يتماثلو

3- ال pfile اذا سويت فيه تغيير لازم تعمل اعادة تشغيل لقاعدة البيانات ام ال spfile تعمل تغيير لبعض ال parameter والداتا بيس شغالة

4- ال pfile تقدر تفتحة وتقراء الي فيه على مستوى نضام التشغيل اما ال spfile ماراح تفهم حاجة لانه dynamic الى عن طريق قاعدة البيانات
5- الداتا بيس اول ماتشتغل تروح تدور على ال spfile اذا ماحصلته تاخذ ال pfile

6- اما بالنسبة ل instance فهي ذاكر للوراكل مثل ram الي موجود على جهازك حجم ال instanance يتاخذ من ram

مثال : لمن تفتح اي ملف فرضا word fileعلى جهازك يتفتح على ال ram بس هو موجود فعليا على الهارديسك ونفس الشي بالنسبة للوراكل كل شي موجود على oracle database بس الشغل كله على instance


والله اعلم

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

اخي الفاضل عبد الغفار جزاك الله خير .. ان شاء الله وضحت الصوره .. و التعريف بالمقارنه جدا جميل .. و لكن اخوك حتى Pfile ما اعرفه .

بس استفسار بسيط الحين SPFILE انا اعرف انه اختصار Server Parameter Files و لكن ما اعرف هدفه بالضبط ..

و الصراحه اضفت لي معلومات اكثر من راائعة .. الله يوفقك و يسعدك

  • بعد 2 أسابيع...
بتاريخ:

الاس بي فايل او البي فايل عبارة عن فايل يوجد به معلومات مهمه لتشغيل الداتبيس مثل مسار الكنترول فايل و اسم الداتبيس ، فلو على فرضا ان الداتبيس مطفيه ( مسكره) و تبي تشغلها ، اول ما تعمل ستارت ابي الى الداتبيس راح يقرا احد الملفين اس بي فايل او بي فايل لمعرفة مواقع الملفات الاساسية لبدء عمل الداتبيس ، بدون احد الملفين ما راح تشتغل الداتبيس.


الاخ عبدالغفار شكرا على الشرح المميز

بتاريخ:

:


: Parameter file – there are two types of parameter file .



The init.ora file (also called the PFILE) is a static parameter file. It contains parameters that specify how the database instance is to start up. For example, some parameters will specify how to allocate memory to the various parts of the system global area.



The spfile.ora is a dynamic parameter file. It also stores parameters to specify how to startup a database; however, its parameters can be modified while the database is running


.



Pfile
Text file that can be edited using a text editor.
When changes are made to the pfile, the instance must be shut down and restarted before it takes effect.
Is called initinstance_name.ora.
Oracle instance reads only from pfile.
Can be created from an spfile using the create pfile from spfile command.

Spfile
Binary file that cannot be edited directly.
Parameter changes made to the database
using ALTER SYSTEM are updated in the spfile.
Is called spfileinstance_name.ora.
Oracle instance reads and writes to the spfile.
Can be created from a pfile using the
create spfile from pfile command.

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

  • بعد 2 أسابيع...
بتاريخ:

السلام عليكم ومشكووورين التوضيح اكثر من رائع
وعندي سؤال حول الفرق بين locally managed tablespace and dictionary managed tablespace

تم تعديل بواسطة future programer

  • بعد 4 أسابيع...
بتاريخ:

Advantages in using Locally Managed Tablespaces Over Dictionary Managed Tablespaces



Because locally managed tablespaces do not record free space in data dictionary, it reduces contention on these tables.


Local management of extents automatically tracks adjacent free space, eliminating the need to coalesce free extents.


Avoids recursive space management operations, which can occur in dictionary-managed tablespaces if consuming or releasing space in an extent results in another operation that consumes or releases space in a rollback segment or data dictionary table.


Sizes of extents that are managed locally can be determined automatically by the system. Alternatively, all extents can have the same size in a locally managed tablespace.


Changes to the extent bitmaps do not generate rollback information because they do not update tables in the data dictionary (except for special cases such as tablespace quota information).


Reduced fragmentation .

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

  • بعد 3 أسابيع...
بتاريخ:

شرح مختصر ومفيد مشكور اخي abdoulghaffar


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

1- ال spfile في نفس القيم الي تكون في ال pfile الى اذا حدث تغيير في واحد منهم

2-اذا حدث تغيير في واحد منهم تعمل create spfile from pfile or create pfile from spfile عشان يتماثلو

3- ال pfile اذا سويت فيه تغيير لازم تعمل اعادة تشغيل لقاعدة البيانات ام ال spfile تعمل تغيير لبعض ال parameter والداتا بيس شغالة

4- ال pfile تقدر تفتحة وتقراء الي فيه على مستوى نضام التشغيل اما ال spfile ماراح تفهم حاجة لانه dynamic الى عن طريق قاعدة البيانات
5- الداتا بيس اول ماتشتغل تروح تدور على ال spfile اذا ماحصلته تاخذ ال pfile

6- اما بالنسبة ل instance فهي ذاكر للوراكل مثل ram الي موجود على جهازك حجم ال instanance يتاخذ من ram

مثال : لمن تفتح اي ملف فرضا word fileعلى جهازك يتفتح على ال ram بس هو موجود فعليا على الهارديسك ونفس الشي بالنسبة للوراكل كل شي موجود على oracle database بس الشغل كله على instance


والله اعلم

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

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

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

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

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

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.