SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Business Information Systems Data Modeling - I Prithwis Mukerjee, Ph.D.
What is a Data Model? DATA MODEL The specification of  data structures  and  business rules  to represent business requirements.   student id student last name student first name student dormitory  student major STUDENT course id course title course number of credits course location  course instructor name COURSE attends/ is taught to
Purpose of Data Modeling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],DATA MODELING   A structured approach used to identify major components of an information system’s specifications.
The Data Modeling Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CDM ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CDM
Logical Data Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Entities ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],ENTITY A person, place, thing, event, or concept about which the business keeps data.
Defining the Entity ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],A SERVICE CONTRACT  is a PRODUCT representing an AGREEMENT between our COMPANY and the PURCHASER that offers service coverage extending beyond the normal WARRANTY period. LINE ITEM ORDER
Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],attributes employee first name employee last name employee address employee phone number EMPLOYEE ATTRIBUTE A distinct characteristic of an ENTITY for which data is maintained. ENTITY Name (above the box) employee id
Attribute Types ,[object Object],[object Object],[object Object],consultant id  consultant first name consultant last name consultant specialization consultant hourly rate CONSULTANT Key Attribute(s) (above the line) Non-Key Attribute(s) (below the line)
How do we determine keys? CANDIDATE KEY Any attribute or group of attributes which serves to uniquely identify each instance of an ENTITY. BOOK BOOK BOOK author first name author last name book title book edition book publisher book year published book isbn book lc catalog number author first name author last name book title book edition book publisher book year published book isbn book lc catalog number author first name author last name book title book edition book publisher book year published book isbn book lc catalog number
Primary Keys ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],PRIMARY KEY An ATTRIBUTE or group of attributes that uniquely identifies an instance of the entity. book isbn author first name  author last name  book title  book edition  book publisher book year published book lc catalog number  BOOK
Surrogate Keys transaction id account id customer id cash machine id transaction date CASH MACHINE TRANSACTION account id customer id cash machine id transaction date SURROGATE KEY A contrived, non-intelligent, single-attribute key used to replace a long composite key. Composite Key Surrogate Key CASH MACHINE TRANSACTION
Relationships MOVIE MOVIE COPY is rented as RELATIONSHIP A logical link between two entities that represents a business rule or constraint.
Foreign Keys FOREIGN KEY (FK) A primary key of a parent entity that is contributed to a child entity across a relationship. contains order number (FK) line item sequence number product code line item quantity line   item number line item description LINE ITEM ORDER order number order date order sales representative order customer
Identifying Relationship ,[object Object],[object Object],[object Object],[object Object],[object Object],MOVIE COPY movie master id (FK) movie copy number movie copy create date movie copy due date movie copy condition is rented as/ is created from MOVIE MASTER movie master id movie name movie star movie type movie rating
Many-to-Many Relationship ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],is ordered from/sends us PART SUPPLIER
Relationship Cardinality PASSENGER AIRPLANE SEAT is ticketed for Z Each parent instance is related to zero, one, or more child instances Each parent instance is related to one or more child instances Each parent instance is related to zero or one child instances Each parent instance is related to exactly “N” child instances CUSTOMER ORDER places DRIVER INSURANCE POLICY covers P TIRE CAR requires N
Recursive Relationships ,[object Object],[object Object],[object Object],A non-identifying non-mandatory relationship in which the same entity is both the parent and the child.  RECURSIVE RELATIONSHIP

Contenu connexe

Similaire à BIS03 Data Modelling - I

Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mcaEdhole.com
 
Part 3 primary and foreign keys
Part 3 primary and foreign keysPart 3 primary and foreign keys
Part 3 primary and foreign keyshussan fatima
 
Database Design E R 2009
Database Design E R 2009Database Design E R 2009
Database Design E R 2009Cathie101
 
Database management systems 3 - Data Modelling
Database management systems 3 - Data ModellingDatabase management systems 3 - Data Modelling
Database management systems 3 - Data ModellingNickkisha Farrell
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledgeAsma Rasool
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPTTrinath
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxprosofts1
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Typesaakanksha s
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship modelJafar Nesargi
 
03. Business Information Requirements Template
03. Business Information Requirements Template03. Business Information Requirements Template
03. Business Information Requirements TemplateAlan D. Duncan
 
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docxhoney725342
 

