SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Tecnologias
De Informacion I


  Prof. Fdo. Edgar Diaz-Prado
     Depto de Informatica
  Universidad Regiomontana
Chapter 5
 DATA BASES
      &
Data Warehouse


  Prof. Fdo. Edgar Diaz-Prado
     Depto de Informatica
  Universidad Regiomontana
Chapter

  5
          Data Resource Management
Why Study Data Resource Management?

• Today’s business enterprises cannot
  survive or succeed without data and
  quality data about their internal operations
  and external environment.

• Data at companies, is the blood!
Data Resource Management


Definition:
• A managerial activity that applies
  information systems technologies to the
  task of managing an organization’s data
  resources to meet the information´s
  needs of the business.
Foundation Data Concepts



• Character – single alphabetic, numeric or other
  symbol
      T, %, Ñ, 4, +


• Field – group of related characters
      Lolita, Student, 34,290.45, 70-04-12
Foundation Data Concepts


     • Entity – person, place, object or event

     • Attribute – characteristic of an entity

     • Relationship – the way two or more entities can be
       related or associated




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5-7
Foundation Data Concepts

              Entidad                                                         Atributos


                                                                         •   NumEmpleada – 242726
                                                                         •   Nombre – MaryJose
                                                                             Schoedra

                                                                         •   Dirección – Sierra
                                                                             Barrada 20-C

                                                                         •   Fecha-Nacimiento –
                                                                                 1990-05-29
                                                                         •   Puesto – Chef-A

                                                                         •   Salario – 54,860.45


Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.                              5-8
Foundation Data Concepts

                              – Relationship between Entities




                                              Is Employee of




            Employee                                                     Company
Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.             5-9
Foundation Data Concepts



     • Database
Data Vs Information


•   Data – a collection of facts made up of text,
    numbers and dates:
              Villareal      35000     7/18/86

•   Information - the meaning given to data in the way
    it is interpreted:
        Mr. Villareal is a sales person whose annual
        salary is $35,000 and whose hire date is
        July 18, 1986.
Foundation Data Concepts


What is a
Database?
An Example of a Table (or File)


                         Fields or Attributes




Records
             Name      E-mail-Link Phone        College
             Graff     rgraff       392-3900    Pharmacy
             Harris    bharris      392-5555    Medicine
             Ipswich   zipswich     846-5656    PHHP
Basic Database Concepts

•   Table                          Name: Barry Harris
    • A set of related             College: Medicine
      records                      Tel: 392-5555
x   Record
    – A collection of data       Name: Barry Harris
                                 College: Medicine
      about an individual item   Tel: 392-5555
x   Field
    – A single item of data        Name: Barry Harris
      common to all records
Foundation Data Concepts

           • Record – collection of attributes that describe an entity

           • File – group of related records

           • Database – integrated and related collection of files.




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 15
Entities and Relationships
What is a Database Systems

• Database:
                     a very large, integrated
  collection of data.
• Models a real-world enterprise

  • Entities (e.g., Doctors, patientes)

  • Relationships
               (e.g., The Doctor is attending
    patients)
  •
What is a Database Systems




         Relationships
?
            Why Study Databases??
Need for DB has exploded in the last years in many
  fields, such as:

   • Corporate: retail sector, customer relationship
     mgmt, supply chain mgmt, data warehouses,
     enterprise management, human resources,
     finance and accounting, etc.

   • Scientific: digital libraries, Human Genome
     project, NASA Mission to Planet Earth, physical
     sensors, grid physics network
Labels of Abstraction
           Architecture of Data Bases
                                  Users
• Views describe how
  users see the data.

• Conceptual schema           View 1   View 2   View 3
  defines logical structure
                                Conceptual Schema
• Physical schema
  describes the files and         Physical Schema
  indexes used.
                                        DB
• (sometimes called the
  ANSI/SPARC model)
Example: University Database
• External Schema (View):
   • Course_info(cid:string, cname:string,
    cteacher: string)
• Conceptual schema:                       View 1 View 2 View 3
   • Students(sid: string, name: string,
     login: string, age: integer, gpa:real) Conceptual Schema
   • Courses(cid: string, cname:string,
     credits:integer)                          Physical Schema
   • Teachers(tid:string, tname:string,
     tdepart:string)
• Physical schema (in physical DB):                 DB
   • Relations stored as unordered files.
   • Index on first column of Students.
Data Independence

• Applications insulated from
  how data is structured and    View 1   View 2   View 3
  stored.
• Logical data independence:
  Protection from changes in      Conceptual Schema
  logical structure of data.
                                    Physical Schema
• Physical data independence:
  Protection from changes in
  physical structure of data.             DB
