Chapter 4: Relational Databases Flashcards
database
a set of interrelated, centrally coordinated data files that are stored with as little data redundancy as possible
database management system (DBMS)
the program that manages and controls the data and the interfaces between the data and the application programs that use the data stored in the database
database system
the database, the DBMS, and the application programs that access the database through the DBMS
database administrator
the person responsible for coordinating, controlling, and managing the database
data warehouse
very large databases containing detailed and summarized data for a number of years that are used for analysis rather than transaction processing
business intelligence
analyzing large amounts of data for strategic decision making
online analytical processing (OLAP)
using queries to investigate hypothesized relationships among data
data mining
using sophisticated statistical analysis to “discover” unhypothesized relationships in the data
record layout
document that shows the items storied in a file, including the order and length of the data fields and the type of the data stored
logical view
how people conceptually organize, view, and understand the relationships among data items
physical view
the way data are physically arranged and stored in the computer system
schema
a description of the data elements in a database, the relationships among them, and the logical model used to organize and describe the data
conceptual-level schema
the organization-wide view of the entire database that lists all data elements and the relationships between them
external-level schema
an individual user’s view of portions of a database; also called a subschema
subschema
a subset of the schema; the way the user defines the data and the data relationships
internal-level schema
a low-level view of the entire database describing how the data are actually stored and accessed
data dictionary
information about the structure of the database, including a description of each data element
data definition language (DDL)
DMBS language that builds the data dictionary, creates the database, describes logical views, and specifies record or field security constraints
data manipulation language (DML)
DBMS language that changes database content, including data element creations, updates, insertions, and deletions
data query language (DQL)
high-level, English-like DBMS language that contains powerful, easy-to-use commands that enable users to retrieve, sort, order, and display data
report writer
DBMS language that simplifies report creation
data model
an abstract representation of database contents
relational data model
a two-dimensional table representation of data; each row represents a unique entity (record) and each column is a field where record attributes are stored
tuple
a row in a table that contains data about a specific item in a database table
primary key
database attribute, or combination of attributes, that uniquely identifies each row in a table
foreign key
an attribute in a table that is also a primary key in another table; used to link the two tables
update anomaly
improper database organization where a non-primary key item is stored multiple times; updating the item in one location and not the others causes data inconsistencies
insert anomaly
improper database organization that results in the inability to add records to a database
delete anomaly
improper organization of a database that results in the loss of all information about an entity when a row is deleted
relational database
a database built using the relational data model
entity integrity rule
a nonnull primary key ensures that every row in a table represents something and that it can be identified
referential integrity rule
foreign keys which link rows in one table to rows in another table must have values that correspond to the value of a primary key in another table
normalization
following relational database creation rules to design a relational database that is free from delete, insert, and update anomalies
semantic data modeling
using knowledge of business processes and information needs to create a diagram that shows what to include in a fully normalized database (in 3NF)