Conceptual Design Flashcards
What are the three levels of ANSI-SPARC Architecture?
The three levels of ANSI-SPARC architecture are the external level, the conceptual level, and the internal level
What is the external level of ANSI-SPARC Architecture?
The external level is how the user actually views the database. The data of the database that is relevant to the user is described here.
What is the conceptual level of ANSI-SPARC Architecture?
The conceptual level is the community view of the database and it describes what data is actually stored in the database; the entities, attributes and relationships.
This level contains the logical structure of the database without thinking about any storage considerations.
What is the internal level of ANSI-SPARC Architecture?
The internal level describes the physical representation of the database on the computer; how it is actually stored.
What is meant by independence in a database?
Logical data independence means that users/applications are immune to changes to the logical structure of a database.
Physical data independence means that users/applications are immune to changes to the physical representation of the data.
logical changes would be on conceptual level, physical would be internal
What is a data model
A data model is “an integrated collection of concepts for describing and manipulating data, relationships between data, and constraints on the data in an organization.”
Quote by Connolly & Begg
What are the three design phases?
Conceptual design, logical design, and physical design.
What happens in the conceptual design phase?
A semantic model of the information used is built, independent of all physical considerations.
What happens in the logical design phase?
A database model based on a specific kind of data model is constructed, independent of any particular DBMS.
DBMS = Database Management System
What happens in the physical design phase?
The DBMS is implemented; how the data is stored on the disk.
DBMS = Database Management System
What are the main components of an entity-relationship model?
Entities/Entity Types, Relationships, Attributes and Constraints.
What is an entity?
A uniquely identifiable data object or item of interested.
Can be physical or abstract.
Belongs to an entity type. (A group of entities with the same properties)
(Jake and Sam can be two distinct entities belonging the same entity type (student)
What is a relationship?
A relationship is a relation between two ore more entity types. E.g; A branch employs staff.
Branch and staff are entity types, Employs is a relationship.
What is the degree of a relationship?
The number of entity types involved.
What are attributes?
Attributes are facts, aspects, properties or details about an entity or relationship.
Entity “staff” might have a phone number, DOB or address.
Relationship “employs” might have a start date.