1 / 12

Introduction to Data bases concepts

Introduction to Data bases concepts. IS 320: Introduction to Database Hatoon AlSagri. Basic Definitions. Data : Known facts that can be recorded and have an implicit meaning. What does 3421 means? Database : A collection of related data.

stacey
Télécharger la présentation

Introduction to Data bases concepts

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 Data bases concepts IS 320: Introduction to Database HatoonAlSagri IS Department

  2. Basic Definitions Data: Known facts that can be recorded and have an implicit meaning. What does 3421 means? Database: A collection of related data. Mini-world: Some part of the real world about which data is stored in a database. For example, student grades at a university. Database Management System (DBMS): A software package/ system to facilitate the creation and maintenance of a computerized database. Database System: The DBMS software together with the data itself. Sometimes, the applications are also included. IS Department

  3. Example of a Database • Mini-world for the example: Part of a UNIVERSITY environment. • Some mini-world entities: • STUDENTs • COURSEs • SECTIONs (of COURSEs) • (academic) DEPARTMENTs • INSTRUCTORs IS Department

  4. Example of a Database (with a Conceptual Data Model) • Some mini-world relationships: • SECTIONs are of specific COURSEs • STUDENTs take SECTIONs • COURSEs have prerequisite COURSEs • INSTRUCTORs teach SECTIONs • COURSEs are offered by DEPARTMENTs • STUDENTs major in DEPARTMENTs IS Department

  5. IS Department Example

  6. Advantages of Using the Database Approach Controlling redundancy in data storage and in development and maintenance efforts. Sharing of data among multiple users. Restricting unauthorized access to data. Providing Storage Structures for efficient Query Processing Providing backup and recovery services. Providing multiple interfaces to different classes of users. Enforcing integrity constraints on the database. IS Department

  7. Database system • Level of abstraction • Physical level describes how a record (e.g., customer) is stored. • Logical level: describes data stored in database, and the relationships among the data. type customer = recordname : string;street : string;city : integer;end; • View level: application programs hide details of data types. Views can also hide information (e.g., salary) for security purposes. IS Department

  8. View of data An architecture for a database system: IS Department

  9. Data Models Data Model: A set of concepts to describe the structure of a database,and certain constraints that the database should obey. Data Model Operations: Operations for specifying database retrievals and updates by referring to the concepts of the data model. IS Department

  10. Data models Entity-Relationship model: Example of schema in the entity-relationship model: IS Department

  11. Data models • Example of tabular data in the relational model IS Department

  12. DBMS Languages • Data Definition Language (DDL): Used by the DBA and database designers to specify the schema of a database. In many DBMSs, the DDL is also used to define internal and external schemas (views). • Data Manipulation Language (DML): Used to specify database retrievals and updates. Two types of DML: • Ee.g., SQL, are set-oriented and user specify what data is required without specify how to get those data. Also called declarative languages. • record-at-a-time; they specify how to retrieve data and include constructs such as looping. IS Department

More Related