Similaire à BIS03 Data Modelling - I (20)

Ch06
Ch06Ch06
Ch06
 
SA Chapter 10
SA Chapter 10SA Chapter 10
SA Chapter 10
 
DBMS Keys
DBMS KeysDBMS Keys
DBMS Keys
 
Free video lectures for mca
Free video lectures for mcaFree video lectures for mca
Free video lectures for mca
 
Part 3 primary and foreign keys
Part 3 primary and foreign keysPart 3 primary and foreign keys
Part 3 primary and foreign keys
 
Database Design E R 2009
Database Design E R 2009Database Design E R 2009
Database Design E R 2009
 
Database management systems 3 - Data Modelling
Database management systems 3 - Data ModellingDatabase management systems 3 - Data Modelling
Database management systems 3 - Data Modelling
 
ERD with complete knowledge
ERD with complete knowledgeERD with complete knowledge
ERD with complete knowledge
 
Data Modeling PPT
Data Modeling PPTData Modeling PPT
Data Modeling PPT
 
Jobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptxJobs manager vs supervisor.pptx
Jobs manager vs supervisor.pptx
 
Database Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity TypesDatabase Modeling Using Entity.. Weak And Strong Entity Types
Database Modeling Using Entity.. Weak And Strong Entity Types
 
Data modeling using the entity relationship model
Data modeling using the entity relationship modelData modeling using the entity relationship model
Data modeling using the entity relationship model
 
database1
database1database1
database1
 
Lecture7.pptx
Lecture7.pptxLecture7.pptx
Lecture7.pptx
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter2
Chapter2Chapter2
Chapter2
 
PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03PHP/MySQL Programming Class Lecture 03
PHP/MySQL Programming Class Lecture 03
 
03. Business Information Requirements Template
03. Business Information Requirements Template03. Business Information Requirements Template
03. Business Information Requirements Template
 
ER Modeling.ppt
ER Modeling.pptER Modeling.ppt
ER Modeling.ppt
 
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx
1 Exploratory Data Analysis (EDA) by Melvin Ott, PhD.docx
 

Plus de Prithwis Mukerjee

Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Prithwis Mukerjee
 
Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Prithwis Mukerjee
 
Currency, Commodity and Bitcoins
Currency, Commodity and BitcoinsCurrency, Commodity and Bitcoins
Currency, Commodity and BitcoinsPrithwis Mukerjee
 
04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6Prithwis Mukerjee
 
World of data @ praxis 2013 v2
World of data   @ praxis 2013  v2World of data   @ praxis 2013  v2
World of data @ praxis 2013 v2Prithwis Mukerjee
 
BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2Prithwis Mukerjee
 
Lecture02 - Data Mining & Analytics
Lecture02 - Data Mining & AnalyticsLecture02 - Data Mining & Analytics
Lecture02 - Data Mining & AnalyticsPrithwis Mukerjee
 
ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?Prithwis Mukerjee
 
Data mining clustering-2009-v0
Data mining clustering-2009-v0Data mining clustering-2009-v0
Data mining clustering-2009-v0Prithwis Mukerjee
 
Data mining classification-2009-v0
Data mining classification-2009-v0Data mining classification-2009-v0
Data mining classification-2009-v0Prithwis Mukerjee
 
Business Intelligence Industry Perspective Session I
Business Intelligence   Industry Perspective Session IBusiness Intelligence   Industry Perspective Session I
Business Intelligence Industry Perspective Session IPrithwis Mukerjee
 

Plus de Prithwis Mukerjee (20)

Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2Bitcoin, Blockchain and the Crypto Contracts - Part 2
Bitcoin, Blockchain and the Crypto Contracts - Part 2
 
Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3Bitcoin, Blockchain and Crypto Contracts - Part 3
Bitcoin, Blockchain and Crypto Contracts - Part 3
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Thought controlled devices
Thought controlled devicesThought controlled devices
Thought controlled devices
 
Cloudcasting
CloudcastingCloudcasting
Cloudcasting
 
Currency, Commodity and Bitcoins
Currency, Commodity and BitcoinsCurrency, Commodity and Bitcoins
Currency, Commodity and Bitcoins
 
