Chapter Eight Managing Data Resources File Organization and Concepts.

Slides:



Advertisements
Similar presentations
C6 Databases.
Advertisements

Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
Lecture-7/ T. Nouf Almujally
Management Information Systems, Sixth Edition
Relational Databases Chapter 4.
Managing Data Resources
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Database Management: Getting Data Together Chapter 14.
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.
Introduction to Database Management
Chapter 8 Managing Data Resources. Chapter 82 Managing Data Resources 8.1 Organizing Data in a Traditional File Environment –An effective information.
Information Technology in Organizations
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Databases and Database Management Systems
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.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Managing Data Resources
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
1 California State University, Fullerton Chapter 7 Information System Data Management.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Jerry Post Copyright © Database Management Systems Chapter 1 Introduction.
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
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
311: Management Information Systems Database Systems Chapter 3.
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.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Storing Organizational Information - Databases
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
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.
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Department of Industrial Engineering Sharif University of Technology Session# 9.
Foundations of Business Intelligence: Databases and Information Management.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Chapter 6.  Problems of managing Data Resources in a Traditional File Environment  Effective IS provides user with Accurate, timely and relevant information.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
6.1 FILE ORGANIZATION BIT: Binary Digit (0,1; Y,N; On,Off)BIT: Binary Digit (0,1; Y,N; On,Off) BYTE: Combination of BITS which represent a CHARACTERBYTE:
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” MODULE 5 : Part 1 INTRODUCTION TO DATABASE.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Managing Data Resources File Organization and databases for business information systems.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Chapter 4 Relational Databases
Databases and Information Management
Basic Concepts in Data Management
MANAGING DATA RESOURCES
Managing data Resources:
Managing data Resources:
Databases and Information Management
DATABASE TECHNOLOGIES
Presentation transcript:

Chapter Eight Managing Data Resources

File Organization and Concepts

File Organization Terms Field - a grouping a characters into a word, a group of words, or a complete number, such as a person’s name and age. (Key field - uniquely identifies) Record - A group of related fields. File - a group of records of the same type Entity -a person, place,thing, or event about which information must be kept Attribute - A piece of information describing a particular entity.

Illustration of a Record

Accessing Records from Computer Files Sequential File Organization –a method of storing data records in which the records must be retrieved in the same physical sequence in which they are stored Direct/Random File Organization –a method of storing data records in a file so that they can be accessed in any sequence without regard to their actual physical order on the storage media

Data Access Methods Indexed Sequential Access Method –a file access method to directly access records organized sequentially using an index of key fields Direct File Access Method- –a method of accessing records by mathematically transforming the key fields into specific addresses for the records Transform Algorithm –a mathematical formula used to translate a record’s key field directly into the record’s direct physical storage location

Indexed Sequential Access Method

Direct File Access Method Basically uses an algorithm within a disk stack to access the record Example - File Size records –take the prime number closet to the max number of records (in this case 997), divide the key field number by this prime number and the remainder is the address location number.

A Disk Stack Access mechanism 10 Access arms 11 disks Tracks 20 Read/write heads 20 Tracks

Track number Read/write head number Record number A DASD Address

Traditional File Environment A way of collecting and maintaining data in an organization that leads to each functional area or division creating its own data files and programs. Can be either flat or data approached. Problems with TFE –data redundancy, program data dependence, inflexibility, poor data security, inability to share

SALES NO NAME ADAMS WINKLER HOUSE FRANCIS WILLIS GROVETON SALES NO TERR An Example of Two Flat Files Table ATable B

Problems with TFE Explained Data Redundancy –presence of duplicate data in multiple data files Program-Data Dependence –the close relationship between data and programs. Any update in the data requires a format change within the software (ZIP/AREA CODE ex) Inflexibility - cannot produce custom reports Security - with little control of data, hard to control access Data sharing - with data in many places hard to share b/c you do not know where it is

The Database Concept Database definition An integrated collection of computer data, organized and stored in a manner that facilitates easy retrieval. Data independence -- keep data specifications separate from programs, in tables and indexes

