Shared Flashcard Set

Details

MySQL definitions
Terms/Definitions
36
Computer Science
Undergraduate 2
07/05/2024

Additional Computer Science Flashcards

 


 

Cards

Term
catalog
Definition
aka data dictionary, is a directory of tables, columns, indexes, and other database objects. It just describes the database.
Term
relational database
Definition
stores data in tables, columns, and rows, similar to a spreadsheet
Term
Performance
Definition
Database systems maintain fast response times by structuring data properly on storage media and processing queries efficiently
Term
Authorization
Definition
Many database users should have limited access to specific tables, columns, or rows of a database. Database systems authorize individual users to access specific data
Term
Security
Definition
Database systems ensure authorized users only access permissible data. Database systems also protect against hackers by encrypting data and restricting access.
Term
Rules
Definition
Database systems ensure data is consistent with structural and business rules. Ex: When multiple copies of data are stored in different locations, copies must be synchronized as data is updated. Ex: When a course number appears in a student registration record, the course must exist in the course catalog.
Term
Recovery
Definition
Computers, database systems, and individual transactions occasionally fail. Database systems must recover from failures and restore the database to a consistent state without loss of data.
Term
transaction
Definition
a group of queries that must be either completed or rejected as a whole
Term
architecture
Definition
describes the internal components and the relationships between components
Term
query processor
Definition
-interprets queries -creates a plan to modify the database or retrieve data -returns query results to the application -performs query optimization to ensure the most efficient instructions are executed on the data
Term
storage manager
Definition
translates the query processor instructions into low-level file-system commands that modify or retrieve data -uses indexes to quickly locate data
Term
transaction manager
Definition
restores the database to a consistent state in the event of a transaction or system failure and uses log records to restore the database
Term
log
Definition
a file containing a complete record of all inserts, updates, and deletes processed by the database
Term
An application sends queries to the
Definition
query processor.
Term
The query processor uses information from the _______ to perform query optimization.
Definition
catalog
Term
The _______ _______ translates the _____ _________ instructions into file-system commands and uses an _____ to quickly locate the requested data.
Definition
storage manager, query processor, index
Term
The ___________ _______ logs insert, update, and delete queries, and the result is sent back to the application.
Definition
transaction manager
Term
All access to the database data must go through the _______ _______.
Definition
storage manager
Term
A ____ ____ is a data warehouse designed for a specific business area, such as sales, human resources, or product development.
Definition
data mart
Term
A ____ ____ is an analytic database of raw, unprocessed data copied from multiple data sources.
Definition
data lake
Term
The ______ _________ is a simple hash function with four steps.
Definition
modulo function
Term
A ________ _______ converts the decomposed queries to the appropriate syntax for each participating database.
Definition
database wrapper
Term
Set
Definition

An unordered collection of elements enclosed in braces.
Term
A _____ has a name, a fixed tuple of columns, and a varying set of rows.
Definition
table
Term
A ____ ____ is a named set of values, from which column values are drawn.
Definition
data type
Term
The ______ statement uses the ___ clause to specify the new column values.
Definition
UPDATE, SET
Term
___ ____ sets invalid foreign keys to NULL.
Definition
SET NULL
Term
_____() counts the number of rows in the set.
Definition
COUNT
Term
___() finds the minimum value in the set.
Definition
MIN
Term
___() finds the maximum value in the set.
Definition
MAX
Term
___() sums all the values in the set.
Definition
SUM
Term
___() computes the arithmetic mean of all the values in the set.
Definition
AVG
Term
_________ functions appear in a SELECT clause and process all rows that satisfy the WHERE clause condition.
Definition
Aggregate
Term
The principle that physical design never affects query results is called ____ ___________.
Definition
data independence
Term
________ ______ specifies indexes, table structures, and partitions, and affects query performance, but not query results.
Definition
Physical design
Term
Definition
[image]
Supporting users have an ad free experience!