Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

C6 Databases.
Lecture-7/ T. Nouf Almujally
Introduction to Databases
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Managing Data Resources
File Systems and Databases
7.1 © 2006 by Prentice Hall 7 Chapter Managing Data Resources.
ORGANIZING DATA IN A TRADITIONAL FILE ENVIRONMENT
Organizing Data & Information
Ch1: File Systems and Databases Hachim Haddouti
McGraw-Hill/Irwin Copyright © 2008, The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin Copyright © 2008 The McGraw-Hill Companies, Inc.
File Systems and Databases Hachim Haddouti
Managing data Resources:
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Managing Data Resources
Managing Data Resources
Chapter 8 Managing Data Resources. Chapter 82 Managing Data Resources 8.1 Organizing Data in a Traditional File Environment –An effective information.
SESSION 7 MANAGING DATA DATARESOURCES. File Organization Terms and Concepts Field: Group of words or a complete number Record: Group of related fields.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
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.
7.1 © 2006 by Prentice Hall 7 Chapter Managing Data Resources.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Managing Data Resources
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Data Resource Management.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Introduction to Database Concepts
7.1 Copyright © 2005 Pearson Education Canada Inc. Management Information Systems, Second Canadian Edition Chapter 7: Managing Data Resources MANAGING.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
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.
Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources 7.1 © 2005 by Prentice Hall Managing Data Resources Chapter 7.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
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.
Architecture for a Database System
7.1 © 2004 by Prentice Hall Management Information Systems 8/e Chapter 7 Managing Data Resources 7 7 MANAGING DATA DATARESOURCES Chapter.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Chapter 6.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
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.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
MANAGING DATA DATARESOURCES Chapter. 7.2 File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1)Bit: Smallest unit.
Data Resource Management
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 5 Data Resource Management. 2 I. Why do organizations store data?  Data resources must be structured and organized in some logical manner so.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Data resource management
Managing Data Resources File Organization and databases.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
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.
Managing Data Resources Lecture 5 Managing Data Resources Lecture 5.
DATA RESOURCE MANAGEMENT
Foundations of Business Intelligence: Databases and Information Management.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
3.1 © 2006 by Prentice Hall 1 Chapter Managing Data Resources.
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,
Managing Data Resources File Organization and databases for business information systems.
Data Resource Management
MANAGING DATA RESOURCES
MANAGING DATA RESOURCES
Presentation transcript:

Data Resource Management Lecture 8

Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional file processing a flat file is used to contain records, and in which each record is specified in a single line. Fields from each record may simply have a fixed width Delimited by whitespace, tabs, commas (CSV) or other characters. There are no structural relationships.

Traditional File Processing

Problems with Traditional File Processing Data redundancy Lack of data integration Program-Data dependence Lack of flexibility Poor security Lack of data-sharing and availability

Database Management System A software that permits an organization to centralize data, manage them efficiently, and provide access to the stored data by application programs Act as an interface between application programs and the physical data files DBMS relieves the end user from understanding where and how the data is actually stored DBMS separates logical and physical view of data

Database Management System Logical view presents data as it is perceived by the end user Physical view shows how data is actually organized and structured on the physical storage media DBMS enables organizations to  Reduce data redundancy  Reduce inconsistency  Uncouples program and data  Increase access and availability of information  Centrally manage data and security

Database Management System

Benefits of DBMS Improved strategic use of corporate data Reduced complexity of the organization’s information systems environment Reduced data redundancy and inconsistency Enhanced data integrity Application-data independence Improved security Reduced application development and maintenance costs Improved flexibility of information systems Increased access and availability of data and information Logical & Physical data independence Provides central control on the system through DBA.

Management Requirements for Database Systems

Foundation Data Concepts Fundamental concepts about how data are organized in information systems A conceptual framework of several levels of data, that differentiates between different groupings or elements, of data Data may be logically organized into  Characters  Fields  Records  Files  Databases

Logical data elements in IS Character  Basic logical data element  Character consists of a single alphabetic, numeric or other symbol  Physical storage elements – Bits and bytes Field  Field or data item  Field consists of grouping of related characters  Field represents an attribute of some entity  For example: Employee’s Salary

Entity: Person, place, thing, event about which information is maintained Attribute: Description of a particular entity Key field: Identifier field used to retrieve, update, sort a record

