04.06.2015 Views

Database Modeling and Design

Database Modeling and Design

Database Modeling and Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

234 Glossary<br />

entity instance (or occurrence)—A particular occurrence of an<br />

entity. For example, an instance of the entity actor would be<br />

Johnny Depp.<br />

entity-relationship (ER) diagram—A diagram (or graph) of entities<br />

<strong>and</strong> their relationships, <strong>and</strong> possibly the attributes of those entities.<br />

entity-relationship (ER) model—A conceptual data model involving<br />

entities, relationships among entities, <strong>and</strong> attributes of those<br />

entities.<br />

exclusion constraint—A symbol (+) between two relationships in the<br />

ER model with a common entity that implies that either one relationship<br />

must hold at a given point in time, or the other must<br />

hold, but not both.<br />

existence dependency—A dependency between two entities such that<br />

one is dependent upon the other for its existence, <strong>and</strong> cannot<br />

exist alone. For example, an employee work-history entity cannot<br />

exist without the corresponding employee entity. Also refers to<br />

the connectivity between two entities as being m<strong>and</strong>atory or<br />

optional.<br />

fact table—The dominating table in a data warehouse <strong>and</strong> its star<br />

schema, containing dimension attributes <strong>and</strong> data measures at the<br />

individual data level.<br />

fifth normal form (5NF)—A table is in fifth normal form (5NF) if <strong>and</strong><br />

only if there are no possible lossless decompositions into any subset<br />

of tables; in other words, if there is no possible lossless decomposition,<br />

then the table is in 5NF (see Section 6.5).<br />

file—A collection of records of the same type. For example, an<br />

employee file is a collection of employee records.<br />

first normal form (1NF)—A table is in first normal form (1NF) if <strong>and</strong><br />

only if there are no repeating columns of data taken from the<br />

same domain <strong>and</strong> having the same meaning.<br />

foreign key—Any attribute in a SQL table (key or nonkey) that is taken<br />

from the same domain of values as the primary key in another<br />

SQL table <strong>and</strong> can be used to join the two tables (without loss of<br />

data integrity) as part of a SQL query.<br />

fourth normal form (4NF)—A table is in fourth normal form (4NF) if<br />

<strong>and</strong> only if it is at least in BCNF <strong>and</strong> if whenever there exists a<br />

nontrivial multivalued dependency of the form X->>Y, then X<br />

must be a superkey in the table.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!