Data Science
Data ScienceData Science
Data Science
 
05 OLAP v6 weekend
05 OLAP  v6 weekend05 OLAP  v6 weekend
05 OLAP v6 weekend
 
04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6
 
Thought control
Thought controlThought control
Thought control
 
World of data @ praxis 2013 v2
World of data   @ praxis 2013  v2World of data   @ praxis 2013  v2
World of data @ praxis 2013 v2
 
BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2BIS 08a - Application Development - II Version 2
BIS 08a - Application Development - II Version 2
 
Lecture02 - Data Mining & Analytics
Lecture02 - Data Mining & AnalyticsLecture02 - Data Mining & Analytics
Lecture02 - Data Mining & Analytics
 
ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?ইন্টার্নেট কি এবং কেন ?
ইন্টার্নেট কি এবং কেন ?
 
Data mining clustering-2009-v0
Data mining clustering-2009-v0Data mining clustering-2009-v0
Data mining clustering-2009-v0
 
Data mining classification-2009-v0
Data mining classification-2009-v0Data mining classification-2009-v0
Data mining classification-2009-v0
 
Data mining arm-2009-v0
Data mining arm-2009-v0Data mining arm-2009-v0
Data mining arm-2009-v0
 
Data mining intro-2009-v2
Data mining intro-2009-v2Data mining intro-2009-v2
Data mining intro-2009-v2
 
PPM Lite
PPM LitePPM Lite
PPM Lite
 
Business Intelligence Industry Perspective Session I
Business Intelligence   Industry Perspective Session IBusiness Intelligence   Industry Perspective Session I
Business Intelligence Industry Perspective Session I
 

Dernier

How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17Celine George
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSyedNadeemGillANi
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICESayali Powar
 
Over the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxOver the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxraviapr7
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeCeline George
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17Celine George
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfMohonDas
 
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...M56BOOKSTORE PRODUCT/SERVICE
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxheathfieldcps1
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17Celine George
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfMohonDas
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdfJayanti Pande
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.raviapr7
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxvidhisharma994099
 

Dernier (20)

How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17How to Show Error_Warning Messages in Odoo 17
How to Show Error_Warning Messages in Odoo 17
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptxSOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
SOLIDE WASTE in Cameroon,,,,,,,,,,,,,,,,,,,,,,,,,,,.pptx
 
Quality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICEQuality Assurance_GOOD LABORATORY PRACTICE
Quality Assurance_GOOD LABORATORY PRACTICE
 
Over the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptxOver the counter (OTC)- Sale, rational use.pptx
Over the counter (OTC)- Sale, rational use.pptx
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
How to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using CodeHow to Send Emails From Odoo 17 Using Code
How to Send Emails From Odoo 17 Using Code
 
How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17How to Make a Field read-only in Odoo 17
How to Make a Field read-only in Odoo 17
 
Finals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quizFinals of Kant get Marx 2.0 : a general politics quiz
Finals of Kant get Marx 2.0 : a general politics quiz
 
Diploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdfDiploma in Nursing Admission Test Question Solution 2023.pdf
Diploma in Nursing Admission Test Question Solution 2023.pdf
 
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...KARNAADA.pptx  made by -  saransh dwivedi ( SD ) -  SHALAKYA TANTRA - ENT - 4...
KARNAADA.pptx made by - saransh dwivedi ( SD ) - SHALAKYA TANTRA - ENT - 4...
 
The basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptxThe basics of sentences session 10pptx.pptx
The basics of sentences session 10pptx.pptx
 
How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17How to Create a Toggle Button in Odoo 17
How to Create a Toggle Button in Odoo 17
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
HED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdfHED Office Sohayok Exam Question Solution 2023.pdf
HED Office Sohayok Exam Question Solution 2023.pdf
 
10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf10 Topics For MBA Project Report [HR].pdf
10 Topics For MBA Project Report [HR].pdf
 
Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.Drug Information Services- DIC and Sources.
Drug Information Services- DIC and Sources.
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
Protein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptxProtein Structure - threading Protein modelling pptx
Protein Structure - threading Protein modelling pptx
 

