WGU D426 V2

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/159

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.

160 Terms

1
New cards

The relationship (within the relation) that describes how the value of one attribute may be used to find the value of another attribute.

Functional Dependency

2
New cards

An attribute that can be used to find the value of another attribute in the relation.

Determinant

3
New cards

Value can be used to find the value of every other non-key attribute in the table. Unique and minimal.

Candidate Key

4
New cards

Define & manage database structures

DDL

5
New cards

Adding, deleting, and modifying data - Manipulates data stored in a database.

DML

6
New cards

Used to create user accounts, manage permissions and access.

DCL

7
New cards

Includes CREATE, DROP, ALTER, TRUNCATE, RENAME

DDL

8
New cards

A view created and stored on the database. Underlying data is changed and also updated in this view. Uses memory space.

Materialized View

9
New cards

Not stored in memory. Only computed when used or accessed.

Virtual View

10
New cards

The data about the data. Describes elements such as columns, names, and data type.

Metadata

11
New cards

Ordered collection of elements in parentheses.

Tuple

12
New cards

% of table rows selected by a query

Hit Ration

13
New cards

Reads blocks directly, without accessing an index.

Table Scan

14
New cards

Reads index blocks sequentially in order to locate the needed table blocks.

Index Scan

15
New cards

Database repeatedly splits the index in two until it finds a match.

Binary Search

16
New cards

Database object that maps one or more tables to a single file.

Tablespace

17
New cards

Specifies tables, columns, and keys. Implements database requirements in a specific database system. Also called a schema.

Logical Design

18
New cards

Specifies indexes, table structures, and partitions. Specifies how tables are organized on storage media.

Physical Design

19
New cards

Components of a computer system and the relationships between components.

Architecture

20
New cards

Interact directly with database users and administrators and send queries to the query processor. Includes Connectors & APIs, Workbench, and utility programs.

Tools

21
New cards

Interprets queries. Compiles queries into low-level instructions for the storage engine. Creates a plan to modify the database or retrieve data, and returns query results to the application.

Query Processor

22
New cards

Link between tools and query processor

Connection

23
New cards

Creates connections and manages communication between tools and query parser.

Connection Manager

24
New cards

Translates the query processor instructions into low-level file system commands that modify or retrieve data.

Storage Engine

25
New cards

Accesses data on storage media. Data stored on storage media and organized in files. Contains 3 types of data: - User data (tables & indexes) - Log files (record of any changes) - Data dictionary (aka: catalog directory of tables, columns, keys, indexes in a relational database). One row for each database object.

File System

26
New cards

Stores reusable information in main memory.

Cache Manager

27
New cards

Retains data blocks from the file system for possible reuse.

Buffer Manager

28
New cards

Arranged in hierarchy

Multi-tier architecture

29
New cards

Multi-tier consisting of web browsers and web servers communicating over the internet.

Web architecture

30
New cards

A software layer that emulates a complete, independent computing environment.

Virtual Machine

31
New cards

A database offered as a PaaS cloud service.

Cloud Database

32
New cards

A statement or proposition from which another statement is inferred.

Premise

33
New cards

Multiple processors managed by a single operating system instance.

Shared memory - share the same memory and storage media.

Shared storage - share storage media only.

Shared nothing

Parallel Computer

34
New cards

Group of computers connected by LAN or WAN

Node

35
New cards

Group of nodes connected by a LAN, managed by separate operating system instances. Similar to a parallel computer.

Cluster

36
New cards

Runs on a parallel computer or cluster

Parallel Database

37
New cards

Runs on multiple computers connected by a WAN

Distributed Database

38
New cards

Updates data on multiple nodes of a distributed database. Two-phase commit (nodes receive notice of update, store update in log, send confirmation, then receive commit). Either all nodes or no nodes must be successfully updated.

Distributed Transactions

39
New cards

Updates data on a single node of a distributed database. Databases that use this are called "eventually consistent".

Local Transaction

40
New cards

States that a distributed database cannot be Consistent, Available, and Petition-tolerant simutaneously. Availability refers to individual nodes. Consistent database - confirms to all rules at all times. Network partition - forms when a network error prevents nodes from communicating. Petition-tolerant - database that continues to function when a network partition occurs.

CAP Theorem

41
New cards

Maintains two or more replicas on separate storage devices. Advantages: High availability, fast concurrent reads, local reads. Disadvantages: Slow or inconsistent updates.

Replicated database

42
New cards

Entire catalog resides on a single node

Central Catalog

43
New cards

Copy of catalog resides on each node

Replicated Catalog

44
New cards

Volatile- Used to conduct daily business -Changes in real time -Detailed Designed for specific business function -Concerned primarily with current data

Operational Data

45
New cards

AKA: Reporting Data or Decision Support Data -Enterprise-wide- Used to understand, manage, and plan the business- Summary Updated at fixed intervals and summarized by time period -Combines data from many business functions -Usually contains current and historic data

Analytic Data

46
New cards

Data warehouse designed for specific business area

Data Mart

47
New cards

Analytic database of raw, unprocessed data copied from multiple data sources.

Data Lake

48
New cards

Optimized for analytics

Data Warehouse

49
New cards

Five-step process - ETL: Extract-Transform Load 1) Extract data 2) Cleanse data 3) Integrate data 4) Restructure data 5) Load data - Open-source ETL tools: -PowerCenter -SQL Server Integration Services -Oracle Data Integrator

Data Warehouse Refresh

50
New cards

