Professional Documents
Culture Documents
Chapt 2
Chapt 2
Chapter 1-1
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Learning Objectives
Evolution of File System Data Processing
Problems with File System Data Processing
Data Redundancy Implications
Database Systems
DBMS Functions
Disadvantages of Database Systems
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 2
Evolution of File System Data
Processing
1- Manual File Systems
كانت هذه األنظمة غالبًا أنظمة يدوية ،ورق وقلم رصاص .ال
تم تنظيم األوراق داخل هذه األنظمة لتسهيل االستخدام المتوقع للبيانات.
عادة ،تم تحقيق ذلك من خالل نظام مجلدات الملفات وخزائن الملفات.
طالما أن مجموعة البيانات كانت صغيرة نسبيًا وكان لدى مستخدمين
األعمال في المؤسسة القليل من متطلبات إعداد التقارير ،أدى النظام
اليدوي دوره باإلضافة إلى مستودع البيانات.
ومع ذلك ،مع نمو المنظمات وزيادة تعقيد متطلبات إعداد التقارير ،
أصبح تتبع البيانات في نظام الملفات اليدوي أكثر صعوبة .لذلك لجأت
الشركات ،إلى تكنولوجيا الكمبيوتر.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 3
Evolution of File System Data
Processing
• 2- Computerized File Systems
كان إنشاء التقارير من أنظمة الملفات اليدوية بطيًئا ومرهقًا .في الواقع ،
واجه بعض مديري األعمال متطلبات إعداد التقارير التي تفرضها
الحكومة والتي أدت إلى أسابيع من الجهد المكثف كل ربع سنة ،حتى عند
استخدام نظام يدوي جيد التصميم.
لذلك ،تم تعيين أخصائي معالجة البيانات (()DPإلنشاء نظام قائم على
الكمبيوتر من شأنه تتبع البيانات وإنتاج التقارير المطلوبة.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 4
Evolution of File System Data
Processing
• 2- Computerized File Systems
كانت ملفات الكمبيوتر داخل نظام الملفات مماثلة للملفات، في البداية
اليدوية.
مثال بسيط لملف بيانات العمالء لشركة تأمين صغيرة كما الشكل
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 5
Evolution of File System Data
Processing
• 2-Computerized File Systems
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 6
Evolution of File System Data
Processing
• 3- File System Redux: Modern End-User Productivity
Tools.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 7
Problems with File System Data
Processing
(Lengthy development times طولزمنا‚‚لتطوير ا‚‚ألنظمة)
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 8
1-6 Problems with File System Data
Processing
Difficulty of getting quick answers
يتطلب إنشاء وصيانة العديد من برامج إدارة الملفات .يجب أن يكون لكل
ملف برامج إدارة الملفات الخاصة به والتي تسمح للمستخدم بإضافة
السجالت وتعديلها وحذفها ؛ وعرض محتويات الملف ؛ ولتوليد
التقارير .نظ ًرا ألن االستعالمات المخصصة غير ممكنة ،يمكن أن
تتضاعف برامج إعداد التقارير عن الملفات بسرعة .المشكلة معقدة
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 9
1-6 Problems with File System Data
Processing
Lack of security ص‚‚عفف‚‚‚يا‚‚المن
limited data sharingمحدودية مشاركة ا‚‚لبيانات
مشاركة محدودة ج‚داً ب‚‚‚ينا‚‚لبرا‚مج ا‚‚لمختلفة و ملفاتا‚‚لبيانات
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 10
Problems with File System Data
Processing
‚فقت‚‚‚جانس) ا‚‚لبيانات Data inconsistency:
ع‚دم‚ ت‚‚‚وا (
( وجود نفس البيانات في أكثر من موقع بتنسيقات مختلفة) ،فقد
يتعرض النظام الى مجموعة من التعديالت ،وهذه التعديالت قد ال تتم
في الملفات األخرى .مما يسبب عدم توافقية البيانات او تجانس
البيانات .
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 11
تكرار البيانات :تكرار البيانات في أكثر من ملف مما يضيع حيز التخزين و الجهد و الوقت.
• عدم تجانس أو توافق البيانات :نفس المعلومة تكون مخزنه في أكثر من ملف عند تعديلها قد ال
نعدلها في الملفات األخرى.
• عدم المرونة:عملية التعديل و الحذف تتطلب جهد و وقت و كلفة عالية.
• مشاركة محدودة جداً بين البرامج المختلفة و ملفات البيانات.
• صعوبة الصيانة أي تعديل لملف يلزم تعديل كافة البرامج الخاصة به .
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 12
Data Redundancy Implications
Data Redundancy :
يشير تكرار البيانات إلى (نفس البيانات موجودة في أماكن متعددة في
قاعدة البيانات .غير ضرورية).
لذألك.يجعل استرداد البيانات أقل كفاءة .عالوة على ذلك ،يستهلك التكرار
البيانات المزيد من الموارد في قاعدة البيانات .بمرور الوقت ،يؤدي
تكرار البيانات إلى تلف قاعدة البيانات ،مما يتسبب في عدم إمكانية
استخدام البيانات.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 13
Data Redundancy Implications
Data inconsistency
يشير عدم تناسق البيانات إلى حالة االحتفاظ بنفس البيانات بتنسيقات
مختلفة في جدولين مختلفين أو موقف يتطلب فيه مطابقة البيانات بين
الجداول .ومع ذلك ،يمكن أن يسبب هذا جدول واحد في قاعدة البيانات
أن يكون له القيمة الصحيحة وتكون الجداول المتبقية مختلفة .يمكن أن
يسبب أيضً ا معلومات غير موثوقة وال معنى لها .عالوة
على ذلك ،من الصعب تقليل عدم تناسق البيانات
إذا كان لدينا بيانات مكررة في جدول واحد ،في وقت ما يقال أن DB
هي غير متناسقة .تحدث المشكلة إذا نسينا تغيير القيم في أي من
السجالت .عندئذ تكون قاعدة البيانات تحتوي على بيانات غير متسقة
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 14
Data Redundancy Implications
Data integrity problems لبيانات مشكلةxxكامل) اxxحة(تxxص
Data anomalies xاذهxxياناتشxxب
الشذوذ عندما ال يتم إجراء جميع التغييرات في البيانات الزائدة بشكل صح
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 15
Data Redundancy Implications
Type Data anomalies
1-update anomaly
2-insertion anomaly
3-delete anomaly
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 16
Data Redundancy Implications
)وعدم تناسقData Redundancy( العالقة بين تكرار البيانات
) Data inconsistency( البيانات
.يمكن أن يسبب تكرار البيانات الي عدم تناسق البيانات
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 17
Database Systems
( Database (DB) + DBMS → Database System
(DBS)
نظم إدارة قواعد البيانات ← نظم قواعد البيانات+ قواعد البيانات
An organization of components that defines and
regulates the collection, storage, management, and
use of data in a database environment.
مجموعة من المكونات التي تحدد وتنظم مجموعة البيانات وتخزينها
وادارتها واستخدامها في بيئة قاعدة البيانات
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 18
Database Systems
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 19
The Database System Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 20
The Database System Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 21
The Database System Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 22
1-7a The Database System
Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 23
1-7a The Database System
Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 24
1-7a The Database System
Environment
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 25
Database Systems
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 26
Database Systems
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 27
DBMS Functions
Data storage managementإدارة ت‚‚‚خزينا‚‚لبيانات
Security management إدارة ا‚‚المن
Multiuser access controlا‚‚لتحكم‚ ف‚‚‚يا‚‚لوصولل‚‚ع‚ديد منا‚‚لمستخدمين
تعطي إمكانية تعامل العديد من المستخدمين مع نفس قواعد البيانات في
نفس الوقت بدون مشاكل
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 28
DBMS Functions
Data integrity management
The DBMS promotes and enforces integrity rules,
minimizing data redundancy and maximizing
data consistency
• The data relationships stored in the data dictionary are
used to enforce data integrity.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 29
DBMS Functions
Database access languages and application
programming interfaces
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 30
DBMS Functions
Database communication interfaces
يقوم نظام( )DBMSتوفير الوصول إلى قاعدة البيانات عبر اإلنترنت
من خالل استخدام متصفحات الويب مثل Mozilla Firefoxأو
Google Chromeأو .Microsoft Internet Explorer
في هذه البيئة ،يمكن إجراء االتصاالت بعدة طرق
-يمكن للمستخدمين ‘طرح إجابات على االستفسارات عن طريق ملء
نماذج من خالل متصفح الويب المفضل لديهم.
-يمكن لنظام DBMSتلقائيًا نشر تقارير محددة مسبقًا على موقع
ويب.
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 31
DBMS Disadvantages
Increased costs التكاليف الكبيرة على المعدات و البرامج
ت‚‚‚عقيد ا‚‚الدارة.Management complexity
‚ ا‚ستقال‚لية ا‚‚لبائعVendor dependence
ا‚‚لتحديثا‚‚لمتكررFrequent upgrade/replacement cycles
الخطورة في حالة انهيار قاعدة البيانات نتيجة فيروس او تعطل
المعدات
©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. 32