56

Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

Embed Size (px)

Citation preview

Page 1: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit
Page 2: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

Data BitsSets Trans-

actionsSpecials Domains

DomainsNormalization

$100

$200

$300

$400

$500

$100 $100 $100 $100

$200 $200 $200 $200

$300 $300 $300 $300

$400 $400 $400 $400

$500 $500 $500 $500

Final DataBit

Page 3: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit
Page 4: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit
Page 5: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Sets

This includes members of either or both sets with no duplicates.

.

Page 6: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Question from Sets

What is Union?

Page 7: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Answer from Sets

This includes only those members of the set on the left side of the

expression that are not contained in the set on the right side of the

expression.

Page 8: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Question from Sets

What is Minus or Except?

Page 9: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Answer from Sets

This includes members that are common to both sets.

Page 10: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Question from Sets

What is Intersect?

Page 11: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Answer from Sets

This works like UNION, except it keeps duplicate rows in the result.

Page 12: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Question from Sets

What is Union All?

Page 13: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Answer from Sets

In order to do this all tables must have to contain the same number of objects

of the same type.

Page 14: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Question from Sets

What are set operations?

Page 15: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Transactions

Transaction is either performed in its entirety or not performed at all.

Page 16: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Question from Transactions

What is atomicity?

Page 17: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Answer from Transactions

Transaction should appear as though it is being executed separately from other transactions.

Page 18: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Question from Transactions

What is isolation?

Page 19: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Answer from Transactions

Transaction must take the database from one valid state to another.

Page 20: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Question from Transactions

What is consistency?

Page 21: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Answer from Transactions

Changes applied to the database by a committed transaction must persist, even if the system fails before all changes reflected on disk.

Page 22: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Question from Transactions

What is durability?

Page 23: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Answer from Transactions

The actual execution sequence of two or more concurrent transactions where running transactions T1 and T2 is the same effect as either T1;T2 or T2;T1.

Page 24: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Question from Transactions

What is a serializable schedule?

Page 25: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Specials

You have this when one or more attributes of a class are characteristics of only some individuals of that class,

but not of others.

Page 26: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Question from Specials

What is a subclass?

Page 27: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Answer from Specials

This is the process of designing subclasses from “top down”.

Page 28: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Question from Specials

What is specialization?

Page 29: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Answer from Specials

This is the UML notation to indicate that a class type really represents a

collection of individual components.

Page 30: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Question from Specials

What is aggregation?

Page 31: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Answer from Specials

This is a stronger form of aggregation that indicates component instances cannot exist on their own without a

parent.

Page 32: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Question from Specials

What is composition?

Page 33: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Answer from Specials

The subclass association line is labeled with these. One example is

“incomplete”.

Page 34: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Question from Specials

What are specialization constraints?

Page 35: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Domains Domains

One goal of database developers is to provide this, part of which means

insuring that the value entered in each field of a table is consistent with its

attribute domain.

Page 36: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Question from Domains Domains

What is data integrity?

Page 37: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Answer from Domains Domains

Sometimes we can devise one of these to separate good from bad data.

Page 38: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Question from Domains Domains

What is a validation rule?

Page 39: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Answer from Domains Domains

Attribute domains that may be specified by a well-defined, reasonably-sized set

of constant values are called this.

Page 40: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Question from Domains Domains

What are enumerated domains?

Page 41: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Answer from Domains Domains

This goal of database developers is to ensure that the value entered in each field of a table is consistent

with its attribute domain.

Page 42: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Question from Domains Domains

What is data integrity?

Page 43: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Answer from Domains Domains

This type of association connects a single class type (serving in one role) to

itself (serving in another role).

Page 44: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Question from Domains Domains

What is a recursive association?

Page 45: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Answer from Normalization

This is a process of applying a set of rules to your database design, mostly

to achieve minimum redundancy in the data.

Page 46: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$100 Question from Normalization

What is normalization?

Page 47: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Answer from Normalization

This normal form eliminates subkeys where the subkey is part of a

composite primary key..

Page 48: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$200 Question from Normalization

What is second normal form?

Page 49: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Answer from Normalization

This normal form eliminates subkeys where the subkey is not part of the

primary key.

Page 50: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$300 Question from Normalization

What is third normal form?

Page 51: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Answer from Normalization

This normal form eliminates multi-values attributes and repeated

attributes.

Page 52: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$400 Question from Normalization

What is first normal form?

Page 53: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Answer from Normalization

This form of normalization is only affected by relations with overlapping

candidate keys.

Page 54: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

$500 Question from Normalization

What is Boyce Codd Normal Form?

Page 55: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

Final DataBitTrivia

This computer scientist developed the

relational model database for IBM in the

1970s.

Page 56: Data Bits Sets Trans- actions Specials Domains Normalization $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit

Final DataBit

Who is Dr. E.F. Codd?