Lect 2- Chapter 02-03 - Database System Concepts and ERD
Lect 2- Chapter 02-03 - Database System Concepts and ERD
Navathe Slide 2- 1
Chapter 2
Database System Concepts and
Architecture
◼ Schema Diagram:
◼ An illustrative display of (most aspects of) a
database schema.
◼ Schema Construct:
◼ A component of the schema or an object within
the schema, e.g., STUDENT, COURSE.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 6
Example of a Database Schema
Some aspects are not specified in the schema diagram; Figure 2.1 shows neither the
data
Copyright typeElmasri
© 2007 Ramez of data items,
and Shamkant nor relationships among various files.
B. Navathe Slide 2- 7
Database State (Instance)
◼ Database State:
◼ The actual content (data) stored in a database at a
particular moment in time. This includes the
collection of all the data in the database.
◼ Also called database instance (occurrence
/snapshot)
◼ The term instance is also applied to individual database
components, e.g. record instance, table instance, entity
instance
◼ Composite ()
◼ The attribute may be composed of several
components. For example:
◼ Address (Apt#, House#, Street, City, State, ZipCode,
Country)
◼ Name (FirstName, MiddleName, LastName).
◼ Composition may form a hierarchy where some
components are themselves composite.
◼ It may have upper bounds to constrain the number of values allowed for
each individual entity (Ex: a car can have three colors at most)
◼ Complex Attributes: In general, composite and multi-valued
attributes may be nested arbitrarily to any number of levels,
although this is rare.
◼ For example, College_degree of a STUDENT is a composite