Data Management - Foundations - D426 WGU

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/182

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

183 Terms

1
New cards

Data

Numeric, textual, visual, or audio information that describes real-world systems. It is collected and processed to aid in a variety of tasks.

2
New cards

Analog Data

Most common before computers. Audio was recorded as vibrations impressed on vinyl disks.

3
New cards

Digital Data

Most common today. Encoded as 0s and 1s on electronic magnetic data.

4
New cards

Database

A collection of data in structured format. In principle, can be stored on paper or even clay tablets.

5
New cards

Database System (DBMS)

Software that reads and writes in a database.

6
New cards

Query

A request to retrieve or change data in a database. Typically inserts new data, retrieves data, updates, data, or deletes data from a database.

7
New cards

Query Language

Specialized programming language designed specifically for database systems. Reads and writes data efficiently.

8
New cards

Database Application

Software that HELPS business users interact with database systems.

9
New cards

Database Administrator

What role am I?

Responsible for securing the database system against unauthorized users. They enforce procedures for user access and database system availability.

10
New cards

Database Designer

What role am I?

Determines the format of each data element AND the overall database STRUCTURE. Must balance priorities like including storage, response time, and support for rules that govern the data.

11
New cards

Database Programmer

What role am I?

Develop programs that utilize a database and write applications that combine query languages and general purpose programming language.

12
New cards

Database User

What role am I?

A consumer of data in a database. They request, update, or use stored data to generate reports or information.

13
New cards

Transaction

A group of queries that MUST be completed or rejected as a whole.

14
New cards

Architecture

Describes the internal components AND the relationships between components.

15
New cards

Query Processor

Interprets queries, creates a plan to modify the database or retrieve the data, and returns query results to the application. Performs query optimization.

16
New cards

Query Optimization

Ensures efficient instructions are executed on the data from the Query Processor.

17
New cards

Storage Manager

Translates the query processor instructions into low-level file-system commands that modify OR retrieve data. Uses indexes to quickly locate data.

18
New cards

Transaction Manager

Ensures transactions are properly executed. Prevents conflicts between concurrent transactions. Also restores the database to a consistent state in the event of a failure.

19
New cards

Log

A file containing a complete record of ALL inserts, updates, and deletes processed by the database. The records can be used to restore a database.

20
New cards

Catalog/Data Dictionary/Repository

A directory of tables, columns, indexes, and other database objects.

21
New cards

Relational Database

Stores data in tables, columns, and rows, SIMILAR to a spreadsheet. It also supports SQL. Made up of relations.

22
New cards

NoSQL

A new generation of DBMS that is NOT based on the traditional relational database model.

23
New cards

CRUD

Acronym for actions that can be performed by a query.

24
New cards

SQL Statement

A database command such as a query that inserts, retrieves, updates, or deletes data. Composed of one or more clauses.

25
New cards

INSERT

Inserts rows into a table.

26
New cards

SELECT

Retrieves data from a table.

27
New cards

UPDATE

Modifies data in a table.

28
New cards

DELETE

Deletes rows from a table.

29
New cards

CREATE TABLE

Creates a new table by specifying the table and column names.

30
New cards

Data Type

Indicates the TYPE of data that can be stored in a field of a column.

31
New cards

Data Independence

Allows database administrators to improve query performance by changing the organization of data on storage devices, without affecting query results or changes to programs.

32
New cards

Database Design

A specification of database objects such as tables, columns data types, and indexes. Also refers to the process used to develop the specifications.

33
New cards

Metadata

Data ABOUT the database, such as column names and the number of rows in each table.

34
New cards

Database Design - Analysis

This phase specifies database requirements without regard to a specific database system. May also be referred to as conceptual design, entity-relationship modeling, and requirements definition.

35
New cards

Database Design - Logical Design

This phase implements database requirements in a specific database system. Depicted in a table diagram.

36
New cards

Database Design - Physical Design

This phase adds indexes and specifies HOW tables are organized on storage media. Specified with SQL statements.

37
New cards

Key

A column used to identify individual rows of a table. Used to refer to only one specific row or record.

38
New cards

Application Programming Language (API)

A library of procedures or classes that links a host programming language to a database.

39
New cards

Schema

The structure of tables in the database.

40
New cards

Foreign Key

What a primary key from one table is called when it is referenced in another table. Important when starting to build relationships between tables. Refers to a primary key.

41
New cards

One-to-Many

This is the most common relationship. Associates ONE record in ONE table with MULTIPLE records in another table.

42
New cards

One-to-One

Associates only ONE record on one table with ONE record on another table.

43
New cards

Data Manipulation Language (DML)

What language am I?

Allows users to access and modify the data to MAKE queries, and GENERATE reports. Interacting with the data.

44
New cards

Data Definition Language (DDL)

What language am I?

Allows a database administrator to DEFINE the database structure, schema, and subschema.

45
New cards

Data Control Language (DCL)

What language am I?

Commands that CONTROL a database. Includes administering privileges and committing data.

46
New cards

MySQL Community/MySQL Server

Is a FREE EDITION. Includes a complete set of database services and tools, and is suitable for non-commercial applications such as education.

47
New cards