Database Systems: Years ago.
Database Systems: Today




                  From Friendster.com on-line tour
Databases in action
Types of Databases




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 26
Types of Databases
Types of Databases

 • Operational – store detailed data needed to
   support the business processes and operations
   of a company




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 28
Types of Databases

  • Distributed – databases that are replicated
    and-or distributed in whole or in part to network
    servers at a variety of sites




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 29
Types of Databases

 • External – contain a wealth of information
   available from commercial online services
   and from many sources on the World
   Wide Web

 • Hypermedia – consist of hyperlinked
   pages of multimedia



Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 30
Hypermedia Database
Data Warehouse

 Definition:
 • Large database that stores data that have
   been extracted from the various
   operational, external, and other
   databases of an organization




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 32
Data Mart

Definition:
• Databases that hold subsets of data from
  a data warehouse that focus on specific
  aspects of a company, such as a
  department or a business process
Data Warehouse & Data Marts



                            Data Mart
                            Marketing

  Data                    Data Mart
Warehouse                 Production

                            Data Mart
                            sales
Data Warehouse & Data Marts
Chapter
    5




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 36
Chapter
    5




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 37
Chapter

                   5
                                                     End of Chapter´s
                                                        First Part.




Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.   5 - 38

Weitere ähnliche Inhalte

Was ist angesagt?

Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
BigMine
 

Was ist angesagt? (19)

Llinked open data training for EU institutions
Llinked open data training for EU institutionsLlinked open data training for EU institutions
Llinked open data training for EU institutions
 
Enterprise Data Lake - Scalable Digital
Enterprise Data Lake - Scalable DigitalEnterprise Data Lake - Scalable Digital
Enterprise Data Lake - Scalable Digital
 
Bigdata overview
Bigdata overviewBigdata overview
Bigdata overview
 
Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
Challenging Problems for Scalable Mining of Heterogeneous Social and Informat...
 
Gilbane Boston 2011 big data
Gilbane Boston 2011 big dataGilbane Boston 2011 big data
Gilbane Boston 2011 big data
 
Sören Auer | Enterprise Knowledge Graphs
Sören Auer | Enterprise Knowledge GraphsSören Auer | Enterprise Knowledge Graphs
Sören Auer | Enterprise Knowledge Graphs
 
Does metadata matter?
Does metadata matter?Does metadata matter?
Does metadata matter?
 
2. olap warehouse
2. olap warehouse2. olap warehouse
2. olap warehouse
 
Linked Data Approach for Integration of Human Health & Environmental Data
Linked Data Approach for Integration of Human Health & Environmental DataLinked Data Approach for Integration of Human Health & Environmental Data
Linked Data Approach for Integration of Human Health & Environmental Data
 
Metadata: A concept
Metadata: A conceptMetadata: A concept
Metadata: A concept
 
Data lakes
Data lakesData lakes
Data lakes
 
FlockData Overview
FlockData OverviewFlockData Overview
FlockData Overview
 
Introduction to Big Data Hadoop Training Online by www.itjobzone.biz
Introduction to Big Data Hadoop Training Online by www.itjobzone.bizIntroduction to Big Data Hadoop Training Online by www.itjobzone.biz
Introduction to Big Data Hadoop Training Online by www.itjobzone.biz
 
HDL - Towards A Harmonized Dataset Model for Open Data Portals
HDL - Towards A Harmonized Dataset Model for Open Data PortalsHDL - Towards A Harmonized Dataset Model for Open Data Portals
HDL - Towards A Harmonized Dataset Model for Open Data Portals
 
Introduction to Sql on Hadoop
Introduction to Sql on HadoopIntroduction to Sql on Hadoop
Introduction to Sql on Hadoop
 
Multi-model Databases and Tightly Integrated Polystores
Multi-model Databases and Tightly Integrated PolystoresMulti-model Databases and Tightly Integrated Polystores
Multi-model Databases and Tightly Integrated Polystores
 
NISO Webinar: Metadata for Preservation: A Digital Object's Best Friend
NISO Webinar: Metadata for Preservation: A Digital Object's Best Friend NISO Webinar: Metadata for Preservation: A Digital Object's Best Friend
NISO Webinar: Metadata for Preservation: A Digital Object's Best Friend
 
2013 Dec 9 Data Marketing 2013 - Hadoop
2013 Dec 9 Data Marketing 2013 - Hadoop2013 Dec 9 Data Marketing 2013 - Hadoop
2013 Dec 9 Data Marketing 2013 - Hadoop
 
Processing cassandra datasets with hadoop streaming based approaches
Processing cassandra datasets with hadoop streaming based approachesProcessing cassandra datasets with hadoop streaming based approaches
Processing cassandra datasets with hadoop streaming based approaches
 

