Chapter 2 - Modeling Data in the Organization

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 32

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

33 Terms

1

attributes

The data you are interested in capturing about the entitty

New cards
2

Strong entity

  • exists independently of other types of entities

  • has its own unique identifier

    • Identifier underlined with a single line

New cards
3

Weak entity

  • dependent on a strong entity (identifying owner); cannot exist on its own

  • does not have a unique identifier (only a partial identifier)

  • Entity box and partial identifier have double lines

New cards
4

Identifying relationship

Links strong entities to weak entities

  • Double parallel lines

New cards
5

Criteria for Identifiers

  • Choose identifiers that

    • Will not change in value

    • Will not be null

  • Has to be unique

  • Used underscore and bold

  • Avoid intelligent identifiers (e.g., containing locations or people that might change)

  • Substitute new, simple keys for long, composite keys

New cards
6

Multiple Relations

Two entities can have more than one type of relationships between them (multipple relations

New cards
7

Associative Entity

Combination of relationship and entity. Serves to link other entities together in a many-to-many relationship.

  • All relationships for the associative entity should be many

  • Meaningful independent of the other entities

  • Unique identifier, and should also have other attributes

  • May participate in other relationships other than the entities of the associated relationship

  • Convert ternary relationships to associative entities

New cards
8

Instances & Cardinality of Relationship

  • One to one

    • Each entity in the relationship will have exactly one related entity

  • One to many

    • An entity on one side of the relationship can have many related entities, but an entitty on the other side will have a max of one related entity

  • Many-to-Many

    • Entities on both sides of the relationship can have multiple

New cards
9

Guidelines for Naming Entities

  • singular noun

  • specific to organization

  • concise, or abbreviation

  • for event entities, the result not the process

  • name consistent for all diagrams

  • “An X is..”

  • describe unique characteristics of each instance

  • explicit about what is and is not the entity

  • when an instance is created or destroyed

  • changes to other entity types

  • history that should be kept

New cards
10

Naming Attributes

  • Name should be singular noun or noun phrase

  • Unique

  • Follow a standard format

  • Similar attirbutes of different entityt types should use the same qualifers and classes

New cards
11

Defining Attributes

  • State source of values

  • State whether attribute value can change once set

  • Specific whether required or optional

  • State min and max number of occurrences allowed

  • Indicate relationships with other attributes

New cards
12

Cardinality Constraints

The number of instances of one entity that can or must be associated with each instance of another entity

  • Minimum cardinality

    • If zero then optional

    • If one or more then mandatory

  • Maximum Cardinality

    • The maximum number

New cards
13

classification of attribute: required vs optional

  • Required:

    • Must have a value for every entity instance with which it is associated

  • Optional:

    • May not have a value for every entity instance

New cards
14

classification of attribute: simple vs composite

  • Composite:

    • Made up of multiple elements. List attribute name and in parentheses list components that make it up

    • (Sub-attributes)

      • Parentheses is composite

      • Employee Address(Street Address, City, State, Postal Code)

  • Simple:

    • Cannot be split in to further attributes

    • Atomic attribute

      • ex; SSN (Social Security Number)

New cards
15

classification of attribute: single-valued vs multivalued

  • Multivalued: More than one value for a given entity (or relationship)

  • An employee can have more than one skill

    • Curly bracket to signify multivalued

    • Data Employedd {Skill}

  • Single-valued: Attributes having single value for particular entity

    • Ex: Age

New cards
16

classification of attribute: stored versus derived

  • Derived: Values can be calculated from related attribute values (not physically stored in the database)

  • Years employed calculated from date employed and current date

    • [Years Employed]

    • Square bracket

  • Stored: Attributes from which the values of other attributes are derived

    • Age

New cards
17

classification of attribute: identifier (key)

An attribute (or combo of attributes) that uniquely identifies individual instances of an entity type

New cards
18

simple versus composite identifier

New cards
19

Candidate Identifier

an attribute that could be an identifier; it satisfies the requirements for being an identifier

New cards
20

modeling relationships: relationship types vs. relationship instance

  • The relationship type is modeled as lines between entity types. The relationship instance is between specific entity instances.

New cards
21

modeling relationships: relationships can have attributes

  • These describe features pertaining to the association between the entities in the relationship

New cards
22

modeling relationships: multiple relationships

two entities can have more than one type of relationship between them

New cards
23

Time stamp

a time value that is associated with a data value, often indicating when some event occurred that affected the data value

The Price History attribute is both multivalued and composite

New cards
24

Enterprise Resource Planing (ERP)

A class of systems that integrated all functions of the enterprise, such as manufacturing, sales, finance, marketing, inventory, accounting, and human resources

New cards
25

data warehouse

an integrated decision support database whose content is derived from the various operational databases

New cards
26

data lake

a large integrated repository for internal and external data that does not follow. predefined schema

New cards
27

enterprise data model

the first step in database development, in which the scope and general contents of organizational database are specified

New cards
28

conceptual data model

a detailed, technology-independent specification of the overall structure of organizational data

New cards
29

logical data model

The representation of data for a particular data management technology (such as the relational model). In the case of a relational data model, elements include tables, columns, rows, primary and foreign keys, as well as constraints.

New cards
30

physical data model

Physical data model. A set of specifications that detail how data from a logical data model (or schema) are stored in a computer’s secondary memory for a specific database management system. There is one physical data model (or schema) for each logical data model.

New cards
31

identifying relationship

The relationship between a weak entity type and its owner

New cards
32

Business Rule

 A statement that defines or constrains some aspect of the business  

New cards
33

associative attribute

New cards

Explore top notes

note Note
studied byStudied by 344 people
752 days ago
5.0(2)
note Note
studied byStudied by 5 people
815 days ago
5.0(1)
note Note
studied byStudied by 138 people
970 days ago
5.0(1)
note Note
studied byStudied by 16 people
691 days ago
5.0(2)
note Note
studied byStudied by 35 people
861 days ago
5.0(1)
note Note
studied byStudied by 16 people
720 days ago
5.0(1)
note Note
studied byStudied by 31 people
521 days ago
5.0(1)
note Note
studied byStudied by 15 people
741 days ago
5.0(2)

Explore top flashcards

flashcards Flashcard (33)
studied byStudied by 9 people
757 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 4 people
543 days ago
5.0(3)
flashcards Flashcard (22)
studied byStudied by 57 people
708 days ago
4.5(2)
flashcards Flashcard (50)
studied byStudied by 5 people
554 days ago
5.0(1)
flashcards Flashcard (42)
studied byStudied by 12 people
485 days ago
5.0(1)
flashcards Flashcard (33)
studied byStudied by 1 person
694 days ago
5.0(1)
flashcards Flashcard (31)
studied byStudied by 23 people
780 days ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 18568 people
709 days ago
4.5(362)
robot