Database Design concepts INFO 1408 Lecture 3 What is a database?

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Databases MMG508. DB Properties  Definition of a database: “A database is a collection of interrelated data items that are managed as a single unit”
©Silberschatz, Korth and Sudarshan4.1Database System Concepts Lecture-1 Database system,CSE-313, P.B. Dr. M. A. Kashem Associate. Professor. CSE, DUET,
Introduction to Databases
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
1 Introduction to Database Management Systems Lila Rao Graham.
File Systems and Databases
Fundamentals of Information Systems, Second Edition 1 Organizing Data and Information Chapter 3.
Database Management: Getting Data Together Chapter 14.
Database Design Concepts Info1408
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
WFM-6103: Hydrologic Information System (HIS) Akm Saiful Islam Lecture-5: Database Management System April-October, 2006 Institute of Water and Flood Management.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Database Design Concepts Info1408
Prevalent Database Models (Advantages of a database over flat files)
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
A Comparsion of Databases and Data Warehouses Name: Liliana Livorová Subject: Distributed Data Processing.
Database Design and Introduction to SQL
Introduction to DBMS Purpose of Database Systems View of Data
Database Management System Lecture 2 Introduction to Database management.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
Database Design - Lecture 1
 Introduction Introduction  Purpose of Database SystemsPurpose of Database Systems  Levels of Abstraction Levels of Abstraction  Instances and Schemas.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
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.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Management Information Systems By Effy Oz & Andy Jones
Physical Database Design Chapter 6. Physical Design and implementation 1.Translate global logical data model for target DBMS  1.1Design base relations.
HNDComputing – DeMontfort University  DeMontfort University 2011 Database Fundamentals wk2 Database Design ConceptsDatabase Design Concepts Database Design.
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.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
INSS 651 Chapter 1. Learning Objectives To develop the main database system concepts. To show the evolution of database systems from computer file systems.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Distributed Databases Midterm review. Lectures covered Everything until (including) March 2 nd Everything until (including) March 2 nd Focus on distributed.
Database Systems DBMS Environment Data Abstraction.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Data resource management
INTRODUCTION TO DBS Database: a collection of data describing the activities of one or more related organizations DBMS: software designed to assist in.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
CSE323 การวิเคราะห์และออกแบบระบบ (Systems Analysis and Design) Lecture 12: Data Management Design.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1.
1 CENG 351 CENG 351 Introduction to Data Management and File Structures Department of Computer Engineering METU.
1 Database Design Chapter-2- Database System Concepts and Architecture Reference: Prof. Mona Mursi Lecture notes.
1 Lecture1 Introduction to Databases Systems Database 1.
IT 5433 LM1. Learning Objectives Understand key terms in database Explain file processing systems List parts of a database environment Explain types of.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Database Management Systems
Database Database is a large collection of related data that can be stored, generally describes activities of an organization. An organised collection.
Chapter 2 Database Environment Pearson Education © 2009.
Data Base System Lecture : Database Environment
File Systems and Databases
Database Management Systems CSE594
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

Database Design concepts INFO 1408 Lecture 3 What is a database?

Objectives Introduce the three layers of data abstraction Introduce the terms physical and Logical data independence

Towards a definition ……… Take a moment or two to think about how you would define a database. Write down the key words you would use. Describe a database to your neighbour

A typical domestic ‘ database ’ Is this Organised? Efficient? Easily accessible? Flexible? …… good for much other than keeping things off the floor?

Paper based databases Have been around for a long time Data is organised and quickly accessible So is easier to maintain – fewer errors But is not all that flexible – things are filed in one place only (why would it not be a good idea to have duplicates)

A working definition A collection of data items that are treated as a unit – Andy Oppel

Are managed by a We will explore some features of a DBMS …….. Layers of data abstraction Physical data independence Logical data independence Computer based Databases

Some important features of a DBMS Moves data to and from physical data files Manages multiple users Manages transactions as an ‘ all or nothing ’ unit of work Supports a Query Language to retrieve data from the database Manages back ups Provides Security mechanisms

Layers of Data abstraction Allows us to consider User views of the data – which can be different for each user. More about this later in the term This is achieved by thinking of 3 Layers of abstraction

External layer Logical layer Physical layer What the user How the database the data for viewing How the computer’s operating system the data

Database File Database File Database File Database File Database File Internal Schema User View 1 User View 2 User View …. External layer Logical layer Physical layer Physical Data independence Logical Data independence

The Physical layer The data files that actually contain the data Data could be stored over multiple disc drives – by running in parallel (Microsoft is an exception in that everything is stored in one file – this limits the number of concurrent users, this is why it is not used for large enterprises.) The DBMS works with the computer ’ s Operating system (OS) to manage the file storage. The user of the database does not need to know how the DBMS does this. They just ask for the information and the DBMS supplies it. A little like you ordering a meal at a restaurant, it just arrives- you don ’ t know how it was cooked or what the ingredients are.

Database File Database File Database File Database File Database File Internal Schema User View 1 User View 2 User View …. External layer Logical layer Physical layer Physical Data independence Logical Data independence

Logical Layer The logical layer transforms the physical data into a common This structure is the one that the designer would recognise. It covers all the data requirements of all the users. This is what we will be working on when we start to design databases later on. This ‘ abstracted ’ format is known as a Depending on the DBMS data could be formatted as 2 dimensional tables or a hierarchical structure (similar to an organisation chart)

Database File Database File Database File Database File Database File Internal Schema User View 1 User View 2 User View …. External layer Logical layer Physical layer Physical Data independence Logical Data independence

External Layer This is the layer where users with the database and issue queries The DBMS handles the transformation of selected items from the data structures in the logical layer to form each user view These user views can be stored for future use, or may be used only temporarily and then discarded – an query.

When we start to create a database we need to look at each user requirements- These requirements will give us all of the views required Using some methods ( that we will learn) we can create the Internal schema which will organise the data so all user requirements can be met.

Database File Database File Database File Database File Database File Internal Schema User View 1 User View 2 User View …. External layer Logical layer Physical layer Physical Data independence Logical Data independence

Physical Data Independence There can be differing degrees of independence Prior to systems having data independence any change to the way data was stored would require a change to every computer program that used the data – time consuming and expensive

Database File Database File Database File Database File Database File Internal Schema User View 1 User View 2 User View …. External layer Logical layer Physical layer Physical Data independence Logical Data independence

Logical Data Independence The ability to make changes to the logical layer without disrupting existing users and processes Activities such as: Adding a new database object Adding data items to an existing object

What key words would you now use to describe a database to a colleague? Take a moment to jot down the key words

Does your definition include words such as.. efficient organised flexible consistent maintainable data accessible Reliable Error free Robust secure

Summary We have covered the three levels of abstraction Physical and logical data independence.

References Databases Demystified by Andy Oppel (Published By McGraw-Hill, ISBN ) Data Analysis for database Design by David Howe (published by Arnold Second edition.)