C By Hollander, Denna, Cherrington PowerPoint slides by: Bruce W. MacLean, Faculty of Management, Dalhousie University Accounting, Information Technology,

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Chapter 10: Designing Databases
Chapter 12 File Processing and Data Management Concepts
C6 Databases.
Management Information Systems, Sixth Edition
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Chapter 3 Database Management
Database Management: Getting Data Together Chapter 14.
Organizing Data & Information
Ch1: File Systems and Databases Hachim Haddouti
Introduction to Databases Transparencies
Recording / Financing Fixed Asset Acquisition Human Resources Purchasing Revenue Traditional files approach: separate systems (Legacy Systems) Expenditure.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
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.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
LECTURE 2 DATABASE SYSTEM CONCEPTS AND ARCHITECTURE.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Data and Database Management System (DBS).  Computer processing involves two components: data and instructions (program). Data used by programming instructions.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Chapter 6: Foundations of Business Intelligence - Databases and Information Management Dr. Andrew P. Ciganek, Ph.D.
Database Management Systems Accounting Information Systems, 5 th edition James A. Hall COPYRIGHT © 2007 Thomson South-Western, a part of The Thomson Corporation.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
311: Management Information Systems Database Systems Chapter 3.
© 2007 by Prentice Hall 1 Introduction to databases.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
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
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved CHAPTER 6 DATABASES AND DATA WAREHOUSES CHAPTER 6 DATABASES AND DATA WAREHOUSES.
1 Database Systems Instructor: Nasir Minhas Assistant Professor UIIT PMAS-AAUR
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005.
ASET 1 Amity School of Engineering & Technology B. Tech. (CSE/IT), III Semester Database Management Systems Jitendra Rajpurohit.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
Database Concepts and Applications in HRIS
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Rationale Databases are an integral part of an organization. Aspiring Database Developers should be able to efficiently design and implement databases.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Introduction To DBMS.
Fundamentals & Ethics of Information Systems IS 201
Introduction to Information Technology
Chapter 4 Relational Databases
Databases and Information Management
Basic Concepts in Data Management
MANAGING DATA RESOURCES
MANAGING DATA RESOURCES
Database Design Hacettepe University
The ultimate in data organization
Presentation transcript:

