INSS 651 Chapter 1. Learning Objectives To develop the main database system concepts. To show the evolution of database systems from computer file systems.

Slides:



Advertisements
Similar presentations
Databases MMG508. DB Properties  Definition of a database: “A database is a collection of interrelated data items that are managed as a single unit”
Advertisements

Database Systems: Design, Implementation, and Management Tenth Edition
Introduction to Databases
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
1 1 File Systems and Databases. 1 1 Introducing the Database 4Major Database Concepts u Data and information l Data - Raw facts l Information - Processed.
Chapter 1: The Database Environment
Introduction to Databases
Chapter 1 File Systems and Databases
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
File Systems and Databases
Database Management: Getting Data Together Chapter 14.
Chapter 2 Database Environment. Agenda Three-Level ANSI-SPARC Architecture Database Languages Data Models Functions of DBMS Components of DBMS Teleprocessing.
Ch1: File Systems and Databases Hachim Haddouti
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Introduction to Databases Transparencies
File Systems and Databases Hachim Haddouti
Chapter 1 INTRODUCTION TO DATABASE.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
1 Chapter 2 Database Environment. 2 Objectives of Three-Level Architecture u All users should be able to access same data u User’s view immune to changes.
BUSINESS DRIVEN TECHNOLOGY
WHAT IS A DATABASE ? a collection of data organized to help easy retrieval & usage.
DBMS1 Database Management System (DBMS) Introductory Concepts Week-1.
Chapter 1: The Database Environment
Introduction to Databases
Database Management COP4540, SCS, FIU An Introduction to database system.
Chapter One Overview of Database Objectives: -Introduction -DBMS architecture -Definitions -Data models -DB lifecycle.
Database Design and Introduction to SQL
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Introduction to Database Concepts
What is a Database? A database is any collection of data.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Database Design - Lecture 1
Sistem Basis Data (DATABASE) Siauw Yohanes Darmawan
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Module Title? DBMS Introduction to Database Management System.
Database Systems: Design, Implementation, and Management THIRD EDITION
Chapter 1 Introduction to Databases Pearson Education ©
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
311: Management Information Systems Database Systems Chapter 3.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Storing Organizational Information - Databases
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
Database Environment Session 2 Course Name: Database System Year : 2013.
1 Chapter 1 Introduction to Databases Transparencies.
Database Systems Database Systems: Design, Implementation, and Management, Rob and Coronel.
Lecture 2 Data Models. Learning Objectives Why data models are important About the basic data-modeling building blocks What business rules are and how.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Introduction to Databases Transparencies © Pearson Education Limited 1995, 2005.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Managing Data Resources File Organization and databases for business information systems.
Introduction to Databases
An Introduction to database system
Introduction to Databases
File Systems and Databases
Database Design Hacettepe University
Chapter 2 Database Environment Pearson Education © 2014.
The Database Environment
Presentation transcript:

INSS 651 Chapter 1

Learning Objectives To develop the main database system concepts. To show the evolution of database systems from computer file systems. To show that database design is a crucial first step in the development and proper use of database systems. To understand the main DBMS functions. To describe the database environment. To introduce the student to the basics of different types of database systems.

What is a Database? A database is a SHARED collection of LOGICALLY RELATED and INTEGRATED data, designed to meet the INFORMATION NEEDS of multiple users in the org.. allows sharing. reduces duplication. end user data Metadata: data about data Think of Airline database, Motor vehicle database

WHY DATABASES? Good way of managing data Quick retrieval of data Ad-hoc capabilities Access to "desired" data.Quality.Quantity Data Consistency

DBMS A collection of programs which Manages database structure Control Data Access Intermediary between user and the database

DB Design A way of manipulating data in the database create database structure also known as "logical db design" a poorly designed system can lead to –redundancy –inconsistency –data errors

File System File System: one file for one application Customer Sales Agent Query: Give the name of all customers Give the names of all customers of agent SMITH

