Podcast
Questions and Answers
What is a data model?
What is a data model?
A relatively simple representation, usually graphical, of more complex real-world data structures
Data model is a relatively complex representation of simple real-world data structures
Data model is a relatively complex representation of simple real-world data structures
False (B)
What are three benefits of data models?
What are three benefits of data models?
Saves costs, reduces development time, decreases errors
What is an entity in the context of data models?
What is an entity in the context of data models?
What are attributes in the context of data models?
What are attributes in the context of data models?
What does relationship describe in data models?
What does relationship describe in data models?
What is constraint concerning data?
What is constraint concerning data?
For every course how many HOD's are there? (write in number format)
For every course how many HOD's are there? (write in number format)
Business rules are brief, precise, and ambiguous descriptions of policies, procedures, or principles within a specific organization
Business rules are brief, precise, and ambiguous descriptions of policies, procedures, or principles within a specific organization
Business rules don't have to be kept up to date.
Business rules don't have to be kept up to date.
List two sources of discovering business rules?
List two sources of discovering business rules?
Nouns typically translate into entities
Nouns typically translate into entities
Verbs translate into relationships among entities
Verbs translate into relationships among entities
Relationships are unidirectional
Relationships are unidirectional
What are the 3 types of relationships
What are the 3 types of relationships
Give the term that completes the following sentence. Fort Hare has many ___________
Give the term that completes the following sentence. Fort Hare has many ___________
Name the person who developed the relational model in 1970.
Name the person who developed the relational model in 1970.
In what year did EF Codd receive the Turing Award?
In what year did EF Codd receive the Turing Award?
Name the language that was developed, not what Codd had developed, but still much better that what was available.
Name the language that was developed, not what Codd had developed, but still much better that what was available.
Today, microcomputers lack the ability to run sophisticated relational database software
Today, microcomputers lack the ability to run sophisticated relational database software
The relational model is implemented through a sophisticated __________
The relational model is implemented through a sophisticated __________
What is each table commonly referred to as?
What is each table commonly referred to as?
The relational diagram is not a representation of the relational database's entities
The relational diagram is not a representation of the relational database's entities
What does SQL stand for?
What does SQL stand for?
What is Data Abstraction?
What is Data Abstraction?
Designing a usable database does not follow the same basic process.
Designing a usable database does not follow the same basic process.
An ER model stands for what?
An ER model stands for what?
The conceptual model is not independent of both software and hardware
The conceptual model is not independent of both software and hardware
The physical model operates at ________ level of abstraction?
The physical model operates at ________ level of abstraction?
External Model uses engineering rules.
External Model uses engineering rules.
Flashcards
What is a data model?
What is a data model?
A relatively simple representation, usually graphical, of more complex real-world data structures.
What is an entity?
What is an entity?
A real-world object distinguishable from others; a specific person, place, thing, or event.
What is an attribute?
What is an attribute?
A characteristic or property of an entity.
What is a Relationship?
What is a Relationship?
Signup and view all the flashcards
What are Business Rules?
What are Business Rules?
Signup and view all the flashcards
Entities are...
Entities are...
Signup and view all the flashcards
Relationships are...
Relationships are...
Signup and view all the flashcards
What is the relational model?
What is the relational model?
Signup and view all the flashcards
How is the relational model is implemented?
How is the relational model is implemented?
Signup and view all the flashcards
What is a table?
What is a table?
Signup and view all the flashcards
What is a relational diagram?
What is a relational diagram?
Signup and view all the flashcards
What is SQL?
What is SQL?
Signup and view all the flashcards
What is Data Abstraction?
What is Data Abstraction?
Signup and view all the flashcards
What is the External Model?
What is the External Model?
Signup and view all the flashcards
What is the Conceptual Model?
What is the Conceptual Model?
Signup and view all the flashcards
What is the Internal Model?
What is the Internal Model?
Signup and view all the flashcards
What is the Physical Model?
What is the Physical Model?
Signup and view all the flashcards
Study Notes
Importance of Data Models
- Data models offer simple representations of real-world data structures, often in a graphical format
- Database design tools like Visio aid in creating drawings and automating the design process
- Data models reduce costs, development time and errors
- They enhance understanding of the business
- They improve communication among project role players
Data Model Basic Building Blocks
- An entity is an object in the real world and is distinguishable from others
- For example, a specific person, place, thing, or event
- Entities have attributes that describe characteristics
- For example, people
- A relationship describes the association between entities
Relationships
- Relationships represent associations among entities
- One to many (1:*) indicates one lecturer and many students
- Many to many (*: *) shows that many students study many courses
- One to one (1:1) indicates one department has one HOD
- A constraint is a restriction that is placed on data
- Constraints ensure data integrity
- For example, a student's DP percentage should fall between 0 and 100
- Each class should a teacher assigned per subject
Business Rules
- Business rules are precise, unambiguous descriptions of an organization's policies, procedures, or principles
- Business rules apply to data storage and the generation of information
Business Rules - Continued
- Business rules should be written down and regularly updated
- They need to be easy to understand and widely disseminated
- Business rules should describe the characteristics of the data
Discovering Business Rules: Sources
- Company Managers
- Policy Makers
- Department Managers
- Written Documentation:
- Procedures
- Standards
- Operations Manuals
- Direct Interviews With End Users
Discovering Business Rules: Nouns and Verbs Relationships
- Nouns typically translate into entities like customer, invoice, course, and classroom
- Verbs usually translate into relationships among entities like purchase, pay, generate invoice, and attend course
Discovering Business Rules: Relationships
- Relationships are bi-directional
- A customer may generate many invoices
- An invoice is generated by one customer
- A relationship involves the association among entities
- One to many (1:*)
- Many to many (*: *)
- One to one (1:1)
Evolution of Data Models
- Hierarchical
- Network
- Relational
- Entity relationship
- Object oriented (OO)
The Relational Model
- E.F. Codd developed the relational model in 1970
- Codd was a mathematician, a computer scientist, and a pilot during World War II
- In 1948 he moved to New York to work for IBM as a mathematical programmer and then worked for IBM in California until the 1980s
- Codd invented the relational model for database management as the theoretical basis for relational databases
- Codd received the Turing Award in 1981
Codd: Career Highlights
- Codd published “A Relational Model of Data for Large Shared Data Banks” in 1970, marking the creation of relational databases
- Initially, IBM didn’t implement the model to protect revenues from IMS/DB
- Codd demonstrated to IBM customers the model potential, who pressured IBM to include a System R subproject in its Future Systems project
- A language called SEQUEL was developed, but not by Codd, and was named SQL when it was launched
- Codd fought to prevent database vendors from misusing the term relating to older technology in the early 1980s as the term was becoming fashionable
- Codd coined the term OLAP which expanded to the twelve laws of online analytical processing
The Relational Model - Continued
- “A relational model for Large Shared Databanks” was considered impractical in 1970, but ingenious
- The model is conceptually simple
- Relational models lacked the computing power for use
- Today, microcomputers can run relational database system software
Relational Database Management Systems (RDBMS)
- The relational model implements the Relational Database Management System (RDBMS)
- The advantageous aspect of the RDBMS, is to hide the complexities of the relational model
Tables and Relations
- Tables, also known as relations, consist of a series of row/column intersections in a matrix consisting
- Tables are related by sharing a common entity characteristic
Relational Models as Logical Structures
- Tables of rows and columns provide a framework for understanding if individuals understand spreadsheets
- How the data is physically stored is not relevant to the designer or user
- This logical abstraction became the source of change for revolutionizing databases
Relational Diagrams
- A relational diagram represents entities in a relational database
- Attributes are held within those entities
- The relationships are described in their entities
Benefits of the Relational Model
- The rise to dominance of the relational model emerged due to its powerful and flexible query language
- Structured Query language, also known as SQL, provides the user what must be done, without specifying how
- SQL Based Relational database applications:
- User interface
- A set of tables stored in the database
- SQL engine
- Information is represented via entity-relationship models
Degrees of Abstraction
- Data abstraction simplifies a data portion for a simple presentation
- Abstraction reduces unnecessary features
- The way to classify data models
- Many processes begin with high level of abstraction and proceed to ever-increasing level of detail
- Design of usable database follows the same basic process
American National Standards Institute (ANSI)
- The Standards Planning and Requirements Committee (SPARC) of ANSI is an institute
- SPARC defined a framework for data modeling on degrees of abstraction in the 1970s
External Models
- Highest level of abstraction
- End users view the data environment
- Business rules implemented
External Models Advantages
- Easy data identification to support each business unit's operations
- Feedback to designer to indicate model adequacy
- Creation to ensure security constraints
- Simplification Program in Development
Conceptual Models
- Conceptual models represent global view of entire database
- View of data from the entire organization
- High-level description of main data objects
- Basis for identification, while avoiding details
- The entity relationship is the most commonly used model
Conceptual Model Features
- Provides easy macro level view of data environment - Software and hardware independent
- Not dependent on DBMS software used to implement the model
- Not dependent on the hardware used in the implementation of the model
- No effect on the database design at the conceptual level occurs from hardware or DBMS software changes
The Internal Model
- Represents the database according to the DBMS
- Maps conceptual models within
- Internal schema depicts an existing internal model
Physical Models
- The physical model operates at the lowest abstraction level
- Describes data storage on storage media - Disks and Tapes
- Hardware and software dependent
- Detailed knowledge on database designers related to hardware and software implementations
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.