C By Hollander, Denna, Cherrington PowerPoint slides by: Bruce W. MacLean, Faculty of Management, Dalhousie University Accounting, Information Technology, and Business Solutions, 2nd Edition Irwin/McGraw-Hill  The McGraw-Hill Companies, Inc., 2000 Date and Database Management Systems (DBMS) Supplement C

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Sample Flat File - Student Physics 101Assignments Last Name, First nameID # MajorYear#1#2#3#4#5 Einstein, Albert123456BigalPhys192 Copernicus234567CoperMath355 Galileo345678GaliArt237 Hawking, Stephen456789HSteveCS484 Calvin567891HobbesPhys510

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Supplement C: Objectives n Describe the difference between file-oriented and database environments. n Describe what a DBMS is. n Identify various types of DBMS software. n Describe common features of a DBMS. n Describe how DBMSs are used.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill File Versus Database Environments n Computer processing involves two components: data and instructions (programs). n Conceptually, there are two methods for designing the interface between program instructions and data. ä File-oriented processing A specific data file was created for each application. ä Data-oriented processing. Create a single data repository to support numerous applications. n Disadvantages of file-oriented processing include redundant data and programs and varying formats for storing the redundant data. n The format for similar fields may vary because the programmer used inconsistent field formats.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Comparison of File Structures  Mailing list: Customer Number, Customer Name, Customer Address...  Order file: Order Number, Date, Customer Number, Customer Name, Customer Address, Inventory Items Ordered, Quantities Ordered..  Shipment file: Date, Shipment Number, Order Number, Customer Number, Customer Name, Customer Address, Inventory Items Ordered, Items Shipped...  Customer items: Customer Number, Customer Name, and Customer Address.  Order items: Order Date, Order Number, Inventory Ordered, Quantities Ordered, and Customer Number.  Shipment items: Shipment Date, Shipment Number, Order Number, Customer Number, Items Shipped, and Balance Due for Shipment. File OrientedData Oriented Redundant Items in Yellow

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill What is a Database Management System (DBMS) n A DBMS is the resource available to define and manage data structures in an information system. n DBMS software was originally developed to simplify and enhance the value of an organization’s data by reducing data and programming redundancy, inconsistent data formats, and data inconsistencies. n A DBMS environment allows the development and maintenance of a data repository that is independent from application programs. n Such flexibility enables database users to create and maintain IT applications that capture, maintain, and report data while shielding application developers from the physical structure and maintenance of the data repository.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Tree or hierarchical Network Relational Object oriented Types of DBMS Software Data DBMS Application A Application B

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Hierarchical Logical Structures n Hierarchical databases (also called tree databases) organize and search data using the structure of a family tree. n Each record of the hierarchical structure may have multiple “child” records that are subordinate to it. See next Slide n Choosing which records are superior and which records are subordinate depends in part on storage efficiency as well as on the quantity and types of queries you anticipate. n Because the hierarchical structure can model only 1:1 and 1:* maximum cardinalities, this restricts the usefulness of the hierarchical database structure. n Hierarchical structures are commonly used to organize accounting data when a chart of account structure is used.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Course Record Student Record COURSE RECORD STUDENT RECORD CourseSectionTeacherRoomTime Acc1Calvin340MW 1pm Student #Last NameFirst NameMajorGrade 12345SmithBobHistoryB 23456SandersShellyMathA 34567SamsonJenniferCSC COURSE RECORD CS1Hobbes205TTh 2pm 12345SmithBobHistoryB 45678FisherMaryCSA LincolnPerryMathA Sample Tree Structure

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Accounting Data in a Tree Structure Current Assets Property, Plant, and Equipement Assets Current Liabilities Long-term Liabilities Liabilities Revenue Expenses Equity FINANCIAL STATEMENTS

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Network Logical Structure n The network structure allows any number of superior records to be related to any number of subordinates (and vice versa). n The distinction between parent and child records is eliminated. n Using a network structure, Student records could be subordinate to Course, and Course records could be subordinate to Student records at the same time. n Network DBMS software is fairly complex because you must know the physical structure of the data to be able to search the database.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Relational Logical Structure n Relational databases organize and store data in two ‑ dimensional tables consisting of rows and columns. n The table is arranged in columns, which are called attributes, or domains, and rows, which are called records or tuples. n Each row of information in a table is called an instance. n One of the table fields is a unique identifier field (the key attribute or primary key). Normally, each table contains: ä Data items about a particular group of people, resources, locations, or business activity type. – Putting only data items about a particular entity of object into a data table is known as normalization. A table is in normal form if it only contains items that describe the main theme or focus of the table (e.g., customers, sales orders, or inventory) plus any fields needed to link the table with other tables. –Data items (usually key attributes) that are used to combine or link tables.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Advantages of the Relational Approach n The relational approach to designing databases allows more flexibility. n By introducing some limited duplication into the data pool, users are able to create relationships and logical structures ad hoc, rather than having to predefine relationships as the database is created. n A change in the database does not require rewriting all the application program codes. n Like the network model, relational databases can incorporate all of the types of maximum relationship cardinalities. n Rather than physically linking data, relational models make use of logical tables to model structures. Relationships among tables are represented by common data values in the tables. n The power of relational DBMS software is the ability to maintain several tables of related information that can be accessed by several different information customers in many different ways n One of the great advantages of the relational structure is its ability to simplify the organization of complex sets of data.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Object Oriented Structure n Objects contain both data as well as methods (i.e., instructions for processing the data). n The major advantage of object oriented (OO) structures is their increased flexibility to represent very complex data structures that capture the essence of complex objects existing in reality. n Using object technology, programmers can model and implement complex data types such as voice, video, audio, etc. n Although OO has several conceptual advantages over the other structures, it is much more computationally demanding than even the pure relational structure. n Today, there are a limited number of pure object oriented database applications in use. n However, as technology improves, the frequency of object oriented applications will increase.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Other Features of a DBMS n Data Definition Commands which are used to set up the data structures and define user data views of the data—these are known as logical views or schemas; n Data Manipulation Commands which are used to add, delete, and update data in the structures; n Forms Generators which are used to design the format and look of desired screens and forms n Report Generators that are used to define the format and look of desired output. n DBMS environments provide management and security features. n Data Query Commands which help users ask questions about the data; ä Popular data query tools include QBE (query by example) and SQL (structured query language). Using QBE, a grid or replica of an empty record is displayed and the user types search criteria in the applicable columns. ä SQL, on the other hand, is an actual program language that you can use to directly interact with data, or you can embed SQL commands in programs that access and process data.; and

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill DBMS (and File) Documentation n The database generally consists of many files and each file contains many records. n Each event represents one record. n Within each record there are many fields of data called data items, with each data item representing one attribute about the entity. n A record layout details the record structure, including record field names, the width of each field, and the type of data stored in each field (e.g., numeric, alphanumeric, or date). n Since database data items are shared by numerous applications, database documentation, called data dictionaries, document data item, rather than record level detail.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill File Structure Relationships Database File Record #1 Record #2 Record #3 Record Layout Sale # Register #Customer # Employee # Fields

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill DBMS Analysis and Design n Much of the work to develop a database and the programs associated with it is completed during the analysis, planning, and design stages of a system. n A central objective in analyzing and designing the database is to identify the set of data needed to document business activities (e.g., financing, selling, purchasing, or marketing) and provide information about parties (e.g., customers, vendors, or employees) and resources (e.g., cash, services, or inventory) involved in the business activities.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill DBMS Analysis and Design n Architecture plans include an overview of such DBMS components as:  the specific data items and structures needed,  the attributes of each data item,  the primary identifier for each data structure,  a method for linking related data items and structures (which requires an understanding of data/object relationships),  needed business and information controls,  needed help screens and help functions,  input/output screens, report formats, queries, and documents, and  computer instructions needed to perform recording, maintenance, and reporting tasks.

 The McGraw-Hill Companies, Inc., 2000 Irwin/McGraw-Hill Data Warehouses n Data warehouses contain data from operational databases, as well as data from external sources. n The objective is to capture and make available the knowledge and information critical for analysis and decision making n The data are combined and duplicate, invalid, and unneeded data is removed. n The data are aggregated (i.e., summarized) and organized by dimension and/or subject area. n Data warehouses provide summary data as of a certain point in time. n Data warehouse users can mine the data and “slice and dice” it to generate desired outputs. n Users are sending a signal that they need enterprise- wide information views of an organization to support all levels of analysis and decision making.

Features of DBMS Software Data Definition Commands used to set up the data structures and define user data views -- known as logical views or schemes Data Manipulation Commands used to add, delete, and update data in the structures Security features Forms Generators used to design the format and look of desired screens and forms Report Generators used to define the format and look of desired output. Data Query Commands help users ask questions about the data