Data Management - Foundations - D426 WGU

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

1/155

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.

156 Terms

1
New cards

Data

numeric , textual , visual or audio information that describes real-world systems.

varies in ways such as scope, format, access.

2
New cards

analog data

Historically most common before computers, encoded as continuous variations on various physical media.

3
New cards

digital data

most common today, recorded as 0's and 1's on electronic and magnetic media.

4
New cards

database designer

determines the format of each data element and the overall database structure

5
New cards

database user

a consumer of data in a database. can either use an application or submit queries directly to the database. they use, request and update data. to generate reports

6
New cards

transaction

a group of queries that must be completed or rejected as whole. will result in incomplete or incorrect data if not terminated as a whole.

7
New cards

Query processor

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

8
New cards

Query optimization

to ensure the most efficient instructions are executed on the data from the processor.

9
New cards

Storage Manager

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

10
New cards

indexes

used by the storage manager to quickly locate data

11
New cards

catalog

also called a data dictionary , a directory of tables, columns and indexes as well as other database objects.

12
New cards

relational database

a database that stores data in tables that consist of rows and columns, similar to a spreadsheet

13
New cards

SQL

Structured Query Language

14
New cards

NoSQL

A new generation of database management systems that is not based on the traditional relational database model.

15
New cards

query

command for a database that typically inserts, retrieves, updates and deletes data from the database.

16
New cards

crud

Create, Read, Update, Delete

17
New cards

statement

a database command such as a query that inserts , selects updates and deletes data

18
New cards

SELECT

Retrieves data from a table

19
New cards

UPDATE

modifies data in a table

20
New cards

data type

indicates the type of data that can be stored in a field of a column

21
New cards

data independence

A condition in which data access is unaffected by changes in the physical data storage characteristics.

22
New cards

database model

Describes the relationship between the data elements and provides a framework for organizing the data. contains 3 parts

data structures

operations

rules

23
New cards

relational model

A database model that describes data in which all data elements are placed in two-dimensional tables, called relations, which are the logical equivalent of files.

24
New cards

row

an unnamed tuple of values , each value corresponds to a column and belongs to the columns data type.

25
New cards

relational rules

part of the relational model and govern data in every relational database

26
New cards

data lake

An analytic database of raw, unprocessed data copied from multiple data sources.

27
New cards

in-memory database

A database management system that stores the entire database in random access memory (RAM).

28
New cards

replica

a cop of an entire database

29
New cards

data warehouse

a separate database optimized for analytics instead of operations

30
New cards

analytic data

Historical data used to make decisions in the present

31
New cards

operational data

data used for managing business processes, such as for processing transactions or for data analysis

32
New cards

distributed transaction

A database transaction that accesses data in several remote data processors in a distributed database.

33
New cards

Local Transactions

updates data on a single node of a distributed database

34
New cards

CREATE TABLE

A SQL command that creates a table's structures using the characteristics and attributes given.

CREATE TABLE Persons (

PersonID int,

LastName varchar(255),

FirstName varchar(255),

Address varchar(255),

City varchar(255)

);

35
New cards

Data Transaction Language (DTL)

manages database transactions

36
New cards

Data Control Language (DCL)

Commands that control a database, including administering privileges and committing data

37
New cards

Data Manipulation Language (DML)

A specific language, provided with a DBMS, which allows users to access and modify the data, to make queries, and to generate reports.

38
New cards

data query language (DQL)

Enables users to retrieve, sort, and display specific data from the database

39
New cards

Data Definition Language (DDL)

The language that allows a database administrator to define the database structure, schema, and subschema.

40
New cards

entity

An object or event that we want to keep track of

41
New cards

attribute

A property or characteristic of an entity or relationship type that is of interest to the organization.

42
New cards

binary relationship

A relationship between the instances of two entity types.

43
New cards

primary key

a column or group of columns that identifies a unique row in a table

44
New cards

Simple Primary Key

consists of a single column

45
New cards

composite primary key

consists of multiple columns

PRIMARY KEY (example_table_1,example_table_2));

46
New cards

Metadata

is data about the database, such as column names and the number of rows in each table. Database systems store metadata in the catalog and use metadata to process queries.

47
New cards

Oracle Database

type: relational

license : commercial

48
New cards

MySQL Database

type: relational

license : open source

49
New cards

SQL Server

type: relational

license : Commercial

50
New cards