Ähnlich wie P1 capitulo 5

IDERA Live | Decode your Organization's Data DNA
IDERA Live | Decode your Organization's Data DNAIDERA Live | Decode your Organization's Data DNA
IDERA Live | Decode your Organization's Data DNA
IDERA Software
 
Data-Ed: Design and Manage Data Structures
Data-Ed: Design and Manage Data Structures Data-Ed: Design and Manage Data Structures
Data-Ed: Design and Manage Data Structures
Data Blueprint
 

Ähnlich wie P1 capitulo 5 (20)

IDERA Live | Decode your Organization's Data DNA
IDERA Live | Decode your Organization's Data DNAIDERA Live | Decode your Organization's Data DNA
IDERA Live | Decode your Organization's Data DNA
 
Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Big_Data.pptx
Big_Data.pptxBig_Data.pptx
Big_Data.pptx
 
Unit 2
Unit 2Unit 2
Unit 2
 
Data-Ed Webinar: The Importance of MDM
Data-Ed Webinar: The Importance of MDMData-Ed Webinar: The Importance of MDM
Data-Ed Webinar: The Importance of MDM
 
Ch 6.pdf
Ch 6.pdfCh 6.pdf
Ch 6.pdf
 
BAB 7 Pangkalan data new
BAB 7   Pangkalan data newBAB 7   Pangkalan data new
BAB 7 Pangkalan data new
 
The Importance of Master Data Management
The Importance of Master Data ManagementThe Importance of Master Data Management
The Importance of Master Data Management
 
Data science.chapter-1,2,3
Data science.chapter-1,2,3Data science.chapter-1,2,3
Data science.chapter-1,2,3
 
The Importance of MDM - Eternal Management of the Data Mind
The Importance of MDM - Eternal Management of the Data MindThe Importance of MDM - Eternal Management of the Data Mind
The Importance of MDM - Eternal Management of the Data Mind
 
Why an AI-Powered Data Catalog Tool is Critical to Business Success
Why an AI-Powered Data Catalog Tool is Critical to Business SuccessWhy an AI-Powered Data Catalog Tool is Critical to Business Success
Why an AI-Powered Data Catalog Tool is Critical to Business Success
 
Dw 07032018-dr pl pradhan
Dw 07032018-dr pl pradhanDw 07032018-dr pl pradhan
Dw 07032018-dr pl pradhan
 
All Together Now: A Recipe for Successful Data Governance
All Together Now: A Recipe for Successful Data GovernanceAll Together Now: A Recipe for Successful Data Governance
All Together Now: A Recipe for Successful Data Governance
 
Ch~2.pdf
Ch~2.pdfCh~2.pdf
Ch~2.pdf
 
Chap005
Chap005Chap005
Chap005
 
Data-Ed Webinar: Design & Manage Data Structures
Data-Ed Webinar: Design & Manage Data Structures Data-Ed Webinar: Design & Manage Data Structures
Data-Ed Webinar: Design & Manage Data Structures
 
Data-Ed: Design and Manage Data Structures
Data-Ed: Design and Manage Data Structures Data-Ed: Design and Manage Data Structures
Data-Ed: Design and Manage Data Structures
 
Big data gaurav
Big data gauravBig data gaurav
Big data gaurav
 
Introduction to Big Data Analytics
Introduction to Big Data AnalyticsIntroduction to Big Data Analytics
Introduction to Big Data Analytics
 
What Data Do You Have and Where is It?
What Data Do You Have and Where is It? What Data Do You Have and Where is It?
What Data Do You Have and Where is It?
 

Kürzlich hochgeladen

Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Dipal Arora
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
Matteo Carbone
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
daisycvs
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Sheetaleventcompany
 

Kürzlich hochgeladen (20)

Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
Call Girls Service In Old Town Dubai ((0551707352)) Old Town Dubai Call Girl ...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Falcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to ProsperityFalcon's Invoice Discounting: Your Path to Prosperity
Falcon's Invoice Discounting: Your Path to Prosperity
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
Chandigarh Escorts Service 📞8868886958📞 Just📲 Call Nihal Chandigarh Call Girl...
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 

