Overview of Relational Databases and Their Design

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

1/38

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.

39 Terms

1
New cards

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

2
New cards

Database system

the database, the DBMS, and the application programs that access the database through the DBMS

3
New cards

Database administrator (DBA)

the person responsible for coordinating, controlling, and managing the database

4
New cards

Online transaction processing database (OLTP)

database containing detailed current transaction data, usually in the third normal form. Focuses on throughput, speed, availability, concurrency by hundreds of users

5
New cards

Data warehouse

very large databases containing detailed and summarized data for a number of years used for analysis rather than transaction processing

6
New cards

Business intelligence

analyzing large amounts of data for strategic decision making. There are two main business intelligence techniques: online analytical processing (OLAP) and data mining

7
New cards

Online analytical processing (OLAP)

using queries to investigate hypothesized relationships among data; one of two main techniques used in business intelligence

8
New cards

Data mining

using sophisticated statistical analysis to "discover" unhypothesized relationships in the data

9
New cards

Database

Efficiently and centrally coordinates information for a related group of files

10
New cards

File

a related group of records

11
New cards

Record

a related group of fields

12
New cards

Field

a specific attribute of interest for the entity

13
New cards

Record layout

document that shows the items stored in a file, including the order and length of the data fields and the type of data stored

14
New cards

Advantages of Databases

Data is integrated, Data sharing, Minimize data redundancy and inconsistencies, Data is independent of the programs that use the data, Data is easily accessed for reporting and cross functional analysis

15
New cards

Logical view

how users conceptually organize the relationships among data items. This is the view at an external level

16
New cards

Physical view

how data are physically arranged and stored. This is the view at an internal level

17
New cards

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

18
New cards

Conceptual level

organization wide view of entire database. Lists all elements (entities) and relationships among them

19
New cards

External level

individual users view (subschema)

20
New cards

Subschema

a subset of the schema; the way the user defines the data and the data relationship

21
New cards

Internal level

low level view describing record layouts, definitions, addresses, and indexes

22
New cards

Database design

To design a database, you need to have a conceptual view of the entire database.

23
New cards

Data dictionary

A blueprint of the structure of the database and includes data elements, field types, programs that use the data element, outputs, and so on.

24
New cards

Data Definitions Language (DDL)

Primarily used by Data Base Administrator (DBA) to build the data dictionary, create the database, describe logical views for each user, and specify record or field security constraints.

25
New cards

Structured Query Language (SQL)

A standardized commercial programming language designed for managing data in relational database systems, with variations existing among different database systems.

26
New cards

Data Manipulation Language (DML)

Primarily used by Programmers to change the content in the database, including creating, updating, insertions, and deletions.

27
New cards

Data Query Language (DQL)

Used by report writers and power users to retrieve, sort, and display specific data from the database.

28
New cards

Relational Data model

Represents conceptual and external level schemas as if data are stored in two-dimensional tables.

29
New cards

Relational database

Implements the relational data model and is comprised of tables and relationships between them.

30
New cards

Update anomaly

Occurs when data in one location is updated, but not in other locations.

31
New cards

Insert anomaly

The inability to add records to a database.

32
New cards

Delete anomaly

The loss of all information about an entity when a row is deleted.

33
New cards

Primary key

A database attribute, or combination of attributes, that uniquely identifies each row in a table; used to distinguish, order, and reference records in a database.

34
New cards

Foreign key

An attribute in a table that is also a primary key in another table; used to link the two tables.

35
New cards

Relational Database Design Rules

Rules that include every column in a row must be single valued, primary key cannot be null, and if a foreign key is not null, it must correspond to a primary key in another table.

36
New cards

Entity integrity

The rule that a primary key cannot be null (empty).

37
New cards

Referential integrity

The rule that if a foreign key is not null, it must have a value that corresponds to the value of a primary key in another table.

38
New cards

Database normalization

The process of structuring a relational database in accordance with a series of so-called 'normal forms' to reduce data redundancy and improve data integrity.

39
New cards

Queries

Specific requests made by users to find information in a relational database without sorting through all the files.