PostgreSQL database

type: relational

license : open source

51
New cards

MongoDB

type: NoSQL

license : open source

52
New cards
53
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 specification.

For large, complex databases, the process has three phases:

Analysis

Logical design

Physical design

54
New cards

Analysis

specifies database requirements without regard to a specific database system.

also called conceptual design, entity-relationship modeling, and requirements definition.

55
New cards

ER diagrams

Rectangles represent entities. Entity names appear at the top of rectangles.

Lines between rectangles represent relationships.

Text inside rectangles and below entity names represent attributes.

56
New cards

logical design

Rectangles represent tables. Table names appear at the top of rectangles.

Text within rectangles and below table names represents columns.

Solid bullets (●) indicate key columns.

Empty bullets (○) and arrows indicate columns that refer to keys.

57
New cards

physical design

this phase adds indexes and specifies how tables are organized on storage media

not used often , logical is more important.

58
New cards

API

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

59
New cards

MySQL Community

non-commercial , free

60
New cards

MySQL Enterprise

a paid edition for managing commercial databases.

61
New cards

MySQL Command-Line Client

a text interface included in the MySQL Server download

62
New cards

MySQL Workbench

GUI for mysql sever

63
New cards

tuple

an ordered collection of elements in parentheses

64
New cards

table

column

row

data type

65
New cards

Project

eliminates one or more columns of a table

66
New cards

Product

lists all combinations of rows of two tables.

67
New cards

Join

combines two tables by comparing related columns.

68
New cards

Union

selects all rows of two tables.

69
New cards

Intersect

selects rows common to two tables.

70
New cards

Difference

selects rows that appear in one table but not another.

71
New cards

Rename

changes a table name.

72
New cards

Aggregate

computes functions over multiple table rows, such as sum and count.

73
New cards

the result of relational operations is always a...

Table

74
New cards

rules

logical constraints that ensure data is valid

75
New cards

Relational rules

unique primary key

unique column names

no duplicate data

76
New cards

The SQL standard is published jointly by the...

American National Standards Institute (ANSI) and the International Organization for Standardization (ISO)

77
New cards

Literals

Explicit values that are string, numeric, or binary. Strings must be surrounded by single quotes or double quotes .Binary values are represented with x'0' where the 0 is any hex value.

'String'

"String"

123

x'0fa2'

78
New cards

Keywords

Words with special meaning.

SELECT , FROM , WHERE

79
New cards

Identifiers

Objects from the database like tables, columns, etc.

City, Name, Population

80
New cards

Comments

Statement intended only for humans and ignored by the database when parsing an SQL statement.

-- single line comment /* multi-line Comment */

81
New cards

DML

Can insert a row into a table

82
New cards

DTL

Rollback database changes.

83
New cards

DQL

Select all rows from table Product.

84
New cards

DCL

Grant all permissions to user 'tester'.

85
New cards

DDL

Create table Product.

86
New cards

database system instance

is a single executing copy of a database system

87
New cards

DROP DATABASE DatabaseName

deletes a database, including all tables in the database.

88
New cards

CREATE DATABASE DatabaseName

creates a new database.

89
New cards

USE DatabaseName

selects a default database for use in subsequent SQL statements.

90
New cards

SHOW

provide information about databases, tables, and columns

91
New cards

Tables must obey these relational rules

Exactly one value per cell.

No duplicate column names.

No duplicate rows.

No row order.

92
New cards

In relational databases, query results are not dependent on physical storage. Data independence allows database administrators to tune storage for optimal performance at any time.

true

93
New cards

ADD (ALTER TABLE CLAUSE)

Adds a column

ALTER TABLE TableName

ADD ColumnName DataType;

94
New cards

CHANGE (ALTER TABLE CLAUSE)

Modifies a column

ALTER TABLE TableName

CHANGE CurrentColumnName NewColumnName NewDataType;

95
New cards

DROP ( ALTER TABLE CLAUSE)

Deletes a column

ALTER TABLE TableName

DROP ColumnName;

96
New cards

1ST OPERATER PRECEDENCE

-(UNARY)

97
New cards

2ND OPERATER PRECEDENCE

^

98
New cards

3RD OPERATER PRECEDENCE

* / %

99
New cards

4TH OPERATER PRECEDENCE

+ - (binary)

100
New cards

5TH OPERATER PRECEDENCE

= != < > <= >=