Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

C6 Databases.
Lecture-7/ T. Nouf Almujally
The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Introduction to Databases
Management Information Systems, Sixth Edition
Chapter 3 Database Management
Database Management: Getting Data Together Chapter 14.
Organizing Data & Information
Data Management I DBMS Relational Systems. Overview u Introduction u DBMS –components –types u Relational Model –characteristics –implementation u Physical.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Attribute databases. GIS Definition Diagram Output Query Results.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Database Management COP4540, SCS, FIU An Introduction to database system.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Fundamentals of Information Systems, Fifth Edition
Database System Concepts and Architecture Lecture # 3 22 June 2012 National University of Computer and Emerging Sciences.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
The University of Akron Dept of Business Technology Computer Information Systems Intro to Database Management 2440: 180 Database Concepts Instructor: Enoch.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives The database approach to data management provides significant advantages.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Intro to MIS – MGS351 Databases and Data Warehouses Chapter 3.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Web-Enabled Decision Support Systems
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
1 Information Systems, Ninth Edition Chapter 5 Database Systems and Business Intelligence.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 7 Information System Data Management.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
McGraw-Hill/Irwin ©2008,The McGraw-Hill Companies, All Rights Reserved Chapter 5 Data Resource Management.
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.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
Foundations of Business Intelligence: Databases and Information Management.
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
Foundations of information systems : BIS 1202 Lecture 4: Database Systems and Business Intelligence.
2 Information Systems Chapter 5 Database Systems and Business Intelligence.
McGraw-Hill/Irwin ©2008,The McGraw-Hill Companies, All Rights Reserved Chapter 5 Data Resource Management.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Intro to MIS – MGS351 Databases and Data Warehouses
Fundamentals of Information Systems, Sixth Edition
Fundamentals & Ethics of Information Systems IS 201
Fundamentals of Information Systems
Databases and Data Warehouses Chapter 3
MANAGING DATA RESOURCES
MANAGING DATA RESOURCES
Presentation transcript:

Data Structure & File Systems Hun Myoung Park, Ph.D., Public Management and Policy Analysis Program Graduate School of International Relations International University of Japan

Outline  Traditional Data Approach  Database Approach  Database Schema  External Schema  Conceptual Schema  Internal Schema  Relational Database  Relations and Primary Key  Database Management Systems 2

Traditional Data Approach 1  One program/application/system and its own data sets  Program-data dependency; data are tightly tied to a program.  Program A  Data file a; Program B may not access data fie a that is specific to A.  Department C  Master data file c; Department D may not use master data file c 3

Traditional Data Approach 2  Data redundancy (duplication of data)  Lack of data integrity (accurate, consistent, and up to date)  Limited data sharing  Lack of standardization in data structure and access  Time consuming and costly development and maintenance 4

Database Approach  A data set shared by many programs and systems  Program-data independence  Minimize data redundancy  Data integrity (consistency)  Data sharing and standardization  More complex and expensive  More risk in database management 5

Database Applications  Distributed databases  Objective-oriented databases  Data warehousing  Online transaction processing (OLTP)  Online analytical processing (OLAP)  Data mining, business intelligence (BI) 6

Database Management  Failure in database results in big loss  Data center and data grid (Indiana Univ.)  Database administrator (DBA)  Database management systems (DBMS)  Protect from natural disaster, misuse, or illegal access (inside and outside) 7

Types of Databases  Hierarchical database: tree structure, Root- parent-child levels records, one-to-many relationship  Network database: each child record can have more than on parent record.  Relational database: key field (identifier) to link tables (relations)  Object-oriented databases: objects (data and methods) 8

Database Schema

 Views of database structure (e.g., tables, views, procedures, functions)  Described by a formal language in DBMS (data dictionary). 10

Types of Database Schema  Degrees of data abstraction  External schema: Users’ view  Conceptual schema: HW/SW independent  Internal schema: HW independent, SW dependent)  Physical schema: HW/SW dependent 11

12

