Overview of Relational Databases and Their Design

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 38

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

39 Terms

1

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

New cards
2

Database system

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

New cards
3

Database administrator (DBA)

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

New cards
4

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

New cards
5

Data warehouse

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

New cards
6

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

New cards
7

Online analytical processing (OLAP)

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

New cards
8

Data mining

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

New cards
9

Database

Efficiently and centrally coordinates information for a related group of files

New cards
10

File

a related group of records

New cards
11

Record

a related group of fields

New cards
12

Field

a specific attribute of interest for the entity

New cards
13

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

New cards
14

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

New cards
15

Logical view

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

New cards
16

Physical view

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

New cards
17

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

New cards
18

Conceptual level

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

New cards
19

External level

individual users view (subschema)

New cards
20

Subschema

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

New cards
21

Internal level

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

New cards
22

Database design

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

New cards
23

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.

New cards
24

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.

New cards
25

Structured Query Language (SQL)

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

New cards
26

Data Manipulation Language (DML)

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

New cards
27

Data Query Language (DQL)

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

New cards
28

Relational Data model

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

New cards
29

Relational database

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

New cards
30

Update anomaly

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

New cards
31

Insert anomaly

The inability to add records to a database.

New cards
32

Delete anomaly

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

New cards
33

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.

New cards
34

Foreign key

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

New cards
35

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.

New cards
36

Entity integrity

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

New cards
37

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.

New cards
38

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.

New cards
39

Queries

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

New cards
robot