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

شرح بعض المواضيع في مجال Dba_oca_ocp

Featured Replies

بتاريخ:

سأبدء ان شاء الله بشرح وعرض بعض المواضيع في الاوراكل DBA

<_<
وعلى بركة الله نبدأ

  • الردود 124
  • المشاهدات 53.4k
  • البداية
  • اخر رد

أكثر المشاركين في هذا الموضوع

الصور المنشورة

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

الدرس الاول ويتضمن شرح الOFA-optimal flexible architecture
*the basic element of an RDBMS is a two-dimensional table,or relation.
*a data type defines the type of data such as numbers or characters allowed in a column.
*the foreign key: is a column refer to a primary key or unique.
*Optimal flexible architecture(OFA) is a technique for configuring oracle databases
And other databases in a way that is easy to administer and allows for
Maximum flexibility.
*THE OFA:- creates a configuration that can be easily administered using
Capabilities of the OS and disk subsystems.
this configuration ensures the greatest flexibility for growing and high-performance
database.
*OFA:- helps in:-
-collating and arranging a large number of software.
-performing regular administrative tasks.
-moving between multiple oracle databases.
-administering the growth of a database.
*OFA provides a naming scheme with certain standards that are
used to name mount points ,their directories, sub directories, and files
*the mount points are usually the physical disks.
* to name mount point we use the syntax (( /pm )) where p is a string
constant and m is a unique two digits long that distinguishes different
mount points.for example (( /u01 )),((/u02)),((/u03)).
**to name home directories we use the syntax -((/pm/h/u))
where pm is th amount point ,h is the standard directory ,and u is
the directory owner-for example in the home directory -(( /u02/home/oracle ))
u02 is the mount point ,home is the standard directory, and oracle is the
directory owner.
**to store different oracle software versions, you create different software
directories using the OFA naming scheme, and the the syntax is ((/pm/h/u/product/v ))
where product is a literal and v represents the version number of the oracle software.
**to better organize administrative data,the data should be stored in database-specific subdirectories.
to name a subdirectory using the OFA naming we use (( /h/admin/d/a ))
where (h) is the home directory, (admin) is a literal ,(d) denotes the database,
and (a) denotes the subdirectory for administration files.
Subdirectory Database Administration file
Adhoc Ad hoc SQL scripts
Arch Archived redo log files
Adump Audit files
Bdump Files that trace background processes
Cdump Core dump files
Create Database creation programs
Exp Database export files
Logbook Files that record the history and the status of the database
Pfile Parameter files
Udump Files that trace user SQL
*The files should be named using the OFA naming scheme.
The syntaxes for naming control files, redo log files,and data files are
As follow:-
-Syntax for control files
/pm/q/d/control.ctl
-syntax for redo log files
/pm/q/d/redon.log
-syntax for data files
/pm/q/d/tn.dbf
where pm denotes the mount point , q denotes the string that differentiates
oracle data files from other files, d denotes the DB_NAME initialization parameter value , t denotes the oracle tablespace ,and n denotes a unique string.

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

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

++الدرس الثاني
تنصيب الاوراكل 10g على اللينكس
Installation ORACLE 10g Prerequisites:-
المتطلبات لتثبيت اوراكل 10g
-at least 512MB.
-a swap space of 1 GB or twice the size of the RAM.
-ORACLE database 10g needs 1.5GB of disk space for its software part.
-1.5 GB more for its preconfigured database.
-the system must have 400 MB disk space in its temp directory.
**for successful installation of oracle database 10g a certain environment variables needed such like:-
1-DISPLAY
2-ORACLE_BASE.
3-ORACLE_SID.
4-ORACLE_HOME.
5-And PATH variables.
**Among the oracle environment variables,
=1-DISPLAY
the DISPLAY is important while using oracle database 10g before installation
you should set the value for DISPLAY variable _ for example set to 10.1.5.11:0.0:-
[oracle@centralTeaching oracle]$ export DISPLAY=10.1.5.11:0.0
ولعرض النتيجه او القيمه المستعمله
[oracle@centralTeaching oracle]$ echo $DISPLAY
,والنتيجه ستكون
10.1.5.11:0.0
=2-ORACLE_BASE.
and then the environment variable ORACLE_BASE provides the base structure of the ORACLE directory for optimal flexible Architecture (OFA).
For example we set the path directory for the ORACLE_BASE variable is set to
/home/oracle
example:-
في البدايه نستعمل الامر التالي لمعرفة اذا يوجد اعدادات مسبقه
[oracle@centralTeaching oracle]$echo $ORACLE_BASE
ويجب ان لا تظهر لدينا أي نتيجه
ونستعمل الامر التالي لانشاء
[oracle@centralTeaching oracle]$export ORACLE_BASE=/home/oracle
ولنتأكد ان الامر نجح نستعمل
[oracle@centralTeaching oracle]$echo $ORACLE_BASE
والنتيجه ستكون
/home/oracle
=3-ORACLE_SID.
وبعد ذلك بيئة الORACLE_SID
ونستعمل الامر
[oracle@centralTeaching oracle]$echo $ORACLE_SID
لفحص اذا يوجد اعدادات مسبقه
وفي حالة عدم وجود اعدادات مسبقه نستعمل التالي:-
[oracle@centralTeaching oracle]$ export ORACLE_SID=CentralT
وللتأكد من نجاح الامر او الخطوه نستعمل
[oracle@centralTeaching oracle]$ echo $ORACLE_SID
وستكون النتيجه هي
CentralT

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