P1 capitulo 5

  • 1. Tecnologias De Informacion I Prof. Fdo. Edgar Diaz-Prado Depto de Informatica Universidad Regiomontana
  • 2. Chapter 5 DATA BASES & Data Warehouse Prof. Fdo. Edgar Diaz-Prado Depto de Informatica Universidad Regiomontana
  • 3. Chapter 5 Data Resource Management
  • 4. Why Study Data Resource Management? • Today’s business enterprises cannot survive or succeed without data and quality data about their internal operations and external environment. • Data at companies, is the blood!
  • 5. Data Resource Management Definition: • A managerial activity that applies information systems technologies to the task of managing an organization’s data resources to meet the information´s needs of the business.
  • 6. Foundation Data Concepts • Character – single alphabetic, numeric or other symbol T, %, Ñ, 4, + • Field – group of related characters Lolita, Student, 34,290.45, 70-04-12
  • 7. Foundation Data Concepts • Entity – person, place, object or event • Attribute – characteristic of an entity • Relationship – the way two or more entities can be related or associated Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5-7
  • 8. Foundation Data Concepts Entidad Atributos • NumEmpleada – 242726 • Nombre – MaryJose Schoedra • Dirección – Sierra Barrada 20-C • Fecha-Nacimiento – 1990-05-29 • Puesto – Chef-A • Salario – 54,860.45 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5-8
  • 9. Foundation Data Concepts – Relationship between Entities Is Employee of Employee Company Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5-9
  • 10. Foundation Data Concepts • Database
  • 11. Data Vs Information • Data – a collection of facts made up of text, numbers and dates: Villareal 35000 7/18/86 • Information - the meaning given to data in the way it is interpreted: Mr. Villareal is a sales person whose annual salary is $35,000 and whose hire date is July 18, 1986.
  • 13. An Example of a Table (or File) Fields or Attributes Records Name E-mail-Link Phone College Graff rgraff 392-3900 Pharmacy Harris bharris 392-5555 Medicine Ipswich zipswich 846-5656 PHHP
  • 14. Basic Database Concepts • Table Name: Barry Harris • A set of related College: Medicine records Tel: 392-5555 x Record – A collection of data Name: Barry Harris College: Medicine about an individual item Tel: 392-5555 x Field – A single item of data Name: Barry Harris common to all records
  • 15. Foundation Data Concepts • Record – collection of attributes that describe an entity • File – group of related records • Database – integrated and related collection of files. Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 15
  • 17. What is a Database Systems • Database: a very large, integrated collection of data. • Models a real-world enterprise • Entities (e.g., Doctors, patientes) • Relationships (e.g., The Doctor is attending patients) •
  • 18. What is a Database Systems Relationships
  • 19. ? Why Study Databases?? Need for DB has exploded in the last years in many fields, such as: • Corporate: retail sector, customer relationship mgmt, supply chain mgmt, data warehouses, enterprise management, human resources, finance and accounting, etc. • Scientific: digital libraries, Human Genome project, NASA Mission to Planet Earth, physical sensors, grid physics network
  • 20. Labels of Abstraction Architecture of Data Bases Users • Views describe how users see the data. • Conceptual schema View 1 View 2 View 3 defines logical structure Conceptual Schema • Physical schema describes the files and Physical Schema indexes used. DB • (sometimes called the ANSI/SPARC model)
  • 21. Example: University Database • External Schema (View): • Course_info(cid:string, cname:string, cteacher: string) • Conceptual schema: View 1 View 2 View 3 • Students(sid: string, name: string, login: string, age: integer, gpa:real) Conceptual Schema • Courses(cid: string, cname:string, credits:integer) Physical Schema • Teachers(tid:string, tname:string, tdepart:string) • Physical schema (in physical DB): DB • Relations stored as unordered files. • Index on first column of Students.
  • 22. Data Independence • Applications insulated from how data is structured and View 1 View 2 View 3 stored. • Logical data independence: Protection from changes in Conceptual Schema logical structure of data. Physical Schema • Physical data independence: Protection from changes in physical structure of data. DB
  • 24. Database Systems: Today From Friendster.com on-line tour
  • 26. Types of Databases Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 26
  • 28. Types of Databases • Operational – store detailed data needed to support the business processes and operations of a company Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 28
  • 29. Types of Databases • Distributed – databases that are replicated and-or distributed in whole or in part to network servers at a variety of sites Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 29
  • 30. Types of Databases • External – contain a wealth of information available from commercial online services and from many sources on the World Wide Web • Hypermedia – consist of hyperlinked pages of multimedia Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 30
  • 32. Data Warehouse Definition: • Large database that stores data that have been extracted from the various operational, external, and other databases of an organization Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 32
  • 33. Data Mart Definition: • Databases that hold subsets of data from a data warehouse that focus on specific aspects of a company, such as a department or a business process
  • 34. Data Warehouse & Data Marts Data Mart Marketing Data Data Mart Warehouse Production Data Mart sales
  • 35. Data Warehouse & Data Marts
  • 36. Chapter 5 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 36
  • 37. Chapter 5 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 37
  • 38. Chapter 5 End of Chapter´s First Part. Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved. 5 - 38

Hinweis der Redaktion

  1. 6
  2. 7