Quiz 2 - Ch 6 Flashcards
Process of evaluating and correcting table structures to minimize data redundancies : N…………..
Normalization
Reduces data anomalies: N……..
Normalization
H……… normal forms are better than l…….. normal forms
Higher / lower
… is as high as we need to go in normalization process
3NF
Produces a lower normal form: D………..
Denormalization
Results in increased performance and greater data redundancy: D……….
Denormalization
Need for Normalization
Used while d………a new d………. s…….
Analyzes the r………… among the a……… within each e…..
Determines if the s……….. can be i………….
Improves the existing d………. s…….. and creates an appropriate d…….. d……..
Used while designing a new database structure
Analyzes the relationship among the attributes within each entity
Determines if the structure can be improved
Improves the existing data structure and creates an appropriate database design
Characteristic of 1NF: Table f….., no repeating g….., and P…. k….. identified
format/ groups/ primary key
Characteristic of 2NF: 1NF and no p…….. d……….
partial dependecies
Characteristic of 3NF: 2NF and no t………. d……….
transitive dependencies
Characteristic of 4NF:3NF and no i……… m…………. d………
independent multivalued dependecies
Functional dependence in which the determinant is only part of the primary key: P…….. d……….
Partial Dependency
PK(A,B)->(C,D), B->C
An attribute functionally depends on another nonkey attribute: T…………… d…………
Transitive dependency
PK(X)->Y, Y->Z, Then X->Z
Requirements for Good Normalized Set of Tables
Evaluate P….. K….. assignments and n…….. c…………
Refine a……… a……..
Identify new a……… and new r……….
Refine p….. k…… as required for data granularity
Maintain h…….. a……… and evaluate using d…….. a……….
Evaluate PK assignments and naming conventions
Refine attribute atomicity
Identify new attributes and new relationships
Refine primary keys as required for data granularity
Maintain historical accuracy and evaluate using derived attributes
A…….. a………..: Cannot be further subdivided
Atomic attribute
A…………: Characteristic of an atomic attribute
Atomicity
G……… : Level of detail represented by the values stored in a table’s row
Granularity
S………. K…….. :Used by designers when the primary key is considered to be unsuitable
Surrogate Keys
S………. K……..: Have a numeric value which is automatically incremented for each new row
Surrogate Keys
Characteristic of BCNF: Every d……….. is a c…….. k….
determinant / candidate / key
Same characteristics as primary key but not chosen to be the primary key: C………… K………..
Candidate Key
N………… should be part of the design process
Normalization
Proposed entities must meet the required normal form b…… table structures are created
before
Principles and normalization procedures to be understood to r……… .and m…….. databases
redesign / modify
ERD is created through an i……….. process
iterative
Normalization focuses on the c……….of specific e………..
characteristics / entities
Number of database tables e……. when tables are decomposed to conform to n………requirements
expands / normalization
Circumstances for denormalization: R......... data D............ data P.................data I................. requirements
Redundant data
Derived data
Reaggregated data
Information requirements