تابع_

=4-ORACLE_HOME.
بيئة المتغير ORACLE_HOME يشير الى الدليل الذي يحتوي على software
وفي المثال التالي : ORACLE_HOME هو CentralTeaching.
لذا نستعمل الامر التالي
[oracle@centralTeaching oracle]$ echo $ORACLE_SID
وذلك لفحص اذا كان هناك اعدادات مسبقه ويجب ان تكون النتيجه خاليه
ونستعمل الامر التالي لإنشاء الORACLE_HOME
[oracle@centralTeaching oracle]$ export ORACLE_HOME=/home/oracle/CentralTeaching
ونفحص لنتأكد من انه انشأه نستعمل الامر التالي
[oracle@centralTeaching oracle]$ echo $ORACLE_HOME
وستكون النتيجه هي
/home/oracle/CentralTeaching

5-And PATH variables
والآن نقوم باعداد المسار – PATH ونقوم بإضافته

[oracle@centralTeaching oracle]$ echo $PATH
وستظهر المسارات الموجوده
/usr/Kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/CentralTeaching/bin
ونتأكد من ان المسار المراد انزال الاوراكل غير موجود لنضيفه بعد ذلك
بواسطة الامر التالي
[oracle@centralTeaching oracle]$ export PATH=$PATH:/home/oracle/CentralTeaching/bin
ونقوم باستعراض المسارات للتأكد من نجاح الامر الانشاء المسار المطلوب
[oracle@centralTeaching oracle]$ echo $PATH
ونجد المسار قد نزل وتم تثبيته
/usr/Kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin :/home/oracle/CentralTeaching/bin
وحسب الخطوات الموضحه بالملف المرفق

post-39062-1203941911_thumb.jpg

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

وقبل تنصيب الاوراكل 10g يجب علينا التأكد من اعدادات اخرى وهي تنفيذ فحص ما قبل التنصيب
PREINSTALLATION CHECKS
وذلك للتأكد من بعض قيم بارميترات الكيرنل ويتم عرضها كالتالي بواسطة الامر من مستخدم ROOT
[root@centralTeaching oracle] # cat /proc/sys/kernel/sem
250 32000 32 128
عد لملف kernel_parameters.jpg المرفق ونفذ الخطوات
لتعديل ملف sem بالقيمه المراده

post-39062-1203942010_thumb.jpg

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

وفي حالة عدم تحقيق كامل المتطلبات استعمل خيار
ignoreSysPrereqs flag
لتثبيت الsoftware
**********Installation Using OUI
التثبيت بواسطة ORACLE UNIVERSAL INSTALLER(OUI)

عند التثبيت لاول مره يجب عليك تحديد مسار INVENTORY DIRECTORY
قبل تحديد مسار الinstallation directory
ملاحظه:-
****الاوراكل تستعمل ال inventory ككتاب للحفظ
فهو يحتوي على معلومات عن كل ما يتعلق بمنتج الاوراكل في دليل ORACLE_HOME
والمنتجات التي ليست من اوراكل ويتم استعمالها من قبل اوراكل ويتم تضمينها داخل اوراكل
وذلك عن طريق طباعة التالي:-/home/oracle/oraInventory
وحسب ما هو موضح بالمرفق install_inventory

post-39062-1203942084_thumb.jpg

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

عند تثبيت الاوراكل على UNIX يجب تحديد مجموعة يونكس التي لديها صلاحيات وتملك
الbase directory
ويجب تنفيذ السكريبت orainstRoot.sh كمستخدم root وهذا السكريبت يقوم بانشاء مؤشرات على ملفات الinventory والمستخدمه من قبل OUI في البدايه لإيجاد موقع الinventory .
تلقائيا الOUI يحدد موقع الinstaller في حقل المسار في منطقة المصدر التثبيت في
موقع Specify File Locations window
وعند تحديد موقع file location انت تقوم بتحديد اسم ORACLE HOME والذي يتعرف على مجموعات وinstalled Oracle services
ويمكن ان يستوعب الORACLE HOME NAMR اسم وجهة الاوراكل حتى 16 حرف واندرسكور بدون فراغات كما هو مرفق في ملف specify_file_location.jpg

