1 DATABASE TECHNOLOGIES BUS3500 - Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

C6 Databases.
Introduction to Databases
Prentice Hall, Database Systems Week 1 Introduction By Zekrullah Popal.
Management Information Systems, Sixth Edition
Managing Data Resources
Database and Data Warehouse
Client/Server Databases and the Oracle 10g Relational Database
File Systems and Databases
3-1 Chapter 3 Data and Knowledge Management
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.
Chapter 3: Data Modeling
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 1: The Database Environment
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
IST Databases and DBMSs Todd S. Bacastow January 2005.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
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 Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Systems analysis and design, 6th edition Dennis, wixom, and roth
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Web-Enabled Decision Support Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
311: Management Information Systems Database Systems Chapter 3.
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.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
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.
Chapter 12: Designing Databases
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
Database and Data Warehouse
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.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
CIS 250 Advanced Computer Applications Database Management Systems.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Introduction to Databases Angela Clark University of South Alabama.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
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.
Databases and DBMSs Todd S. Bacastow January
An Introduction to database system
Introduction to Database Management System
Basic Concepts in Data Management
MANAGING DATA RESOURCES
DATABASES WHAT IS A DATABASE?
DATABASE TECHNOLOGIES
Presentation transcript:

1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)

2 LEARNING GOALS  Explain basic concepts of data management.  Describe file systems and identify their problems.  Define database management systems and describe their various functions.  Explain how the relational database model works.  Describe how databases are developed.

3 Basic Concepts of Data Management Database: Collection of data organized in different containers Table 1Table 2Table 3 Report Form 1 Acc #:_______ Name:_______

4 Basic Concepts of Data Management  Table Two-dimensional structure composed of rows and columns  Field Like a column in a spreadsheet  Field name Like a column name in a spreadsheet Examples: AccountID, Customer, Type, Balance  Field values Actual data for the field  Record Set of fields that describe an entity (a person, an account, etc.)  Primary key A field, or group of fields, that uniquely identifies a record AccountIDCustomerTypeBalance John SmithChecking$ Linda MartinSaving$ Paul GrahamChecking$ Accounts table Each table has:  Fields  Records  1 Primary key

5 Basic Concepts in Data Management  A Primary key could be a single field like in this table  A Primary key could be a composite key, i.e. multiple fields

6 Traditional File Systems  System of files that store groups of records 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) Application 1 Program 1 File 1 File 2 File 3 Program 2 File 1 File 2 File 3 Application 2 Program 1 File 1 File 2 File 3 Program 2 File 1 File 2 File 3

7 File System Anomalies  Insertion anomaly Data needs to be entered more than once if located in multiple file systems  Modification anomaly Redundant data in separate file systems Inconsistent data in your system  Deletion anomaly Failure to simultaneously delete all copies of redundant data Deletion of critical data

8 Database Management System (DBMS)  Combination of software and data for Collecting, storing and managing data in a database environment.  A DBMS includes: Database Database engine (for accessing and modifying the DB content) Data Manipulation Language Application 1 Program-1 Program-2 Application 2 Program-1 Program-2 DBMS

9 DBMS Functions  Store data (in tables) on secondary storage  Transform data into information (reports,..)  Provide user with different logical views of actual database content  Provide security DBMSs control who can add, view, change, or delete data in the database ID Name Amt 01 John Linda Paul Physical view ID Name 02 Linda Name Amt Paul ID Name Amt 01 John Linda 3.00 Logical views

10 More DBMS Functions  Allow multi-user access Control concurrency of access to data Prevent 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

11 Types of DBMSs  Desktop Used by individuals or small groups Requires little or no formal training Does not have all the capabilities of larger DBMSs

12 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.

13 Database Models  Database model = a representation of the relationship between structures (e.g. tables) 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)

14 Flat File Database  Stores data in basic table structures  No relationship between tables  Used on PDAs for address book

15 Hierarchical Database Model  Resembles an inverted tree, with the root at the top  Limited to storing data in one-to-many relationships One parent segment to many child segments  Very fast when searching large amounts of data in a pre-specified order  Not very flexible

16 Network Model  Many-to-many relationships between tables  Any record may be linked to any other record  Highly flexible but also highly complex  Rarely used

17 Relational Model  Multiple tables related by common fields  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  Somewhat slower than hierarchical and network DBMSs

18 Database Development 1)Analysis Develop a clear understanding of how the organization works and what data is used Determine data needs of each functional area Analyze data needs and use Develop conceptual model Develop physical model Implement database Administer database

19 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 Less expensive to correct an ERD than to redesign an already constructed database

20 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

21 Database Development Process (Continued) 4)Database implementation Install the DBMS software Build the database Test

22 Database Development Process (Continued) 5)Database administration Ensures database efficiency Manages backup and restoration Sets up user accounts and security

23 Summary Questions Notes 1)What is a table, a field, a record, a primary key, a composite key? 4-5 2) What are the problems with traditional file systems? 6,7 3) What are the major components of a DBMS? 8 4)(a) Name some Desktop DBMSs. (b) Name some Enterprise DBMSs. 5)What are the differences between Flat File and Relational database models? 14,17 6)What are the steps for Database development? 18-