Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.

Slides:



Advertisements
Similar presentations
Data Modeling and Database Design Chapter 1: Database Systems: Architecture and Components.
Advertisements

Introduction to Databases
Introduction to Databases
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Introduction to Databases Transparencies
ICS (072)Database Systems Background Review 1 Database Systems Background Review Dr. Muhammad Shafique.
Chapter 1 INTRODUCTION TO DATABASE.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1- 1.
Dr. Kalpakis CMSC 461, Database Management Systems Introduction.
Chapter 1 Introduction to Databases
Introduction and Conceptual Modeling
1 Chapter 2 Database Environment. 2 Chapter 2 - Objectives u Purpose of three-level database architecture. u Contents of external, conceptual, and internal.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Introduction to Databases
Chapter One Overview of Database Objectives: -Introduction -DBMS architecture -Definitions -Data models -DB lifecycle.
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Data bases concepts
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Module Title? DBMS Introduction to Database Management System.
Chapter 2 CIS Sungchul Hong
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
Database Technical Session By: Prof. Adarsh Patel.
CST203-2 Database Management Systems Lecture 2. One Tier Architecture Eg: In this scenario, a workgroup database is stored in a shared location on a single.
Database System Concepts and Architecture
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
1Mr.Mohammed Abu Roqyah. Introduction and Conceptual Modeling 2Mr.Mohammed Abu Roqyah.
1 Welcome: To the second learning sequence “ Data Base (DB) and Data Base Management System (DBMS) “ Recap : In the previous learning sequence, we discussed.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Chapter(1) Introduction and conceptual modeling. Basic definitions Data : know facts that can be recorded and have an implicit. Database: a collection.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
Database Systems DBMS Environment Data Abstraction.
Introduction to Database AIT632 Chapter 1 Sungchul Hong.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
1 Database Management Systems (DBMS). 2 Database Management Systems (DBMS) n Overview of: ä Database Management Components ä Database Systems Architecture.
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
1 Introduction to Databases. 2 Examples of Database Applications u Purchases from the supermarket u Purchases using your credit card u Booking a holiday.
1 Chapter 1 Introduction to Databases Transparencies.
Introduction to Databases
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
1 Chapter 2 Database Environment Pearson Education © 2009.
Difference between DBMS and File System
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Postgraduate Module Enterprise Database Systems Technological Educational Institution of Larisa in collaboration with Staffordshire University Larisa
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Introduction to DBMS Purpose of Database Systems View of Data
Databases and DBMSs Todd S. Bacastow January 2005.
CS4222 Principles of Database System
Introduction to Databases
Database Management.
Chapter 2 Database Environment.
“ Database (DB) and Database Management System (DBMS) “
Introduction to Databases
Introduction to Databases
Chapter 2 Database Environment.
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment.
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Databases
Database (DB) and Database Management System (DBMS)
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Database Dr. Roueida Mohammed.
Presentation transcript:

Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001

2 What is a Database? A collection of stored operational data used by the application systems of some particular enterprise.

3 What is a Database? Enterprise –generic term for any reasonably large- scale commercial, scientific, technical, or other application manufacturing financial medical university government

4 What is a Database? Operational data –data maintained about the operation of an enterprise products accounts patients students plans DOES NOT include input/output data

5 What is a DBMS? A Database Management System (DBMS) –a collection of programs that enables users to create and maintain a database –a general-purpose software system that facilitates the processes for databases of Defining Constructing Manipulating Sharing

6 Defining a Database For the data being stored in the database, defining the database specifies: –the data types –the structures –the constraints

7 Constructing a Database Is the process of storing the data itself on some storage device The storage device is controlled by a DBMS

8 Manipulating a Database Included functions that –retrieve specific information in a query –update the database to include changes –generate reports from the data

9 Sharing a Database Allows multiple users and programs to access the database at the same time Any conflicts between applications are handled by the DBMS Other important functions provided by a DBMS include –Protection System protection Security protection

10 Simplified Database System Environment Users/Programmers Application Programs / Queries Software to Process Queries / Programs Software to Access Stored Data Stored Database Definition (Meta-Data) Stored Database DBMS SOFTWARE

11 What is a Database System? Main characteristics of a database system are –Self-describing nature of a database system –Insulation between programs and data, and data abstraction –Support of multiple view of the data –Sharing of data and multi-user transaction processing

12 Other Capabilities of DBMS Systems Support for at least one data model through which the user can view the data –there is at least one abstract model of data that allows the user to see the “information” in the database –relational, hierarchical, network, inverted list, or object-oriented

13 Other Capabilities of DBMS Systems Support for at least one data model through which the user can view the data –efficient file access which allows us to “Find the boss of Susie Jones” –allows us to “navigate” within the data –allows us to combine values in 2 or more databases to obtain “information”

14 Other Capabilities of DBMS Systems Support for certain high-level languages that allow the user to define the structure of data, access the data, and manipulate the data – Data Definition Language (DDL) – Data Manipulation Language (DML) – Data Control Language (DCL) –query languages access data –operations such as add, delete, and replace

15 Other Capabilities of DBMS Systems Transaction management which is the capability to provide correct, concurrent access to the database by many users at the same time –ability to manage simultaneously large numbers of “transactions” procedures operating on the database often transactions come from around the world “lock-out” mechanisms

16 Other Capabilities of DBMS Systems Access control which is the ability to limit access to data by unauthorized users along with the capability to check the validity of the data –protect against loss when database crashes –prevent unauthorized access to portions of data

17 Other Capabilities of DBMS Systems Resiliency which is the ability to recover from system failures without losing data –must be able to recover from ANY type of failure sabotage acts of God hardware failure software failure etc.

18 Use of Conceptual Modeling Entity- Relationship Diagram Logical Database Conversion of Conceptual Schema to Logical Schema Conceptual Level Logical Level (relational, hierarchical, network, etc.)

19 Leveled Architecture of a DBMS View 1 View 2 View n Logical Database Physical Database External Level (View Level) Logical Level (relational, hierarchical, network, etc.) Physical Level (as stored) External / Logical Mapping Logical / Physical Mapping Conceptual Model (ERM) Physical Data Independence Logical Data Independence

20 Levels of a DBMS External Level –a view or sub-schema portion of the logical database –may be in a higher level language

21 Levels of a DBMS Logical Level –abstraction of the real world as it pertains to the users of the database –DBMS provides a DDL to describe the logical schema in terms of a specific data model such as relational, hierarchical, network, or inverted list

22 Levels of a DBMS Physical Level –the collection of files and indicies –resides permanently on secondary storage device –actual data itself

23 Basic Database Terminology Instance –an instance of a database is the current contents of the data –state of the database –snapshot of the data

24 Basic Database Terminology Schema –plan of the database –logical plan –physical plan

25 Basic Database Terminology Student Name Birthdate GPA Susie Jones 09/03/ Schema Instance

26 Basic Database Terminology Data Independence –has to do with the mapping of logical to physical and logical to external –physical data independence physical schema can be changed without modifying logical schema –logical data independence logical schema can be changed without having to modify any of the external views

27 Basic Database Terminology DCL, DDL and DML –may be completely separate (in IMS) –may be intermixed (DB2) –Host language application program in which DML commands are embedded such as COBOL or PL/I

28 Advantages of a Database Controlled redundancy Reduced inconsistency in the data Shared access to data Standards enforced Security restrictions maintained Integrity maintained easier Providing Backup and recovery Permitting inferencing and actions using rules

29 Disadvantages of a Database Increased complexity in concurrency control Increased complexity in centralized access control Security needed to allow the sharing of data Needed redundancies cause updating complexities