Chapter 2 Flashcards
Data modeling (67 cards)
Data modeling
Interactive and progressive process of creating a specific data model for a determined problem domain
Model
Abstraction of a more complex real-world object or event
Data model
Simple representation of a complex real-world data structures
importance of data models
Facilitates communication
Gives various views of the database
Organizes data for various users
Provides an abstraction of the creation of a good database.
Entity
Person, place, thing or event about which data will be collected and stored.
Attribute
Characteristic of an entity
Relationship
Association among entities
One-to-many (1:M, 1..*)
Many-to-many (M:N, ..)
One-to-one (1:1, 1..1)
Constraint
Restriction placed on data.
A set of rules that ensures data integrity.
Business rule
A brief, precise and unambiguous description of a policy, procedure or principle.
Business rule uses
Create and enforce actions within that organisation’s environment (define basic building blocks)
Establish entities, relationships and constraints (distinguishing characteristics of the data).
Sources of business rules
Company managers
Policy makers
Department managers
Written documentation
Direct interviews with end users
Reasons for identifying and documenting business rules
Standardise company’s view of data
Facilitate communications tool between users and designers
Assists designers
How business rules assist designers
Understand the nature, role, scope of data and business processes
Develop appropriate relationship participation rules and constraints
Create an accurate data model
How business rules help with entities and stuff
Nouns translate to entities
Verbs translate into relationships among entities
Entity name requirements
be descriptive of the objects in the business environment
Use terminology that is familiar to the user
Attribute name
Required to be descriptive of the data represented by the attribute
Proper naming
Facilitates communication between parties
Promotes self-documentation
Hierarchical Models
Developed to manage large amount of data for complex manufacturing projects
Represented by an upside-down tree which contains segments (equivalent of a file system’s record type)
Depicts a set of (1:M) relationships
Network Models
Created to represent complex data relationships effectively
Improved database performance and imposed a database standard
Allows a record to have more than one parent
Depicts both 1:1 and M:N relationships
Schema
Conceptual organisation of the entire database as viewed by the database administrator
Subschema
Portion of the database seen by the application programs that produce the desired information from the data within the database.
Data manipulation language (DML)
Environment in which data can be managed and is used to work with the data in the database
Schema data definition language (DDL)
Enables the database administrator to define the schema components.
The relational model
Produced an “automatic transmission” database that replaced “standard transmission” databases.