MySQL Enterprise

PAID EDITION for managing commercial databases. Includes MySQL Server AND additional administrative applications.

48
New cards

MySQL Command-Line Client

A text interface included in the MySQL Server download. Allows developers to connect to the database server, perform administrative functions, and execute SQL statements.

49
New cards

MySQL Workbench

Installed with MySQL Server AND allows developers to EXECUTE SQL commands using an editor.

50
New cards

Database Model

A conceptual framework for database software containing 3 parts:

Data Structures

Operations

Rules

51
New cards

Relational Model

A database model based on mathematical principles with three parts:

Data Structures

Operations

Rules

52
New cards

Set

A collection of values or elements with NO INHERENT order / unordered. Denoted with braces {}.

53
New cards

Domain

A named set of possible database values, such as integers, dictionary words, or logical values (TRUE and FALSE).

54
New cards

Tuple

A finite sequence of values, each drawn from a fixed domain. Ordered in parentheses.

55
New cards

Relation

A NAMED set of tuples, all drawn from the same sequence of domains.

56
New cards

Relational Rules/Integrity Rules

Logical constraints that ensure data is valid and conforms to business policy. Governs the data.

57
New cards

Structural Rules

Relational rules that govern data in every relational database.

58
New cards

Business Rules

Relational rules specific to a particular database AND application. Discovered during database design.

59
New cards

Table

A collection of data organized as columns and rows. Has a name, a fixed sequence of columns, and a varying set of rows.

60
New cards

Column

Has a name and a data type.

61
New cards

Row

An unnamed sequence of values. Each value corresponds to a column and belongs to the column's data type.

62
New cards

Cell

A single column of a single row. In relational databases, each contains exactly one value.

63
New cards

Aggregate

Computes functions over multiple table rows, such as SUM and COUNT.

64
New cards

Join

A SELECT statement that combines data from two tables (left and right), into a single result. The tables are combined by comparing columns from the left and right tables.

65
New cards

Data Query Language (DQL)

What language am I?

Retrieves data from the database.

66
New cards

Data Transaction Language (DTL)

What language am I?

Manages database transactions.

67
New cards

Database System Instance

A single executing copy of a database system. Personal computers usually run just one.

68
New cards

DROP TABLE

This statement deletes a table, along with all the table's rows, from a database.

69
New cards

Operator

A symbol that computes a value from one or more other values called operands.

70
New cards

Unary

Operator that has ONE operand.

71
New cards

Binary

Operator that has TWO operands.

72
New cards

Condition

An expression that evaluates to a logical value.

73
New cards

NULL

Special value that represents either UNKNOWN or inapplicable data. Not the same as zero.

74
New cards

TRUNCATE

Deletes ALL ROWS from a table.

75
New cards

MERGE

Selects data from one table, called the source, and inserts the data to another table, called the target. If the primary keys of source and target rows match, the target values are updated to the corresponding values.

76
New cards

Primary Key

A column, or group of columns, used to identify a row. Usually the table's FIRST column.

77
New cards

Simple Primary Key

Consists of a single column.

78
New cards

Composite Primary Key

Consists of multiple columns and are denoted with parentheses ().

79
New cards

Referential Integrity

A relational rule that requires foreign key values are either fully NULL or match some primary key value.

80
New cards

CASCADE

Propagates primary key changes to foreign keys.

81
New cards

Constraint

A rule that governs allowable values in a database.

82
New cards

Column Constraint

Appears after the column name and data type in a CREATE TABLE statement. Govern values in a single column.

83
New cards

Table Constraint

Appears in a SEPARATE clause of a CREATE TABLE statement.

84
New cards

BETWEEN operator

This operator provides an alternative way to determine if a value is between two other values.

85
New cards

LIKE operator

When used in a WHERE clause, this operator matches text against a pattern using the two wildcard characters "%" and "_".

86
New cards

ORDER BY

This clause orders selected rows by one or more columns in ascending (alphabetical) order.

87
New cards

JOIN Clause

Determines how a join query handles unmatched rows.

88
New cards

INNER JOIN

Selects ONLY matching left and right table rows.

89
New cards

FULL JOIN

Selects ALL left and right table rows, regardless of match.

90
New cards

LEFT JOIN

Selects all LEFT table rows, but only matching right table rows.

91
New cards

RIGHT JOIN

Selects all RIGHT table rows, but only matching left table rows.

92
New cards

OUTER JOIN

ANY JOIN that selects unmatched rows, including, left, right, and full joins.

93
New cards

EQUIJOIN

Compares columns of two tables with the = operator.

94
New cards

NON-EQUIJOIN

Compares columns with an operator OTHER THAN =, such as < and >.

95
New cards

SELF-JOIN

Joins a table to ITSELF.

96
New cards

CROSS-JOIN

Combines two tables WITHOUT comparing columns.

97
New cards

DISTINCT clause

Used with a SELECT statement to return only unique or "distinct" values.

98
New cards

IN operator

This operator is used in a WHERE clause to determine if a value matches one of several values.

99
New cards

Subquery

Sometimes called a nested query or inner query, is a query within another SQL query.

100
New cards

Flattening

Replacing a subquery with an equivalent join.