Logical data elements in IS Record  Related fields of data are grouped to form a record  Record represents a collection of attributes that describe an entity Fixed-length  Contain fixed number of fixed-length data fields Variable-length  Contain a variable number of fields and field lengths

Logical data elements in IS File  A group of related records is a data file, or table Database  A database is an integrated collection of logically related data elements  Data stored in database is independent of application programs using it  Database contain data elements describing entities and relationships among them

Logical data elements in IS

Entities and Relationships

Database Structures 1. Hierarchical Structure 2. Network Structure 3. Relational Structure 4. Multidimensional Structure 5. Object-Oriented Structure

1 – Hierarchical DBMS Organizes data in a tree-like structure Structure allows repeating information using parent/child relationships: each parent can have many children but each child only has one parent. Supports one-to-many parent-child relationships All attributes of a specific record are listed under an entity type.

Hierarchical DBMS

2 – Network DBMS The network model is a database model conceived as a flexible way of representing objects and their relationships. The network model allows each record to have multiple parent and child records, forming a net structure. This model allows more natural modeling of relationships between entities. Although the model was widely implemented and used, it failed to become dominant as it was eventually displaced by the relational model, which offered a higher-level, more declarative interface.

Network DBMS Depicts data logically as many-to-many relationships Data can be accessed by one of several paths because any data element or record can be related to any number of other data elements

Hierarchical & Network DBMS Disadvantages  Outdated  Less flexible compared to RDBMS  Lack support for ad-hoc and English language-like queries

3 – Relational Structure All data elements within the database are viewed as being stored in the form of simple tables Represents data as two-dimensional tables called relations Relates data across tables based on common data element Relation is described as a table

Relational Structure Table  Relation Row  Tuple Column  Attribute

Examples Customer(Customer ID, Tax ID, Name, Address, City, State, Zip, Phone) Order(Order No, Customer ID, Invoice No, Date Placed, Date Promised, Terms, Status) Order Line(Order No, Order Line No, Product Code, Qty) Invoice(Invoice No, Customer ID, Order No, Date, Status) Invoice Line(Invoice No, Line No, Product Code, Qty Shipped) Product(Product Code, Product Description)

Relational Data Model

Three basic operations in Relational Database Select Creates subset of rows that meet specific criteria Join Combines relational tables to provide users with information Project Enables users to create new tables containing only relevant information

Three basic operations in Relational Database

4 – Multidimensional Data Model Multidimensional databases combine data from a multitude of data sources. Multi-dimensional databases are especially useful in sales and marketing applications that involve time series. Large volumes of sales and inventory data can be stored to ultimately be used for logistics and executive planning. For example, data can be more readily segregated by sales region, product, or time period. The data cube is a conceptual representation of database which can be implemented in a variety of ways, including top-down, bottom-up, and arrays.

Multidimensional Data Model

5 – Object-Oriented Databases In an object database (also object oriented database), information is represented in the form of objects as used in object-oriented programming. When database capabilities are combined with object programming language capabilities, the result is an object database management system (ODBMS). An ODBMS makes database objects appear as programming language objects in one or more object programming languages.

Object-Oriented Databases Object-oriented DBMS: Stores data and procedures as objects that can be retrieved and shared automatically Object-relational DBMS: Provides capabilities of both object-oriented and relational DBMS

Object-Oriented Databases Can accommodate more complex data types including graphics, pictures, voice and text Encapsulation – data values and operations that can be performed on them are stored as a unit Inheritance – automatically creating new objects by replicating some or all of the characteristics of one or more existing objects

Object-Relational DBMS An object-relational database (ORD) or object-relational database management system (ORDBMS) is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritance In addition, it supports extension of the data model with custom data-types and methods.

Evaluation of Database Structures Hierarchical data structure is best for structured, routine types of transaction processing. Network data structure is best when many-to- many relationships are needed. Relational data structure is best when ad hoc reporting is required.

SQL Commands

Basic SQL Commands SELECT: Specifies columns FROM: Identifies tables or views WHERE: Specifies conditions

Select Statement

Conditional Selection

Projection & Join Statement

Management Information Systems, 7th Edition, James A. O’Brien, George M. Marakas. Chapter 5 References