I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.

Slides:



Advertisements
Similar presentations
Introduction to Databases
Advertisements

Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Management Information Systems, Sixth Edition
Relational Databases Chapter 4.
Managing Data Resources
Database and Data Warehouse
File Systems and Databases
Organizing Data & Information
Ch1: File Systems and Databases Hachim Haddouti
File Systems and Databases Hachim Haddouti
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Information Technology in Organizations
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
MSIS 110: Introduction to Computers; Instructor: S. Mathiyalakan1 Organizing Data and Information Chapter 5.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 1 Introduction to Databases
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management COP4540, SCS, FIU An Introduction to database system.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Week 1 Lecture MSCD 600 Database Architecture Samuel ConnSamuel Conn, Asst. Professor Suggestions for using the Lecture Slides.
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)
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Management Information Systems By Effy Oz & Andy Jones
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:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
311: Management Information Systems Database Systems Chapter 3.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-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.
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.
Database and Data Warehouse
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Copyright (c) 2014 Pearson Education, Inc. Introduction to DBMS.
Principles of Information Systems, Sixth Edition Organizing Data and Information Chapter 5.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
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.
Database Management:.
Chapter 4 Relational Databases
Basic Concepts in Data Management
MANAGING DATA RESOURCES
Chapter 1 Database Systems
File Systems and Databases
MANAGING DATA RESOURCES
Chapter 1 Database Systems
Chapter 17 Designing Databases
DATABASE TECHNOLOGIES
Presentation transcript:

I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE TECHNOLOGIES

Copyright © 2005 Prentice Hall, Inc. 4-2 Basic Concepts in Data Management Field –Individual piece of data –Made up of one or more bytes, or characters –Examples: name, address, phone number Record –Fields that are grouped together for a specific purpose Primary key –A field, or group of fields, that uniquely identifies an individual record –Student id number for records describing students

Copyright © 2005 Prentice Hall, Inc. 4-3 More Basic Concepts Businesses group paper forms into a file Database systems equivalent of this is called a table Files of paper forms are stored in a file cabinet Computer equivalent of the file cabinet is a database

Copyright © 2005 Prentice Hall, Inc. 4-4

Copyright © 2005 Prentice Hall, Inc. 4-5 File Systems One of the simplest ways to store data Stores together groups of records together used by a particular software application Simple but with a cost –Inability to share data –Inadequate security –Difficulties in maintenance and expansion –Allows data duplication (e.g. redundancy)

Copyright © 2005 Prentice Hall, Inc. 4-6 File System Anomalies Insertion anomaly –Data needs to be entered more than once when the data is located in multiple file systems Modification anomaly –Redundant data in separate file systems becomes inconsistent Deletion anomaly –Failure to simultaneously delete all copies of redundant data Anomalies are BAD!

Copyright © 2005 Prentice Hall, Inc. 4-7 Database Defined A set of logically related data stored in a shared repository Software that creates and manipulates data is a database management system (DBMS)

Copyright © 2005 Prentice Hall, Inc. 4-8 DBMS Functions Manage stored data Transform data into information –Transforms the way data is physically stored into whatever logical view of the data that the user chooses –Hides the physical details of how the data is actually stored Provide security –DBMSs control who can add, view, change, or delete data in the database

Copyright © 2005 Prentice Hall, Inc. 4-9 More DBMS Functions Allow multiuser access –Controls concurrency of access to data –Prevents one user from accessing data that has not been completely updated When selling tickets online, Ticketmaster allows you to hold a ticket for only 2 minutes to make your purchase decision, then the ticket is released to sell to someone else – that is concurrency control

Copyright © 2005 Prentice Hall, Inc More DBMS Functions (Continued) Programming and Query Language Ability –Data Definition Language (DDL) to define and modify the structure of the data (physical and logical views) –Data Manipulation Language (DML) to allow the users to enter, modify, delete, and retrieve data from the database Provide a Data Dictionary –Metadata – data about data –Data dictionary contains metadata – data about the characteristics of databases controlled by the DBMS

