Java Games: Flashcards, matching, concentration, and word search.

DB Final Review

CS487 Final Exam Review

AB
entity typegroup of objects with the same properties, which are identified by the enterprise as having an independent existence
entity occurrencea uniquely identifiable object of an entity type
relationship typeset of meaningful associations among entity types
relationship occurrencea uniquely identifiable association, which includes one occurrence from each participating entity type
degree of a relationship typethe number of participating entity types in a relationship
recursive relationshipa relationship type where the same entity type participates more than once in different roles
attributea property of an entity or a relationship type
attribute domainthe set of allowable values for one or more attributes
simple attributecomposed of a single component with an independent existence
composite attributecomposed of multiple components each with an independent existence
single-valued attributeholds a single value for each occurrence of an entity type
multi-valued attributeholds multiple values for each occurrence of an entity type
derived attributerepresentes a value that is derivable from the value of a related attribute or set of attributes, not necessarily in the same entity
candidate keythe minimal set of attributes that uniquely identifies each occurrence of an entity type
primary keythe candidate key that is selected to uniquely identify each occurrence of an entity type
composite keya candidate key that consists of two or more attributes
strong entity typeentity type that is NOT existence-dependent on some other entity type
weak entity typeentity type that IS existence-dependent on some other entity type
multiplicitythe number (or range) of possible occurrences of an entity type that may relate to a single occurrence of an associated entity type through a particular relationship
multiplicity for a complex relationshipthe number (or range) of possible occurrences of an entity type in an n-ary relationship when the other (n-l) values are fixed
cardinalitythe maximum number of possible relationship occurrences for an entity participating in a given relationship type
participationdetermines whether all or only some entity occurrences participate in a given relationship
fan trapexists where a model represents a relationship between entity types, but the pathway between certain entity occurrences is ambiguous
chasm trapexists where a model suggests the existence of a relationship between entity types, but the pathway does not exist between certain entity occurrences
superclassan entity type that includes one or more distinct sub-groupings of its occurrences, which require to be represented in a data model
subclassa distinct sub-grouping of occurrences of an entity type, which require to be represented in a data model
specializationthe process of maximizing the differences between members of an entity by identifying their distinguishing features
generalizationthe process of minimizing the differences between entities by identifying their common features
participation constraintdetermines whether every member in the superclass must participate as a member of a subclass
disjoint constraintdescribes the relationship between members of the subclasses and indicates whether it is possible for a member of a superclass
aggregationrepresents a "has-a" or "is-part-of" relationship between entity types, where one represents the "whole" and the other a "part"
Relations required for a Mandatory participation constraint and a nondisjoint {And} Disjoint ConstraintConstraints requiring a single relation (with one or more discriminators
Relations required for an optional participation constraint and a nondisjoint {And} Disjoint ConstraintConstraints requiring two relations: one relation for superclass and one relation for all subclasses (with one or more discriminators to distinguish the type of each tuple)
Relations required for a Mandatory participation constraint and a Disjoint {Or} ConstraintConstraints requiring many relations: one relation for each combined superclass/sublcass
Relations required for an optional participation constraint and a Disjoint {Or} ConstraintConstraints requiring many relations: one relation for superclass and one for each subclass
Concurrency controlThe process of managing simultaneous operations on the database without having them interfere with one another
Database recoverythe process of restoring the database to a correct state after a failure.
transactionan action, or series of actions, carried out by a single user or application program, that accesses or changes the contents of the database. A logical unit of work that takes the database from one consistent state to another.
committransactions terminating successfully
aborttransactions terminating unsuccessfully
undonewhat must happen to aborted transactions
ACID stands foratomicity, consistency, isolation, and durability
Atomicityall database modifications must follow an "all or nothing rule"
ConsistencyEach transaction the database performs will take it from one consistent state to another
Isolationthe requirement that other operations cannot access data that has been modified during a transaction that has not yet completed
Durabilitythe ability of the DBMS to recover the committed transaction updates against any kind of system failure
scheduleshows the sequence of operations of transactions
serializable schedulea schedule that produces the same results as some serial schedule
two-phase locking (2PL)a transaction acquires all its locks before releasing any.
timestampingtransactions are ordered in such a way that older transactions get priority in the event of a conflict
deadlockwhen two or more transactions are waiting to access data the otehr transaction has locked
The only way to break a deadlockabort one or more transactions
intention locklocking each ancestor of a node being locked to show whether descendants of nodes are locked
query processingto transform a query written in a high level language such as SQL into a correct and efficient execution strategy expressed in a low level langauge like relational algebra and to execute the strategy
heuristic rulesordering the operations in a query
phases of query processingdecomposition (parsing and validation), optimization, code generation, and execution. First three can be done either at compile or runtime
Query decompositiontransforms a high-level query into a relational algebra query and checks that the query is syntactically and sematically correct
Stages of query decompositionanalysis, normalization, semantic analysis, simplification, and query restructuring
query optimizationapplies transformation rules to convert one relational algebra expression into an equivalent expression that is known to be more efficient

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities