Chapter 2 Flashcards
What is the first step in designing a database application?
Requirements Analysis
This step focuses on understanding what the database needs to achieve.
What model is used during the conceptual design phase of database design?
ER Model
The ER Model helps identify entities and relationships within the enterprise.
What information is considered during the conceptual design phase?
Entities, relationships, integrity constraints
This includes understanding what data to store and the rules governing it.
What is a database schema in the context of the ER Model?
A representation of entities and relationships pictorially
Often depicted using ER diagrams.
What is the purpose of logical database design?
Choose a DBMS and map an ER diagram into a relational schema
This step translates the design into a format suitable for implementation.
What does schema refinement involve?
Analyzing the current schema to identify problems and refine it
This includes normalizing relations for performance.
What is physical database design focused on?
Building indices and clustering tables
This step optimizes the physical storage of data.
What does application and security design consider?
Aspects of the application beyond the database itself
This includes user permissions and application logic.
Define ‘Entity’ in the context of the ER Model.
A real-world object distinguishable from other objects
An entity is described using a set of attributes in the database.
What is an Entity Set?
A collection of similar entities
For example, all employees are an entity set.
What is a primary key in an entity set?
A key that uniquely identifies each entity in the set
For example, SSN is a primary key for employees.
What is a Relationship in the ER Model?
An association among two or more entities
For example, an employee works in a department.
What is a Relationship Set?
A collection of similar relationships
This can involve multiple entities participating together.
What are Participation Constraints?
Rules that define whether all or some entities must participate in a relationship
For example, does every department have a manager?
Define ‘Weak Entity’.
An entity that can only be identified by considering the primary key of another entity
Weak entities require a one-to-many relationship with an owner entity.