Copyright © 2005 Prentice Hall, Inc Types of DBMSs Desktop –Use by individuals or small groups –Requires little or no formal training –Does not have all the capabilities of larger DBMSs

Copyright © 2005 Prentice Hall, Inc Types of DBMSs (Continued) Enterprise –Serve multiple locations and store large amounts of data –Either centralized or distributed Centralized – all data on one server –Easy to maintain –Prone to run slowly when many simultaneous users –No access if the one server goes down Distributed – each location has part of the database –Very complex database administration –Usually faster than centralized –If one server crashes, others can still continue to operate.

Copyright © 2005 Prentice Hall, Inc. 4-13

Copyright © 2005 Prentice Hall, Inc Database Models Database model – a representation of the relationship between structures in a database Four common database models –Flat file model –Hierarchical, or tree structure, model –Network model –Relational model (this one is the most common)

Copyright © 2005 Prentice Hall, Inc Flat File Database: Address Book

Copyright © 2005 Prentice Hall, Inc Relational Model Flexible and relatively simple to use Somewhat slower than hierarchical and network DBMSs Uses controlled redundancy to create fields that provide linkage relationships between tables in the database –These fields are called foreign keys – the secret to a relational database –A foreign key is a field, or group of fields, in one table that is the primary key of another table

Copyright © 2005 Prentice Hall, Inc. 4-17

Copyright © 2005 Prentice Hall, Inc SQL Structured Query Language (SQL) –Standard DDL and DML for a relational database –Used for Creating tables Deleting tables Add, change, delete, and retrieve data –Although there is an ANSI standard specification for SQL, most vendors provide their own variety

Copyright © 2005 Prentice Hall, Inc Database Development Process 1)Analysis – Develop a clear understanding of how the organization works and what data is used

Copyright © 2005 Prentice Hall, Inc. 4-20

Copyright © 2005 Prentice Hall, Inc Database Development Process (Continued) 2)Develop a conceptual model – Show how data are grouped together and related to each other Entity-Relationship diagrams (ERDs) are used to record the conceptual model Less expensive to correct an ERD than to redesign an already constructed database

Copyright © 2005 Prentice Hall, Inc E-R Diagram Example

Copyright © 2005 Prentice Hall, Inc Database Development Process (Continued) 3)Develop a physical model – Physical model provides specific details about each table and field in the database Normalization used to remove redundant data and therefore minimize any anomalies Optimize the database for performance

Copyright © 2005 Prentice Hall, Inc Database Development Process (Continued) 4)Database implementation Install the DBMS software Build the database Test

Copyright © 2005 Prentice Hall, Inc Database Development Process (Continued) 5)Database administration Ensures database efficiency Manages backup and restoration Sets up user accounts and security

Copyright © 2005 Prentice Hall, Inc Databases for Decision Making Data warehouse –Database that is Subject-oriented – data organized around subjects Integrated – contains ALL data about the subject Time-variant – data contains a time component –Transactional databases are accurate at a given time –Data warehouse contains the same data over multiple time periods e.g. a student data warehouse would contain data on what students were registered in which classes for every term covered by the data warehouse Nonvolatile –The data is not updated, changed, or deleted Optimized for querying and reporting NOT a transactional database

Copyright © 2005 Prentice Hall, Inc Data Mining Process of applying analytical and statistical methods to data to find patterns Retailers use data mining to determine purchasing patterns Pro football teams use data mining to scout the opposition

Copyright © 2005 Prentice Hall, Inc Advanced Database Models Object-Oriented Data Model (OODM) –Object class has relationships defined as well as attributes –OODM provides inheritance to subclasses just as in OOP Hypermedia Databases –Any item (called a node) linked to any other item –No pre-specified relationships between nodes –WWW is an example of a hypermedia database

Copyright © 2005 Prentice Hall, Inc Learning Goals Summary In this chapter you have learned: How organizations use data and information The basic concepts of data management Characteristics of file systems and their problems The definitions of DBMSs and DBMS functions How the relational database model works How databases are developed How organizations can use data warehousing and data mining for decision making The advanced database models and when their use is appropriate