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.

Slides:



Advertisements
Similar presentations
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
Advertisements

Introduction to Databases
Database Systems Chapter 1
ITS232 Introduction To Database Management Systems
Chapter 1 File Systems and Databases
File Systems and Databases
Ch1: File Systems and Databases Hachim Haddouti
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
File Systems and Databases Hachim Haddouti
Chapter 1 Database Systems
1 1 File Systems and Databases Chapter 1 The Worlds of Database Systems Prof. Sin-Min Lee Dept. of Computer Science.
Database Systems.
1 1 File Systems and Databases Chapter 1 Prof. Sin-Min Lee Dept. of Computer Science.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Introduction to Database Concepts
Database Systems: Design, Implementation, and Management Ninth Edition
Database Systems Chapter 1
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Database Systems: Design, Implementation, and Management Ninth Edition
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.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Database Design - Lecture 1
DBS201: DBA/DBMS Lecture 13.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Database Systems: Design, Implementation, and Management THIRD EDITION
1 Introduction An organization's survival relies on decisions made by management An organization's survival relies on decisions made by management To make.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
1 CSBP430 – Database Systems Chapter 1: Databases and Database Users Mamoun Awad College of Information Technology United Arab Emirates University
Database Design - Lecture 2
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
8/27/2012ISC 329 Isabelle Bichindaritz1 File Systems Introduction to Databases.
Chapter 1 In-lab Quiz Next week
311: Management Information Systems Database Systems Chapter 3.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Chapter 1 Database Systems
1 1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
1 MIS 304 Winter 2006 Bits, Bytes, File Systems Data Modeling and Databases.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Database Systems DBMS Environment Data Abstraction.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
ITEC 3220A Using and Designing Database Systems
© 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the U.S.
Database Systems Database Systems: Design, Implementation, and Management, Rob and Coronel.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Christopher I. G. Lanclos Chapter 1.
1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Database Principles: Fundamentals of Design, Implementation, and Management Ninth Edition Chapter 1 Database Systems Carlos Coronel, Steven Morris, and.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 1 Chapter 1 Database Systems Database Systems: Design, Implementation, and Management, 7th Edition, Rob and Coronel.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Database Systems: Design, Implementation, and Management Tenth Edition
Chapter 1 The Worlds of Database Systems
Chapter 1 Database Systems
File Systems and Databases
Database Systems Chapter 1
Database Systems: Design, Implementation, and Management
Data Model.
Chapter 1 Database Systems
Chapter 1 Database Systems
DCT 2033 DATABASE MANAGEMENT SYSTEM Chapter 1
Presentation transcript:

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 data u Data management u Database u Metadata u Database management system (DBMS)

1 1 Historical Roots 4Why Study File Systems? u It provides historical perspective. u It teaches lessons to avoid pitfalls of data management. u Its simple characteristics facilitate understanding of the design complexity of a database. u It provides useful knowledge for converting a file system to a database system.

1 1 Figure 1.3 Contents of the CUSTOMER File

1 1 Table 1.1 Basic File Terminology

1 1 Figure 1.4 Contents of the AGENT File

1 1 A Simple File System Figure 1.5

1 1 File System Critique 4File System Data Management u File systems require extensive programming in a third-generation language (3GL). u As the number of files expands, system administration becomes difficult. u Making changes in existing file structures is important and difficult. u Security features to safeguard data are difficult to program and usually omitted. u Difficulty to pool data creates islands of information.

1 1 File System Critique 4Data Redundancy: Uncontrolled data redundancy sets the stage for u Data Inconsistency (lack of data integrity) u Data anomalies l Modification anomalies l Insertion anomalies l Deletion anomalies

1 1 Figure 1.6

1 1 Figure 1.2 The DBMS Manages the Interaction Between the End User and the Database

1 1 Introducing the Database 4Importance of DBMS u It helps make data management more efficient and effective. u Its query language allows quick answers to ad hoc queries. u It provides end users better access to more and better-managed data. u It promotes an integrated view of organization’s operations -- “big picture.” u It reduces the probability of inconsistent data.

1 1 Database Systems 4DBMS Functions 1.Data Dictionary Management 2.Data Storage Management 3.Data Transformation and Presentation 4.Security Management 5.Multi-User Access Control 6.Backup and Recovery Management 7.Data Integrity Management 8.Database Access Languages (DDL and DML) and Application Programming Interfaces 9.Database Communication Interfaces

1 1 Figure 1.7 The Database System Environment Figure 1.7

1 1 Introducing the Database 4Why Database Design Is Important? u A well-designed database facilitates data management and becomes a valuable information generator. u A poorly designed database is a breeding ground for uncontrolled data redundancies. u A poorly designed database generates errors that lead to bad decisions.

1 1 Database Models 4Three Types of Relationships u One-to-many relationships (1:M) l A painter paints many different paintings, but each one of them is painted by only that painter. –PAINTER (1) paints PAINTING (M) u Many-to-many relationships (M:N) l An employee might learn many job skills, and each job skill might be learned by many employees. –EMPLOYEE (M) learns SKILL (N) u One-to-one relationships (1:1) l Each store is managed by a single employee and each store manager (employee) only manages a single store. –EMPLOYEE (1) manages STORE (1)

1 1 Database Models 4Three Types of Database Models u Hierarchical database model u Network database model u Relational database model

1 1 Database Models 4Relational Database Model u Basic Structure l RDBMS allows operations in a human logical environment. l The relational database is perceived as a collection of tables. l Each table consists of a series of row/column intersections. l Tables (or relations) are related to each other by sharing a common entity characteristic. l The relationship type is often shown in a relational schema. l A table yields complete data and structural independence.

1 1 Linking Relational Tables Figure 1.11

1 1 Database Models 4Relational Database Model u Advantages l Structural independence l Improved conceptual simplicity l Easier database design, implementation, management, and use l Ad hoc query capability (SQL) l Powerful database management system u Disadvantages l Substantial hardware and system software overhead l Possibility of poor design and implementation l Potential “islands of information” problems