post-39062-1203942154_thumb.jpg

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

***الاوراكل HOME التي تم تجهيزها بواسطة OUI تحت منصة الويندوز تتضمن الhomes
المنشئه بواسطة الOUI والمنشأه بواسطة النسخ الاوليه القديمه والhomes المخزنه في الregistry
*** the oracle homes maintained by OUI on linux include the homes that are defined in the oratab file, and the homes stored in the environment variable ORACLE_HOME
and when no oracle home exists in OUI a default home is created in a location on the disk volume that has the maximum free space.
ومن ثم نختار نوع التنصيب المطلوب حسب الصوره المرفقه:- select_installation_type.jpg

post-39062-1203942325_thumb.jpg

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

***الفرق بين الEnterprise Edition والstandard Edition هو ان
الstandard Edition لا تحتوي على خيارات الانتربرايز مثل :oracle data guard, advanced security , , virtual private database .,N-tier Authentication ,
Fine-grained auditing (FGA) ,partitioning,online analytical processing(OLAP)
And Export-Transportable Tablespace.
**بعد اختيار نوع التنصيب يتم فحص متطلبات التنصيب واذا ظهر لديك تحذير تستطيع وضع اشارة صح
للمتابعه بجانب الخيار الذي اعطى التحذير
وبعد الانتهاء من الفحص تستطيع اختيار اعدادات الداتابيس لإنشاء قواعد بيانات ابتدائيه اختار أي من الخيارات التيمبليتس كما هو موضح بالمرفق SELECT DATABASE Configration
والتيمبليتس تساعدك على انشاء قواعد بيانات بسرعه وسهوله ويمكن التحكم بالخيارات من خيار
Advanced options.
وعند انشاء قواعد بيانات ابتدائيه فان OUI يطلب منك تحديد عدد من الخيارات مثل
يجب عليك تحديد global database name
و الunique identity على شكل Oracle System Identifier(SID)
وانت تقوم بتحديد هذه القيم في صفحة database identification page of the database configuration Assistant(DBCA)
وغالبا تاخذ اسم متعارف عليه ب-orcl.
وحسب الصوره المرفقهdatabase_identification.jpeg

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

***الفرق بين الEnterprise Edition والstandard Edition هو ان
الstandard Edition لا تحتوي على خيارات الانتربرايز مثل :oracle data guard, advanced security , , virtual private database .,N-tier Authentication ,
Fine-grained auditing (FGA) ,partitioning,online analytical processing(OLAP)
And Export-Transportable Tablespace.
**بعد اختيار نوع التنصيب يتم فحص متطلبات التنصيب واذا ظهر لديك تحذير تستطيع وضع اشارة صح
للمتابعه بجانب الخيار الذي اعطى التحذير
وبعد الانتهاء من الفحص تستطيع اختيار اعدادات الداتابيس لإنشاء قواعد بيانات ابتدائيه اختار أي من الخيارات التيمبليتس كما هو موضح بالمرفق SELECT DATABASE Configration
والتيمبليتس تساعدك على انشاء قواعد بيانات بسرعه وسهوله ويمكن التحكم بالخيارات من خيار
Advanced options.
وعند انشاء قواعد بيانات ابتدائيه فان OUI يطلب منك تحديد عدد من الخيارات مثل
يجب عليك تحديد global database name
و الunique identity على شكل Oracle System Identifier(SID)
وانت تقوم بتحديد هذه القيم في صفحة database identification page of the database configuration Assistant(DBCA)
وغالبا تاخذ اسم متعارف عليه ب-orcl.
وحسب الصوره المرفقهdatabase_identification.jpeg

post-39062-1203942405_thumb.jpg

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

وفي حالتنا هذه هي centralT
***وننتقل لصفحة الManagement Options
والتي توفر خيار اعداد قواعد البيانات بواسطة خيار Enterprise Manager و استعمال داتابيز كونترول لخيار إدارة الداتابيز
وتختار اعداد الداتابيز بواسطة مدير الانتربرايس عن طريق وضع اشاره على ال check box
لادارة البيانات المخزنه على جهاز واحد او عدة اجهزه حاسوب
**لإدارة داتابيز واحده فرديه تختار زر خيار
Use database control for database management
ومن ثم تستطيع اختيار خيار عمل نسخه احتياطيه يوميه من الداتابيز
وبداية بدء عمل النسخه الاحتياطيه
وتحدد اسم المستخدم نظام التشغيل وكلمة السر
حسب ما هو مرفق بالصوره التاليه ب management_options.jpeg

