Chapter 3 Flashcards
<p>Define relational database</p>
<p>enables logical representation of the data and its relationships
</p>
<p>what facilitates the creation of data relationships based on a logical construct?</p>
<p>Relation</p>
<p>Define table</p>
<p>two-dimensional structure composed of rows and columns</p>
<p>define key</p>
<p>one or more attributes that determine other attribute</p>
<p>What is the key's role based on?</p>
<p>determination</p>
<p>define functional dependence</p>
<p>attribute B is functionally dependent on A if all rows in table agree in value for A also agree in value for B</p>
<p>define primary key</p>
<p>Attribute or combination of attributes that uniquely identifies any given row
</p>
<p>composite key</p>
<p>Composed of more than one attribute
| </p>
<p>super key</p>
<p>Any key that uniquely identified each row
| </p>
<p>candidate key</p>
<p>A super key without unnecessary attributes
| </p>
<p>Entity integrity key</p>
<p>Each row (entity instance) in the table has its own unique identity
</p>
<p>Nulls</p>
<p>No data entry, Not permitted in primary key, &amp; should be avoided in other attributes.
</p>
<p>Foreign Key</p>
<p>An attribute whose values match primary key values in the related table
</p>
<p>referential integrity</p>
<p>FK contains a “VALID” value that refers to an existing valid tuple (row) in another relation</p>
<p>T/F, many RDBM's do not enforce integrity rules automatically</p>
<p>F</p>
<p>inner join</p>
<p>only returns matched records from the tables that are being joined</p>
<p>natural join</p>
<p>links tables by selecting rows with common values in common attributes</p>
<p>Outer join</p>
<p>matched pairs are retained and any unmatched values in other table are left null</p>
<p>Data dictionary</p>
<p>Provides detailed accounting of all tables found within the user/designer-created database
Contains (at least) all the attribute names and characteristics for each table in the system
Contains metadata: data about data
</p>
<p>system catalog</p>
<p>Contains metadata
Detailed system data dictionary that describes all objects within the database
</p>
<p>homonym</p>
<p>Indicates the use of the same name to label different attributes
</p>
<p>synonym</p>
<p>Indicates the use of different names to describe the same attribute
</p>
<p>1:M</p>
<p>Relational modeling ideal
Should be the norm in any relational database design
</p>
<p>1:1</p>
<p>Should be rare in any relational database design
| </p>
M:N relationships |
Cannot be implemented as such in the relational model Can be changed into 1:M relationships
What does data redundancy lead to?
data anomalies
what functions do foreign keys play?
Control data redundancies by using common attributes shared by tables Crucial to exercising data redundancy control
Indexes
Orderly arrangement to logically access rows in a table |
Index key
Index’s reference point Points to data location identified by the key
unique index
Index in which the index key can have only one pointer value (row) associated with it
t/f, each index is associated with only one table
T
define entity
an entity is a single person, place, or thing about which data can be stored.
degrees
number of entities in a relationship
unary relationship
A unary relationship is when both participants in the relationship are the same entity.
binary relationship
two entities participate and is the most common relationship degree.
cardinality
refers to the uniqueness of data values contained in a particular column (attribute) of a database table.
attribute
may describe a component of the database, such as a table or a field, or may be used itself as another term for a field.
associative entity
associates the instances of more or more entity types and contains attributes that are specific to the relationship between those entity instances.
an entity is also called a blank
object
an object of interest to the end user
entity
characteristics of entities
attributes
attribute that must have value
required attribute |
required attribute
attribute that must have value
attribute that does not require a value
optional attribute
optional attribute
attribute that does not require a value
attribute that does not require a value
optional attribute
set of possible values for a given attribute
domain
domain
set of possible attributes for a given domain
one or more attributes that uniquely identify each entity instance
identifiers (primary keys)
primary key composed of more than one attribute
composite key
an attribute that can be further subdivided to yield additional attributes
composite attribute
an attribute that cannot be subdivided
simple attribute
Address is an example of a what?
composite attribute
age is an example of what
simple attribute
attribute whose value is calculated from other attributes
derived attribute
entities that participate in a relationship
participants
describes relationship classification
connectivity
expresses the minimum and maximum number of entity occurrence associated with one occurrence of the related entity
cardinality
crows feet are a form of
cardinality
can exist in the database only when it is associated with another related entity occurence
existence dependent
an entity that can exist apart from all of its related entities
existence independent
existence independent is also referred to as
strong entity or regular entity
exists if the primary key of the related entity does not contain a primary component of the parent entity
weak relationship
when the primary key of the related entity contains a primary key component of the parent entity
strong relationship
number of entities or participants associated with a relationship
relationship degree
when an association is maintained within a single entity
unary
two entities are associated
binary
three entities are associated
ternary
an entity that cannot be uniquely identified by its attributes alone
weak entity
a bridge table is also called
associative entity
a joint table is also referred to as
associative entity or bridge table
An entity which has its own key attribute is a regular entity.
regular entity or strong entity
An entity which depends on other entity for its existence and doesn't have any key attribute of its own
weak entity
In a parent/child relationship, a parent is considered as a strong entity and the child is what kind of entity
weak entity
the age of a student is considered what kind of attribute?
single value attribute
the telephone number of an employee is considered what kind of attribute?
multi-valued attribute
An employee works for an organization. Here "works for" is a what?
relationship
define data
raw facts
define information
result of processing raw data
result of processing raw data
information
knowledge
the body of information and facts about a specific subject
the body of information and facts about a specific subject
knowledge
data management
focuses on the proper generation, storage, and retrieval of data
focuses on the proper generation, storage, and retrieval of data
data management
database
shared, integrated computer structure that stores a collection of end-user data and metadata
shared, integrated computer structure that stores a collection of end-user data and metadata
database
database management system
collection of programs that manages the database structure and controls access to data in database
collection of programs that manages the database structure and controls access to data in database
database management system
data inconsistency
different versions of the same data appear in different places
different versions of the same data appear in different places
data inconcistency
query
specific request issued to the DBMS
ad hoc query
spur of the moment question
spur of the moment question
ad hoc query
data quality
approach to promoting the accuracy, validity, and timeliness of data
approach to promoting the accuracy, validity, and timeliness of data
data quality
single-user database
supports only one use at a time
supports only one use at a time
single-user database
what is another word for single-user database?
desktop database
multiuser database
supports multiple users at the same time
supports multiple users at the same time
multiuser database
multiuser database is also called
workgroup database
enterprise database
used for an organization or more than 50 users
used for an organization or more than 50 users
enterprise database
centralized database
supports data located at a single site
supports data located at a single site
centralized database
distributed database
supports data distributed across several sites
supports data distributed across several sites
distributed database
operational database
support a company's day to day operations
support a company's day to day operations
operational database
operational databases are also referred to as
production database
analytical database
stores historical data and business metrics used for tactical or strategic decision making
stores historical data and business metrics used for tactical or strategic decision making
analytical database
data warehouse
stores data in a format optimized for decision support
online analytical processing
set of tools that work together to provide an advanced data analysis environment for retrieving, processing and modeling data
set of tools that work together to provide an advanced data analysis environment for retrieving, processing and modeling data
online analytical processing
business intelligence
comprehensive approach to capture and process business data with the purpose of generating info to support decision making
comprehensive approach to capture and process business data with the purpose of generating info to support decision making
business intelligence
Unstructured data
data that exist in their raw state
data that exist in their raw state
Unstructured data
structured data
result of formatting unstructured data to facilitate storage, use, and generation of info
result of formatting unstructured data to facilitate storage, use, and generation of info
structured data
Semistructured data
partly processed data
Extensible Markup Language (XML)
language used to represent and manipulate data elements in a text format
language used to represent and manipulate data elements in a text format
Extensible Markup Language (XML)
extended entity relationship model (EERM)
results from adding more semantic constructs to the original ER model
results from adding more semantic constructs to the original ER model
extended entity relationship model (EERM)
entity supertype
generic entity type that is related to one or more entity subtypes
generic entity type that is related to one or more entity subtypes
entity subtype
specialization hierarchy
depicts the arrangement of higher-level entity supertypes
enables an entity subtype to inherit the attributes and relationships of the supertype
inheritance
attribute that determines to which subtype the supertype is related
subtype discriminator
Subtypes that contain a unique subset of the supertype entity set
disjoint types
specifies whether each entity supertype occurence must also be a member of at least one subtype
completeness constraint
virtual entity type used to represent multiple entities into a single, abstract entity object
entity cluster
real-world, generally accepted identifier that uniquely identifies real-world objects
natural key (natural identifier)
when a relationship is improperly or incompletely identified
design trap
one entity in two 1:M relationships to other entities
fan trap
gives logical structure to a database graphically
entity relationship diagram
Lengthy development times, difficulty getting quick answers, complex system administration, lack of security and data sharing and extensive programming are examples of what?
problems with the traditional file system