Database Management System(DBMS) The special software to create and maintain a database and enable individual business applications to extract the data they need without having to create separate files or data definitions in their computer programs –a DBMS has three components –a data definition language –a data manipulation language –a data dictionary

Hierarchical Database Custormers KathyCindyDebra Dog food Cat food Bird food Dog food Bird food.. Customer Order

Network Database Custormers KathyCindyDebra Dog food Cat food Bird food Dog food Bird food.. Customer Order Dog Food

Relational Database Table format Easy access (query) Customer(CustomerID, Name, OrderID,…) Order(OrderID, CustomerID, OrderDate,…) ItemsOrdered(OrderID, ItemID, Quantity) Customer CustomerID Name.. Order OrderID.. … ItemsOrdered OrderID..

Database Differences

Design a database Sally’s Pet Store Supplier Employee CustomerSale Animal

The Pet store’s Database Name AnimalID Category Breed Dateborn Gender Color Cathy 123 Bird Lovebird 6/5/98 Male Yellow Terry 353 dog Canary 7/1/97 Female Red Sandy 345 dog African 8/5/98 Male Yellow Charles 232 Bird Parrot 4/6/99 Male Yellow Ruby 565 dog Other 6/4/99 Male Yellow Curtis 675 cat Grey 8/5/98 Male Grey Employee Name Soc.Sec.No Address Salary AnimalID Daniel ….. $ ……… ……… …… Animal

Structural Query Language (SQL) SELECT columns Which property do you want ? FROM tables What tables are involved? JOIN conditions How are the table joined? WHERE criteria What are the constraints? Four basic commands: SELECT AnimalID, Category, Dateborn FROM Animal WHERE ((Category=“Dog”) AND (Dateborn>#6/1/98#));

Query Resulting table: AnimalID Category Dateborn 345 dog 8/5/ dog 6/4/99 SELECT Name, AnimalID, Salary FROM Employee WHERE (AnimalID=#123#)

SQL(2) List all birds who are male or who are born before 6/1/98 and have red in their color SELECT AnimalID, Category, Gender, Dateborn, Color FROM Animal WHERE (((Category=“Bird”) AND (Gender=“Male”)) OR ((Dateborn<#6/1/98#) AND (Color Like “*Red*”)))

Back to Database Design The main idea is to separate all the 1 to many relationships. –Look at page 243, or to your access quiz for examples Each table holds specific information that is tied to the other tables through ‘keys’ and relationships this process is referred to as normalization

Normalization Why? –To prevent anomalies - occurrences in the database that result from inefficient database structure. They also cause harmful events that can change or erase data. There are three types of anomalies –insertion –deletion –modification

Insertion anomalies Refers to the inability to add data to the database because the tables are not referenced correctly. This is to say if we want to add a new element we would have to add to numerous tables, and failure to do so would cause inconsistent data.ex. The inability to enter a new employee w/o adding in multiple tables.

Deletion Anomalies This is the opposite of the insertion anomaly. When items are not referenced correctly we can lose information. Ex. We have an employee database that does not have a separate department database, if we delete that employee we will lose that dept. info.

Modification Anomalies This occurs when you can change the value of one of the attributes (columns) of a dept, but that data is not changed throughout the database, unless we go in and manually change each table.

Other Database Concepts Databases on the web –technology makes this really easy to do –the gsc examplethe gsc example –makes for more efficient transfer of data as well as collection, with db security we can have EDI which is the underlying foundation of Electronic Commerce –related to Online Analytical Processing (OLAP) see book for example

Mgmt Requirements for DB Systems Data administration- this is the definition of information requirements and access –usually formulated into a information policy Data Planning and modeling - the actual database formation process, what are ‘keys’, attributes, and relationships database administration users- the idea of making your database useable by all employees, plus support

Database Administration Defines and organizes database structure and content develops security procedures to safeguard the database develops database documentation maintains the database mgmt. software

Other terms to look up and know Distributed database data warehouse datamart