Problems with file systems.REDUNDANCY.INCONSISTENT DATA.INFLEXIBILITY.PROGRAM/DATA DEPENDENCE.LIMITED DATA SHARING.LITTLE STANDARDS.EXCESSIVE MAINTENANCE

DATABASE APPROACH REDUCED/CONTROLLED DATA REDUNDANCY COMPATIBLE DATA DATA INTEGRITY PROGRAM/DATA INDEPENDENCE SHARING OF DATA FLEXIBLE DATA EASE OF APPLICATION DEVELOPMENT BETTER DATA MANAGEMENT SECURITY

COSTS OF DATABASE APPROACH EXPENSIVE BACKUPS AND RECOVERY NEW SPECIALIZED PERSONNEL DATA OWNERSHIP

Components of a Database Environment 1.HARWARE.Physical Devices.Computer.Peripherals.Network 2. SOFTWARE Operating System DBMS 3.Application Programs &Utilities

3.PERSONNEL:.DBA. responsible for maintaining data base. create standards. resolve conflicts.DB Designers.Design DB structure.System Analysts & Programmers.design and implement application programs END USERS: Interaction MODE:.DIRECT.ad-hoc mode.query.INDIRECT.through application programs.embedded in host languages EU OPERATIONS:.ADD.DELETE.MODIFY.RETRIEVE

4. PROCEDURES: standards, procedures and rules that govern the design and usage of DB systems 5.DB (REPOSITORY) A shared and integrated collection of related data necessary to Satisfy users It contains:.actual data.information about.structure of data.relationship among data items

TYPES OF DATABASES CENTRALIZED greater control vulnerable to failure many cases impractical.all-in-one.large.high usage DISTRIBUTED database is spread physically across computers in multiple locations practical because of organizational Structure concurrency and security problems

DBMS FUNCTIONS:.. Data Dictionary Mgt..Data Storage Mgt..Data Transformation..Security Mgt..Multi User Access Control..Backup & recovery Mgt..Data Integrity Mgt..DDL & DML..Data Communication Interface...allows data access through computer network environment...interface with web..accept user data thru web..publish report on web..distribute information to third party thru

Q5/P62

Ch 2: Data Models

DB Model Represents data structure and relationship Conceptual "What" is represented Implementation “How" represented

Basic Building Blocks CONCEPTUAL: 3 types of associations: one to many (1:m) many to many (m:n) one-to-one (1:1)

Constraints & Business Rules (BR) Constraints are restrictions BR is a Policy Procedure principle

Implementation How data is represented in database? Hierarchical (see page 34) Network (see page 35)..Simple..Complex Relational (page 36) Object-oriented

Hierarchical DB Model: (mimics tree structure) IMS by IBM basic unit is SEGMENT (similar to a record)..root..a child can have at the most one parent..a parent can have many children..need to provide navigation path.pre order traversing.post order traversing Advtg:. allows data sharing.data independence.data integrity.efficient processing Disadvtg:.need to know some PHYSICAL level details.data that do not conform to 1:m.complex and less flexible.need to provide navigational path.ad-hoc capabilities limited

Network DB model: basis is a SET set has OWNER and MEMBERS a set can have many members a set can have many ONERS and MEMBERS Advtgs:.m:n easy to implement.data integrity is maintained.data independence Disadvtg:.Complex.no structural independence.navigation path

Relational Model: no need to know STRUCTURAL details of the data relation (tables) environment easy to understand RDBMS 1:1, 1:m, m:n easy to implement standardized SQL Linking relational tables (page 37) Typically done through primary and foreign key

Object-Oriented Model: Objects are defined (similar to entities) Objects contain data and procedures Objects can FIT with other objects Objects are reusable Objects have INHERITANCE property

ER Data Model (page 38) Define Entities Attributes Relationships Ex: Teacher Student

Degree of DATA abstraction (see figure 2.9/p46) Conceptual IT (hardware/software independent) Internal (DBMS dependent) External (end user orientation) Physical Model (actual implementation)

Q5/p53, Q25/p56

Supplemental reading: