1 / 11

מערכות בסיסי נתונים

מערכות בסיסי נתונים. ספרות. Database System Concepts/ Korth, Siberschatz Fundamentals of Database Systems/ Elmasri, Navathe Introduction to Database Systems/ Date Relational Database, Theory/ Atzeni Database Systems/ Connolly, Begg, Strachan. מערכות בסיסי נתונים/ הוצאת האוניברסיטה הפתוחה

margo
Télécharger la présentation

מערכות בסיסי נתונים

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. מערכות בסיסי נתונים ספרות • Database System Concepts/ Korth, Siberschatz • Fundamentals of Database Systems/ Elmasri, Navathe • Introduction to Database Systems/ Date • Relational Database, Theory/ Atzeni • Database Systems/ Connolly, Begg, Strachan • מערכות בסיסי נתונים/ הוצאת האוניברסיטה הפתוחה • בסיסי נתונים טבלאיים ושפת SQL / רז הייפרמן

  2. מבוא • מערכת לניהול קבצים (file-based system):אוסף של תכניות יישום המבצעות מטלות עבור המשתמשים, כמו למשל הפקה של דוחות. כל תכנית מגדירה ומנהלת את הנתונים שלה. • מגבלות: • כפילות נתונים, אי אחידות נתונים (data redundancy, data inconsistency) • אחזור נתונים (data accessing). • שליפת מידע מקבצים אחדים (data isolation). • ריבוי משתמשים (multiple users). • בטיחות המידע (data security). • תקינות ושלמות המידע (data integrity).

  3. גישת בסיס הנתונים בסיס-נתונים (database) :מאגר של נתונים מקושרים ביניהם ומכילים מידע על נושא מסוים. מערכת לניהול בסיס-נתונים (database management system = DBMS):מערכתתוכנה המאפשרת למשתמש להגדיר, ליצור ולתחזק את בסיס-הנתונים ומספקת גישה מבוקרת לבסיס-הנתונים

  4. רמות הפשטה של נתונים רמה פיסית (internal/physical level):הייצוג הפיסי של בסיס הנתונים. מתארת כיצד מאוחסנים הנתונים בבסיס-הנתונים. רמה תפיסתית (conceptual level): הייצוג הכולל של הנתונים בבסיס הנתונים. מתארת אילו נתונים מאוחסנים בבסיס-הנתונים ומהם הקשרים ביניהם. רמת תצפית (view/external level): 'מראה' בסיס-הנתונים מנקודת מבטו של המשתמש. מתארת את החלק של בסיס-הנתונים הרלבנטי לכל אחד מהמשתמשים.

  5. שלוש רמות הפשטה תצפית 1 תצפית 2 תצפית 3 רמה תפיסתית רמה פיסית

  6. מופעים רגעיים ותבניות תבנית (scheme):תיאור מבנה בסיס הנתונים. מופע רגעי – (instance):אוסף הנתונים בבסיס-הנתונים בכל רגע זמן נתון. תבנית תצפית 1 תבנית תצפית 2 id fname lname age salary identity lname branch תבנית תפיסתית id fname lname birth salary branchno

  7. תבנית פיסית struct STAFF{ int id_no; int branch_no; char fname[15]; char lname[15]; struct date_of_birth; float salary; struct STAFF *next; /*pointer to next STAFF record */ } index id_no; index branch_no; /*indexes for STAFF */

  8. אי-תלות בנתונים • אי-תלות לוגית בנתונים (logical data independence):אי-התלות של תבניות התצפית בשינויים בתבנית התפיסתית. • אי-תלות פיסית בנתונים (physical data independence):אי-התלות של התבנית התפיסתית בשינויים בתבנית הפיסית.

  9. שפות בסיס-הנתונים שפה להגדרת נתונים (data definition language = DDL):שפה מיוחדת שמטרתה הגדרת תבנית בסיס הנתונים: הגדרת הישויות הנחוצות ליישום והקשרים בין הישויות השונות. שפה לטיפול בנתונים (data manipulation language = DML):שפה המאפשרת למשתמש גישה לנתונים וטיפול בהם.

  10. מודלים של נתונים • מודל נתונים (data model):כלי המשמש לתיאור הנתונים, הקשרים ביניהם, משמעות הנתונים וההגבלות החלות עליהם. • מודלים לוגיים מבוססי אובייקטים. (ER,OO) • מודלים לוגיים מבוססי רשומות. (Relational,Network) • מודלים פיסיים של נתונים. (Unifying)

  11. רכיבי המערכת לניהול בסיס הנתונים DBA מתכנתים משתמשים תכניות יישום שאילתות תבניות בה”נ קדם מהדר DML מעבד שאילתות מהדר DDL קודי יעד (object) מנהל בה”נ DBMS מנהל קבצים בה”נ + מילון נתונים

More Related