AKA: Star Schema - Consists of fact and dimension tables. Fact Table - Contains numeric data used to measure business performance.. Primary key is the composite for all foreign keys referencing dimension tables. Dimension Table - Contains textual data that describes the fact data.

Dimensional Design

51
New cards

Sequence of columns in which each column has a one-many relationship to the next column.

Dimension Hierarchy

52
New cards

A database that stores data in main memory, instead of or in addition to storage media. Ex: SQL Server In-Memory OLTP - Oracle Database In-Memory - MySQL

In-Memory Databases

53
New cards

A database that is packaged with a programming language. AKA: In-Process Database (Database Architecture) - SQLite - SQL Server Compact

Embedded Databases

54
New cards

Collection of two or more participating databases under a coordinating software layer called middleware.

Federated Database

55
New cards

Relationships are named and classified by their cardinalities, which means count (as in the number of items in a set). HAS-A relationship. Each of the three types of binary relationships has a different cardinality. Is the maximum number of entity instances that can participate in a relationship instance.

Maximum Cardinality

56
New cards

Minimum number of entity instances that must participate in a relationship instance. These values typically assume a value of zero (optional) or one (mandatory).

Minimum Cardinality

57
New cards

An entity whose instances cannot exist in the database without the existence of an instance of another entity.

Weak Entity

58
New cards

Can exist in the database independently.

Strong Entity

59
New cards

Can be exclusive or inclusive. Can be a part of an IS-A relationship.

Subtype Entities

60
New cards

Depicted with square corners

Tables

61
New cards

Indicate primary key columns

Bullets

62
New cards

Depict foreign keys. Starts at the foreign key and points to the referenced table. RESTRICT, CASCADE, or SET NULL appears on the arrow, on top read left-to-right, on bottom read right-to-left.

Arrows

63
New cards

States that every value of a foreign key must match a value of an existing primary key or be fully NULL.

Referential Integrity

64
New cards

Represents an intersection of the data sets

AND

65
New cards

Represents a union of the data sets

OR

66
New cards

Used to remove unwanted database objects from the database. Will permanently remove the object and all associated data!

DROP

67
New cards

Description of the structure and format of the occurrences of the entity, similar to a recipe or architectural blueprints.

Entity Class

68
New cards

Eliminates redundancy by decomposing into two or more tables. To be a well-formed relation, every determinant must be a candidate key. Any relation that is not well-formed should be broken into two or more well-formed relations. As a general rule, a well-formed relation will not encompass more than one business concept.

Normalization

69
New cards

Putting tables back together into a single table for business needs. Used in place of a join to speed up a query, but it uses more space, data redundant, modification anomalies.

Denormalization

70
New cards

Multiple values removed. Only one value in each cell.

First Normal Form

71
New cards

No partial dependencies. All non-key columns depend on the whole primary key.

Second Normal Form

72
New cards

No transitive dependencies (Functional dependencies on non-primary-key attributes. Called transitive because the primary key is a determinant for another attribute, which in turn is a determinant for a third. Solution: Non-key determinant with transitive dependencies goes into a new table; non-key determinant becomes primary key in the new table and remains as a foreign key in the old table).

Third Normal Form

73
New cards

Every determinate is also a candidate key during normalization. Optimal normal form for frequent inserts, updates, and deletes. One key is a super key. If Column A depends on Column B, then B must be unique.

Boyce-Codd Normal Form

74
New cards

Gets data from the left table that's not in the right table.

Left Outer Join

75
New cards

Gets data from the right table that's not in the left table.

Right Outer Join

76
New cards

Unmatched data from either table is included. Will result in empty fields.

Full Outer Join

77
New cards

Returns only matching values.

Inner Join

78
New cards

Combines two tables without comparing data.

Cross Join

79
New cards

AKA: Clustering Index. Usually sparse. Index on a sort column.

Primary Index

80
New cards

AKA: Nonclustering Index. Index that is not on the sort column. Always dense.

Secondary Index

81
New cards

Entry for every table row

Dense Index

82
New cards

Entry for every table block

Sparse Index

83
New cards

Stores column values and row pointers in hierarchy

Multi-Level Index

84
New cards

All branches are the same length

Balanced Indexes

85
New cards

Index entries assigned to buckets

Hash Index

86
New cards

Block or group of blocks containing rows/index entries.

Bucket

87
New cards

Computes the bucket containing the row from the value of the indexed column.

Hash Function

88
New cards

Grid of bits

Bitmap Index

89
New cards

Stores table rows in each bucket

Hash Table

90
New cards

Single or multi-level index that normally contains pointers to table blocks

Physical Index

91
New cards

Single or multi-level index where pointers to table blocks are replaced with primary key values

Logical Index

92
New cards

Database designer specifies a function on the column value consistent with a WHERE clause. Can be applied to any index type. Considered when the WHERE clause format is different than the storage format.

Function Index

93
New cards

A subset of table data. One table has many that do not overlap and, together, contain all table data. Must appear in all unique columns. May not contain foreign keys and foreign keys may not refer to table.

Partitions

94
New cards

Subset of table rows.

Horizontal Partition

95
New cards

Subset of table columns.

Vertical Partition

96
New cards

Range of partition expression values (VALUES LESS THAN, MAXVALUE)

Range Partition

97
New cards

List of partition expression values using VALUES IN keywords.

List Partition

98
New cards

A partition expression with positive integer values. The partition number for each row is computed as (partition expression value)modulo N.

Hash Partition

99
New cards

Similar to hash but partition expression determined automatically by database.

Key Partition

100
New cards

Candidate Key - Composite Key - Primary Key - Surrogate Key

Unique