post-39062-1203942478_thumb.jpg

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

ثم يتم تحديد لكل مستخدم كلمة مرور password او كلمة مرور واحده لكل المستخدمين وهو خيار سيء وغير مفضل وحسب ما هو موضح بالصوره المرفقه database_credentials.jpeg

post-39062-1203942591_thumb.jpg

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

وفي صفحة خيار التخزين storage options
تقوم بتحديد اين سيتم تخزين ملفات الداتابيس لاستعمال ملفات نظام التشغيل لتخزين ملفات الداتابيس فانك تختار
خيار زر file system option
وتستطيع اختيار زر automatic storage management (ASM) لإداره مبسطه واشراف مبسط لتخزين البيانات
*** اما خيار الRAW DEVICES في صفحة خيارات التخزين وذلك لتقسيم القرص التخزين بدون استعمال نظام التشغيل وعندما تقوم باختيار هذا الخيار فانك تقوم بادارة وسائط التخزين خارج نظام التشغيل
وحسب ما هو مرفق بالصوره storage_options.jpeg

post-39062-1203942687_thumb.jpg

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

***في صفحة الdatabase content
تستطيع انشاء sample schemas باختيار الزر وهي تقوم بانشاء تيبل سبيس باسم EXAMPLE
وحسب ما هو مرفق بالصوره التاليه database_content.jpeg

post-39062-1203942754_thumb.jpg

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

ومن ثم صفحة اللغه وموقع الاقامه
وبعد ذلك الصفحه النهائيه SUMMARY
ونضغط على install لبدء عملية التنصيب

post-39062-1203942832_thumb.jpg

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

ثم تظهر صفحة ال configuration_assistants

post-39062-1203942895_thumb.jpg

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

***في حالة عدم انشاء داتابيس ابتدائيه على منصة يونكس انت بحاجه لتنفيذ سكريبت آخر تحت صلاحيات مستخدم root واسم السكريبت هو root.sh حيث يقوم هذا السكريبت بانشاء ملف يحتوي على معلومات تتعلق ببالداتابيس ومواقع الORACLE_HOMES
اما بالنسبه لمستخدمي لينوكس فان الملف موجود تحت اسم /etc/oratab
اما بالنسبه للتثبيت تحت منصة ويندوز فلي هناك حاجه لذلك.

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

وسنتابع معا ان شاء الله

بتاريخ:

أخي الكريم
جزاك الله خيرا

بتاريخ:

السلام عليكم؟؟

تسلم أخي جلال على هذا الدروس المفيدة؟

وونتظر المزيد.....

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

شكرا جزيلا لكم على هذا الاطراء والتشجيع ونتابع معا ان شاء الله

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

DBCA_ Database Configuration Assistant (DBCA)
وهي اداه تسمح بانشاء داتابيس جديده وتغيير الاعدادات للداتابيز
ويمكنك ايضا من حذف داتابيس موجوده وادارة انشاء التيمبليتس
التيمبلتس –
template :- يمكن وصفها على انها داتابيس تم تعريفها مسبقا. والتي تستخدم كمثال او موديل لانشاء داتابيس جديده.

post-39062-1204007843_thumb.jpg

بتاريخ:

وفقك الله <_<

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

شاشة الoperation window توفر عدد من العمليات التي يمكن اجرائها مثل
*انشاء داتا بيس create database
*اعداد خيرات الداتابيس configure database options
*حذف داتابيس delete database
*ادارة التيمبلتس manage Templates
مرفق صورة شاشة operations.jpeg

post-39062-1204007922_thumb.jpg

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

وبعد ذلك نستعمل الداتابيس تيمبلتس وذلك لاستعماله كموديول لانشاء داتابيس
فالخيار الاول هو
تجهيز داتابيس معدله custom database
اما الخيار الثاني فهو مخزن الداتا database ware house
اما الخيار الثالث فهو داتا ذو الاغراض المتعدده general purpose
والخيار الرابع هو عمليات النقل transaction processing
وهذه الاختيارات تعتمد حجم الحمل الذي ستدعمه الداتابيس
وتستطيع استعمال خيار General purpose اذا كان لديك اكثر من نوع من التيمبلتس
-لانشاء داتابيس معقده يجب عليك استخدام custom database template
وانشاء هذه الداتابيس يتطلب وقت اطول وذلك بسبب انها تتطلب ان يتم تنفيذ سكريبتات انشاء الداتابيس
قبل انشاء داتابيس جديده.
ويمكن مشاهدة التفاصيل الاعدادات اضغط على زر show details
كما هو موضح في صورة confirmation.jpeg

post-39062-1204008287_thumb.jpg

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

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

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

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

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

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.