BIS03 Data Modelling - I

  • 1. Business Information Systems Data Modeling - I Prithwis Mukerjee, Ph.D.
  • 2. What is a Data Model? DATA MODEL The specification of data structures and business rules to represent business requirements. student id student last name student first name student dormitory student major STUDENT course id course title course number of credits course location course instructor name COURSE attends/ is taught to
  • 3.
  • 4.
  • 5.
  • 6. CDM
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. How do we determine keys? CANDIDATE KEY Any attribute or group of attributes which serves to uniquely identify each instance of an ENTITY. BOOK BOOK BOOK author first name author last name book title book edition book publisher book year published book isbn book lc catalog number author first name author last name book title book edition book publisher book year published book isbn book lc catalog number author first name author last name book title book edition book publisher book year published book isbn book lc catalog number
  • 13.
  • 14. Surrogate Keys transaction id account id customer id cash machine id transaction date CASH MACHINE TRANSACTION account id customer id cash machine id transaction date SURROGATE KEY A contrived, non-intelligent, single-attribute key used to replace a long composite key. Composite Key Surrogate Key CASH MACHINE TRANSACTION
  • 15. Relationships MOVIE MOVIE COPY is rented as RELATIONSHIP A logical link between two entities that represents a business rule or constraint.
  • 16. Foreign Keys FOREIGN KEY (FK) A primary key of a parent entity that is contributed to a child entity across a relationship. contains order number (FK) line item sequence number product code line item quantity line item number line item description LINE ITEM ORDER order number order date order sales representative order customer
  • 17.
  • 18.
  • 19. Relationship Cardinality PASSENGER AIRPLANE SEAT is ticketed for Z Each parent instance is related to zero, one, or more child instances Each parent instance is related to one or more child instances Each parent instance is related to zero or one child instances Each parent instance is related to exactly “N” child instances CUSTOMER ORDER places DRIVER INSURANCE POLICY covers P TIRE CAR requires N
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.

Notes de l'éditeur

  1. Data models are the communications devices used for the representation of data, generally depicting the entities or “things” of interest to an organization and the relationships between those entities. Data models are an important part of the systems development process; they improve communications with users, and provide a sound logical basis for data base design. Data modeling is the process of creating these communications devices. It is a method of visualizing informational needs and typically takes the form of an ERD (Entity Relationship Diagram). Data modeling is the process used to analyze the data, identify the relationships among these data objects, and create the data model.
  2. The Conceptual Data Model is a structured business view of the data required to support current business processes, business events, and related performance measurements. This is a single integrated data structure which reflects the structure of the business functions rather than processing flow or physical arrangement of data. It represents the overall logical structure of data required to support the business requirements independent of any software or data storage structure. A conceptual model often contains data objects not yet implemented in physical databases. It is a formal representation of the data needed to run an enterprise or a business activity.
  3. The conceptual model can then be used to create the logical level, which maps to the designer view in the Zachman framework. The logical model would still be without reference to any specific DBMS, however it would include references to characteristics of databases that are generic in nature (i.e. indices, integrity constraints). It also adds more key and non-key attributes. A Conceptual Data Model represents the entities, which the owners feel are important for doing business. It gives a formal representation of the data needed to run an enterprise or a business activity. The conceptual data model is the owner’s view of the business, and will communicate the framework of the organization to the designers. Conceptual Data Models should be reviewed with business and technical users to ensure the following: to enforce common names, data types and size for the same data elements residing in the operational data store and the data warehouse to enforce common definitions of terms across environments and different business units to ensure agreement on the scope of the data requirements. The Conceptual Data Model (CDM), in conjunction with the business process model, will be used to design both OLTP (On-line Transactional Processing) systems and OLAP (On-line Analytical Processing) systems.
  4. A Logical Data Model builds upon the business requirements and includes a further level of detail that supports both the business and system requirements. Like the Conceptual Data Model, the Logical Data Model is independent of specific software and data storage structures. Indexes and foreign keys are characteristics of databases that are generic in nature and required of the system for processing. Therefore, a Logical Data Model stores those characteristics without adding anything specific to a single DBMS. Once the development of the logical model is complete, this model can be used to create the physical data model, also known as the builder’s view. This model will reflect characteristics of databases that are the specific requirements of the data stores and the DBMS.