Total Pageviews

Friday, February 10, 2012

2B:Entities, Instances, Attributes, and Identifiers

Purpose: Knowing how to organize and classify data makes it possible to draw useful conclusions about seemingly random facts. Our technology-rich world produces vast quantities of facts in need of structure and order. 


 - It is important to learn about these entities because they are the things abut which we store data.
 - It is important to learn about attributes because they provide more information about entities. 
 - It is important to learn about unique identifiers because they distinguish one instance of an entity from another.

An Entity is...

- Something of significance to a businesss about which data must be known.
- A name for a set of familiar things you can list.
- Usually a noun.

Examples:Objects, events, people.


*Remember* : Entities have instances. An instance is a single occurrence of an entity.

What is an Attribute?

 - Like an entity, an attribute represents something of significance to the business.

An attribute is a specific piece of information that:

  • Describes an entity.
  • Quantifies an entity.
  • Qualifies an entity.
  • Classifies an entity.
  • Specifies an entity.



 - Attributes are single-valued. Each attribute can have only one value (at any point in time) for each instance of the entity.

 - Some attributes, like "age", have values that are constantly changing. these types of attributes are referred to as volatile attributes.

 - Other attributes like "order date" will change rarely, if ever. These are referred to as nonvolatile attributes.
If there is ever a choice between attributes, use the nonvolatile one. For example: Use birth date instead of age.

2A:Conceptual & Physical Models

Purpose: When you are able to recognize and analyze information, you can better understand how things work and potentially make them better. 

What is a Conceptual Model?
 - They model functional and informational needs of a business.
 - Based on current needs and may reflect future needs.
 - Deals exclusively with business needs, does not deal with implementation problems.
 - Called "Entity Relationship Model"
 - Shown with an "Entity Relationship Diagram" (ERD)

What are the purposes of a Conceptual Model?
 - To describe exactly the information needs of a business.
 - Facilitate discussion.
 - Prevent mistakes, misunderstandings.
 - Form important "ideal system" documentation.
 - Form a sound basis for physical change design.
 - Document the processes of the business. (Business Rules)
 - Take into account regulations and laws governing this industry.

What is a Physical Model?
 - Quite frankly, the physical model is nothing more than the finished product.