1 / 20

Introduction to Databases

Introduction to Databases. Decisions, Decisions. Data versus Information Information produced by processing data Information reveals meaning of data Good, timely, relevant information key to decision making Good decision making key to organizational survival. Database Design.

lindley
Télécharger la présentation

Introduction to Databases

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. Introduction to Databases

  2. Decisions, Decisions • Data versus Information • Information produced by processing data • Information reveals meaning of data • Good, timely, relevant information key to decision making • Good decision making key to organizational survival

  3. Database Design • Importance of Good Design • Poor design = data redundancy • Poor design = errors = bad decisions

  4. Data vs. Structural Dependence • Data Dependence • Change in file’s data characteristics requires modification of data access programs • Structural Dependence • Change in file structure requires modification of related programs

  5. Data Anomalies, Redundancy, and Inconsistency • Data Redundancy • Different and conflicting versions of same data will result in anomalies • Data anomalies • Modification • Insertion • Deletion • Data inconsistency • Lack of data integrity

  6. File System Critique • File System Data Management • Requires extensive programming in third-generation language (3GL) • Time consuming • Makes ad hoc queries impossible • Leads to islands of information • Data Redundancy • Different and conflicting versions of same data • Data and Structural Dependence

  7. Database Systems • Database: logically related data stored in a single repository • Advantages: • Eliminates inconsistency, data anomalies, data dependency, and structural dependency problems • Stores data structures, relationships, and access paths

  8. Relationships • Relationships in Conceptual Models • One-to-one (1:1) • One-to-many (1:M) • Many-to-many (M:N)

  9. Hierarchical Database Model • Logically represented by an upside down tree • Each parent can have many children • Each child has only one parent

  10. Hierarchical Database Model

  11. Network Database Model • Each record can have multiple parents • Composed of sets • Each set has owner record and member record • Member may have several owners

  12. Network Database Model

  13. Relational Database Model • Visualize collection of tables for data storage • Tables are a series of row/column intersections • Tables related by sharing common entity characteristic(s)

  14. Relational Database Model Figure 1.11

  15. Relational Database Model

  16. Database Management • Database is shared, integrated computer structure housing: • End user data • Metadata • Database Management System (DBMS) • Manages Database structure • Controls access to data • Contains query language

  17. Importance of DBMS • Makes data management more efficient and effective • Query language allows quick answers to ad hoc queries • Provides better access to more and better-managed data • Promotes integrated view of organization’s operations • Reduces the probability of inconsistent data

  18. DBMS Functions • Data dictionary management • Data storage management • Data transformation and presentation • Security management • Multiuser access control • Backup and recovery management • Data integrity management • Database language and application programming interfaces • Database communication interfaces

  19. DBMS Manages Interaction Figure 1.2

  20. What’s next? - Relational Databases

More Related