SlideShare una empresa de Scribd logo
1 de 44
Management Information Systems
CSC-373
Databases and Data Warehouses
Objectives
• Explain the difference between traditional file
organisation and the database approach to managing
digital data
• Explain how relational and object oriented database
management systems are used to construct databases,
populate them with data, and manipulate the data to
produce information
• Enumerate the most important features and operations of
a relational database, the most popular database model
Objectives (continued)
• Understand how data modeling and design creates a conceptual
blueprint of a database
• Discuss how databases are used on the Web
• List the operations involved in transferring data from transactional
databases to data warehouses
Managing Digital Data
• Businesses collect and dissect data (analyze data in minute detail)
• Data can be stored in powerful database format
• Easy access and manipulation
• Databases have profound impact on business
• Database technology integrated with Internet
The Traditional File Approach
• Traditional file approach: no mechanism for manipulating data
• Database approach: has mechanism for manipulating data
• Traditional approach inconvenient
• Data redundancy:
• Presence of duplicate data in multiple files
• High data redundancy
• Low data integrity
• Problems with the traditional file environment (files
maintained separately by different departments)
–Data inconsistency:
• Same attribute has different values
–Data integrity: accuracy of data
–Program-data dependence:
• When changes in program requires changes to data accessed by program
–Lack of flexibility
–Poor security
–Lack of data sharing and availability
The Traditional File Approach (cont.(
The use of a traditional
approach to file processing
encourages each functional
area in a corporation to
develop specialized
applications. Each
application requires a
unique data file that is
likely to be a subset of the
master file. These subsets
of the master file lead to
data redundancy and
inconsistency, processing
inflexibility, and wasted
storage resources.
FIGURE 6-2
TRADITIONAL FILE PROCESSING
Traditional File Processing
Chapter 5 Data Resource
ManagementChapter 5
8
The Traditional File Approach (continued)
• Database
– Serves many applications by centralizing data and controlling redundant data
• Database management system (DBMS)
– Interfaces between applications and physical data files
– Separates logical and physical views of data
– Solves problems of traditional file environment
• Controls redundancy
• Eliminates inconsistency
• Uncouples programs and data
• Enables organization to central manage data and data security
Capabilities of Database Management Systems (DBMSs)
A single human resources database provides many different views of data, depending on the information
requirements of the user. Illustrated here are two possible views, one of interest to a benefits specialist and
one of interest to a member of the company’s payroll department.
FIGURE 6-3
HUMAN RESOURCES DATABASE WITH MULTIPLE VIEWS
The Database Approach
• Database approach: data organised as entities
• Entity: object that has data
• People
• Events
• Products
• Character: smallest piece of data
• Field: single piece of information about entity
• Record: collection of fields
The Database Approach (continued)
• File: collection of related records
• Database management system (DBMS): program used to build
databases
• Populates with data
• Manipulates data
• Query: message requesting access to data
The Database Approach (continued)
• Database has security issues
• Database administrator (DBA): limits user access to database
• Requires users to enter codes
• DBMS bundled with fourth-generation languages
The Database Approach (continued)
The Database Approach (continued)
The Database Approach (continued)
Database Models
• Database model: general logical structure
• How records stored in database
• Records linked differently in different models
• Models constantly changing
The Relational Model
• Relational Model: consists of tables
• Based on relational algebra
• Tuple: record
• Attribute: field
• Relation: table
• Key: identifier field
• Used to retrieve records
Relational Model (continued)
The Relational Model (continued)
• Primary key: unique key
• Uniquely identifies record
• Required in table
• Composite key: combination of fields
• Serves as primary key
• Foreign key: shared field
• Links tables
• Join table: composite of tables
The Relational Model (continued)
The Relational Model (continued)
• Table relationships with other tables
• One-to-many relationship: one item in table linked to
many items in other table
• Many-to-many relationship: many items in table
linked to many items of other table
The Object-Oriented Model
• Object-Oriented model: uses object-oriented approach
• Encapsulation: combined storage of data and relevant procedures
• Allows object to be planted in different data sets
• Inheritance: creates new object by replicating characteristics of existing
(parent) object
The Object-Oriented Model (continued)
Relational Operations
• Relational operation: create temporary subset of
table
• Create limited list or joined table list
• Select records based on conditions
• Project columns
• Join tables to create temporary table
Structured Query Language
• Structured query language: language of
choice for DBMSs
• Advantages
• Standardised language
• Used in many host languages
• Portable
The Schema and Metadata
• Schema: plan
• Describes structure of database
• Names and sizes of fields
• Identifies primary keys
• Data dictionary: repository of information about data
The Schema and Metadata (continued)
• Metadata: data about data
• Source of data
• Tables related to data
• Field information
• Usage of data
• Population rules
The Schema and Metadata (continued)
Data Modeling
• Databases must be carefully planned
• Data modeling: analysis and organisation of data
• Proactive process
• Develop conceptual blueprint
• Entity relationship diagram: graphical representation of relationships
Data Modeling (continued)
• Entity relationship diagram
• Boxes identify entities
• Lines indicate relationship
• Crossbars indicate mandatory fields
• Circles indicate optional
• Crows feet identify “many”
Data Modeling (continued)
Data Modeling (continued)
Databases on the Web
• Web dependent on databases
• Interface between Web and database required
• CGI
• ASP
• API
Databases on the Web (continued)
Data Warehousing
• Data collections used for transactions
• Accumulation of transaction data useful
• Data warehouse: large database
• Typically relational
• Supports decision making
• Data copied from transactional database
• Data mart: collection of data focusing on particular
subject
From Database to Data Warehouse
• Transactional database not suitable for business
analysis
• Only current data
• Not historic
• Data warehouse requires large storage capacity
• Mainframe computers used
• Scalability issue
Phases in Building a Data Warehouse
• Begin building data warehouse after equipment
secured
• Extraction phase
• Create files from transactional database
• Transformation phase
• Cleanse and modify data
• Loading phase
• Transfer files to data warehouse
Phases in Building a Data Warehouse
(continued)
Summary
• organisations collect vast amounts of data
• Database approach has advantages over traditional
approach
• Character: smallest piece of data
• File: collection of records
• Designer must construct schema to construct
database
Summary (continued)
• Database management system enables database
construction and manipulation
• Relational and object-oriented database models have
different advantages
• Keys used to form links among entities
• Object-oriented database maintains links differently
• SQL adopted as international standard
Summary (continued)
• Designers conduct data modeling to show required
tables
• Databases often linked to Web
• Data warehouses contain huge collections of historical
data
• Data warehouse allows data extraction,
transformation, and loading
• Invasion of privacy is exacerbated by database
technology
Bibliography
• Chapter 6: Databases and Data Warehouses,
Effy Oz “Management Information Systems”. (6th Edition).
Cencage Learning: www.cengage.co.uk/oz
• Kenneth. C. Laudon & Jane P. Laudon “Management Information Systems: Managing a Digital Firm”
(15th Edition) Pearson.
• James A. O’Brien. “Management Information Systems”
(11th Edition) McGraw Hill.

Más contenido relacionado

Similar a 4- DB Ch6 18-3-2020.pptx

Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra
 
Overview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureOverview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureRubal Sagwal
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxUbaidURRahman78
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsjayussuryawan
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdfOmarFarooque9
 
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...adeel8937
 
Data warehouse introduction
Data warehouse introductionData warehouse introduction
Data warehouse introductionMurli Jha
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1Jyothis Menon
 
Database management system
Database management systemDatabase management system
Database management systemrishi ram khanal
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptRafiulHasan19
 

Similar a 4- DB Ch6 18-3-2020.pptx (20)

Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
 
Chapter5
Chapter5Chapter5
Chapter5
 
Utsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnetUtsav Mahendra : Introduction to Database and managemnet
Utsav Mahendra : Introduction to Database and managemnet
 
Overview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and ArchitectureOverview of Data Base Systems Concepts and Architecture
Overview of Data Base Systems Concepts and Architecture
 
PPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptxPPT-UEU-Basis-Data-Pertemuan-1.pptx
PPT-UEU-Basis-Data-Pertemuan-1.pptx
 
Rdbms
RdbmsRdbms
Rdbms
 
Chapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systemsChapter 4 security part ii auditing database systems
Chapter 4 security part ii auditing database systems
 
UNIT machine learning unit 1,algorithm pdf
UNIT machine learning  unit 1,algorithm pdfUNIT machine learning  unit 1,algorithm pdf
UNIT machine learning unit 1,algorithm pdf
 
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...
vdocuments.mx_chapter-2-database-environment-thomas-connolly-carolyn-begg-dat...
 
(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)(Dbms) class 1 & 2 (Presentation)
(Dbms) class 1 & 2 (Presentation)
 
Chap005
Chap005Chap005
Chap005
 
Chapter 5 data resource management
Chapter 5  data resource managementChapter 5  data resource management
Chapter 5 data resource management
 
oracle
oracle oracle
oracle
 
Data warehouse introduction
Data warehouse introductionData warehouse introduction
Data warehouse introduction
 
CST204 DBMS Module-1
CST204 DBMS Module-1CST204 DBMS Module-1
CST204 DBMS Module-1
 
Dbms
DbmsDbms
Dbms
 
Database Technologies
Database TechnologiesDatabase Technologies
Database Technologies
 
Database management system
Database management systemDatabase management system
Database management system
 
Dbms unit 1
Dbms unit 1Dbms unit 1
Dbms unit 1
 
Various Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.pptVarious Applications of Data Warehouse.ppt
Various Applications of Data Warehouse.ppt
 

Último

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 

Último (20)

4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 

4- DB Ch6 18-3-2020.pptx

  • 2. Objectives • Explain the difference between traditional file organisation and the database approach to managing digital data • Explain how relational and object oriented database management systems are used to construct databases, populate them with data, and manipulate the data to produce information • Enumerate the most important features and operations of a relational database, the most popular database model
  • 3. Objectives (continued) • Understand how data modeling and design creates a conceptual blueprint of a database • Discuss how databases are used on the Web • List the operations involved in transferring data from transactional databases to data warehouses
  • 4. Managing Digital Data • Businesses collect and dissect data (analyze data in minute detail) • Data can be stored in powerful database format • Easy access and manipulation • Databases have profound impact on business • Database technology integrated with Internet
  • 5. The Traditional File Approach • Traditional file approach: no mechanism for manipulating data • Database approach: has mechanism for manipulating data • Traditional approach inconvenient • Data redundancy: • Presence of duplicate data in multiple files • High data redundancy • Low data integrity
  • 6. • Problems with the traditional file environment (files maintained separately by different departments) –Data inconsistency: • Same attribute has different values –Data integrity: accuracy of data –Program-data dependence: • When changes in program requires changes to data accessed by program –Lack of flexibility –Poor security –Lack of data sharing and availability The Traditional File Approach (cont.(
  • 7. The use of a traditional approach to file processing encourages each functional area in a corporation to develop specialized applications. Each application requires a unique data file that is likely to be a subset of the master file. These subsets of the master file lead to data redundancy and inconsistency, processing inflexibility, and wasted storage resources. FIGURE 6-2 TRADITIONAL FILE PROCESSING
  • 8. Traditional File Processing Chapter 5 Data Resource ManagementChapter 5 8
  • 9. The Traditional File Approach (continued)
  • 10. • Database – Serves many applications by centralizing data and controlling redundant data • Database management system (DBMS) – Interfaces between applications and physical data files – Separates logical and physical views of data – Solves problems of traditional file environment • Controls redundancy • Eliminates inconsistency • Uncouples programs and data • Enables organization to central manage data and data security Capabilities of Database Management Systems (DBMSs)
  • 11. A single human resources database provides many different views of data, depending on the information requirements of the user. Illustrated here are two possible views, one of interest to a benefits specialist and one of interest to a member of the company’s payroll department. FIGURE 6-3 HUMAN RESOURCES DATABASE WITH MULTIPLE VIEWS
  • 12. The Database Approach • Database approach: data organised as entities • Entity: object that has data • People • Events • Products • Character: smallest piece of data • Field: single piece of information about entity • Record: collection of fields
  • 13. The Database Approach (continued) • File: collection of related records • Database management system (DBMS): program used to build databases • Populates with data • Manipulates data • Query: message requesting access to data
  • 14. The Database Approach (continued) • Database has security issues • Database administrator (DBA): limits user access to database • Requires users to enter codes • DBMS bundled with fourth-generation languages
  • 15. The Database Approach (continued)
  • 16. The Database Approach (continued)
  • 17. The Database Approach (continued)
  • 18. Database Models • Database model: general logical structure • How records stored in database • Records linked differently in different models • Models constantly changing
  • 19. The Relational Model • Relational Model: consists of tables • Based on relational algebra • Tuple: record • Attribute: field • Relation: table • Key: identifier field • Used to retrieve records
  • 21. The Relational Model (continued) • Primary key: unique key • Uniquely identifies record • Required in table • Composite key: combination of fields • Serves as primary key • Foreign key: shared field • Links tables • Join table: composite of tables
  • 22. The Relational Model (continued)
  • 23. The Relational Model (continued) • Table relationships with other tables • One-to-many relationship: one item in table linked to many items in other table • Many-to-many relationship: many items in table linked to many items of other table
  • 24. The Object-Oriented Model • Object-Oriented model: uses object-oriented approach • Encapsulation: combined storage of data and relevant procedures • Allows object to be planted in different data sets • Inheritance: creates new object by replicating characteristics of existing (parent) object
  • 26. Relational Operations • Relational operation: create temporary subset of table • Create limited list or joined table list • Select records based on conditions • Project columns • Join tables to create temporary table
  • 27. Structured Query Language • Structured query language: language of choice for DBMSs • Advantages • Standardised language • Used in many host languages • Portable
  • 28. The Schema and Metadata • Schema: plan • Describes structure of database • Names and sizes of fields • Identifies primary keys • Data dictionary: repository of information about data
  • 29. The Schema and Metadata (continued) • Metadata: data about data • Source of data • Tables related to data • Field information • Usage of data • Population rules
  • 30. The Schema and Metadata (continued)
  • 31. Data Modeling • Databases must be carefully planned • Data modeling: analysis and organisation of data • Proactive process • Develop conceptual blueprint • Entity relationship diagram: graphical representation of relationships
  • 32. Data Modeling (continued) • Entity relationship diagram • Boxes identify entities • Lines indicate relationship • Crossbars indicate mandatory fields • Circles indicate optional • Crows feet identify “many”
  • 35. Databases on the Web • Web dependent on databases • Interface between Web and database required • CGI • ASP • API
  • 36. Databases on the Web (continued)
  • 37. Data Warehousing • Data collections used for transactions • Accumulation of transaction data useful • Data warehouse: large database • Typically relational • Supports decision making • Data copied from transactional database • Data mart: collection of data focusing on particular subject
  • 38. From Database to Data Warehouse • Transactional database not suitable for business analysis • Only current data • Not historic • Data warehouse requires large storage capacity • Mainframe computers used • Scalability issue
  • 39. Phases in Building a Data Warehouse • Begin building data warehouse after equipment secured • Extraction phase • Create files from transactional database • Transformation phase • Cleanse and modify data • Loading phase • Transfer files to data warehouse
  • 40. Phases in Building a Data Warehouse (continued)
  • 41. Summary • organisations collect vast amounts of data • Database approach has advantages over traditional approach • Character: smallest piece of data • File: collection of records • Designer must construct schema to construct database
  • 42. Summary (continued) • Database management system enables database construction and manipulation • Relational and object-oriented database models have different advantages • Keys used to form links among entities • Object-oriented database maintains links differently • SQL adopted as international standard
  • 43. Summary (continued) • Designers conduct data modeling to show required tables • Databases often linked to Web • Data warehouses contain huge collections of historical data • Data warehouse allows data extraction, transformation, and loading • Invasion of privacy is exacerbated by database technology
  • 44. Bibliography • Chapter 6: Databases and Data Warehouses, Effy Oz “Management Information Systems”. (6th Edition). Cencage Learning: www.cengage.co.uk/oz • Kenneth. C. Laudon & Jane P. Laudon “Management Information Systems: Managing a Digital Firm” (15th Edition) Pearson. • James A. O’Brien. “Management Information Systems” (11th Edition) McGraw Hill.

Notas del editor

  1. This slide discusses the problems in data management that occur in a traditional file environment. In a traditional file environment, different functions in the business (accounting, finance, HR, etc.) maintained their own separate files and databases. Ask students to describe further why data redundancy and inconsistency pose problems? What kinds of problems happen when data is redundant or inconsistent. Ask students to give an example of program-data dependence. What makes the traditional file environment inflexible?
  2. This graphic illustrates a traditional environment, in which different business functions maintain separate data and applications to store and access that data. Ask students what kinds of data might be shared between accounting/finance and HR. What about between sales and marketing and manufacturing?
  3. This slide defines and describes databases and DBMS. Ask students to explain what the difference is between a database and a DBMS. What is the physical view of data? What is the logical view of data?
  4. This graphic illustrates what is meant by providing different logical views of data. The orange rectangles represent two different views in an HR database, one for reviewing employee benefits, the other for accessing payroll records. The students can think of the green cylinder as the physical view, which shows how the data are actually organized and stored on the physical media. The physical data do not change, but a DBMS can create many different logical views to suit different needs of users.