External Schema  External schema describes (end) users’ view of databases  Represents a subset of the database  Multiple external schemas can exist depending on applications  Ensure data security by limiting data access to the subset of a database 13

Conceptual Schema  Conceptual schema describes a global views of the entire database  Integrate all external views  Basic blueprint of a database  Only one conceptual schema  ER-diagram represents this schema  Software/hardware independence 14

Internal Schema  Internal schema is a representation of conceptual schema from a specific DBMS’ view (not users’ view).  Hardware independent but software dependent.  Logical independent if a internal schema is changeable without touching its corresponding conceptual schema 15

Physical Schema  Physical schema describes how data are actually stored on storage unit.  Dependent on DBMS, methods of accessing files, types of hardware storage units, etc.  Physical independent if a physical schema (model) is changeable without touching its corresponding internal schema (model) 16

Relational Database

Relational Database 1  A collection of tables.  A table (relation) consists of records each of which consists of a list of related fields  Each table is related to other tables using keys (primary and secondary keys 18

Relational Database 2 19

Relational Database 3  Table, relation, file, or object (entity set)  Record, tuple, entity (instance or occurrence), or row  Field, attribute, or columns. 20

Relational Database 4  Bit  Byte   Field (dot)   Record (line or 1 st dimension)   Table (plane or 2 nd dimension)   Database (cubic or 3 rd dimension)   Data Warehousing 21

Attribute Types 1  Character (string)  Variable character  Integer (tiny, small): 1-2 bytes  Long integer  Float (decimal) 4 bytes  Double precession: 8 bytes  Numbers is preferred in terms of efficiency 22

Attribute Types 2  Date/time  Logical or boolean (binary)  Text (memo)  Image/video/audio  Object, etc 23

Variable Properties  Length of an attribute is determined by types of data, and maximum length of data & systems.  Allowable values and ranges (picture clause) are considered to improve data quality and integrity 24

Relations and Primary Key

Relations  Joining combines two or more tables (relations) 26

Primary Key  Primary key consists of one of more attributes whose values uniquely identify a record in a table.  To identify a unique record  No duplicate is allowed.  Secondary key 27

Linking Tables Using Keys 28

Joining Types 1  Joining combines two or more tables (relations)  Inner (intersection of left and right tables)  Outer join (union of left and right)  Left (outer) join (first table as a reference)  Right (outer) join (second as reference) 29

Joining Types 2  Left outer join: Include all entities in the left table and entities in the right table matched to any entity in the left table.  When the left table has A and B and the right contains A and C, the left outer join produce A, matched A (data items from the right table), and B excluding C  Right outer join is the opposite to left outer join (reference table is switched) 30

Database Management Systems

DB Management System  Database management system (DBMS)  Controls the structure of a database and access to the data.  Relational DBMS (RDBMS)  Object-oriented DBMS (OODBMS) 33

DBMS Components 1  Data dictionary descries the structure of data in databases such as name, type, length, access control.  Utilities to create, modify, delete tables, records, and fields.  Report generator  Access security, and system recovery 34

DBMS Components 2  Query languages manipulate databases  Structured query language (SQL) 35

DBMS Server  Oracle  DB2 (IBM)  SQL Server (Microsoft)  ASE (Adaptive Server Enterprise) and IQ (Sybase  SAP)  Informix (Informix  IBM)  Teradata (Teradata Co.)  Open source: MySql, PostgreSQL 36

DBMS Client  dBase III (+), IV (Ashton Tate  Borland)  Clipper (programming language and compiler for dBase III) (Nantucket Co.)  FoxBase (+), FoxPro, Visual FoxPro (Fox Software  Microsoft’s Visual Studio)  Paradox (Corel ’ s WordPerfect Office)  Access (Microsoft’s Office Suite) with z- engine 38

DBMS Service  Database as a Service (DaaS) 39

Considerations  Data dictionary and E-R modeling  Attributes for the public sector  Performance measures  Data security: minimize use of private information when designing conceptual schemas, each department and application has its own schemas  Database administrator’s role in ensuring security in response to evolving threats. 40