Database Management Systems Exam Review Flashcards

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

1/77

flashcard set

Earn XP

Description and Tags

These flashcards cover critical concepts and definitions in database management systems.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

78 Terms

1
New cards

Database System

A collection of related data stored in a computer.

2
New cards

DBMS

The software that directly supports various database applications.

3
New cards

Centralized DBMS

A system where a user can directly access the database through an application on their PC or cellphone.

4
New cards

Inhibitor of using DBMS

High initial cost.

5
New cards

Database Schema

A structure that describes the organization of data in a database.

6
New cards

Conceptual Schema

The structure that end users use to access the database.

7
New cards

Client/Server Architecture

A model where client and server can be on different machines.

8
New cards

Network Model

A low-level data model describing how data is stored on a computer.

9
New cards

Relational Model

A high-level data model that can represent the semantics of the application.

10
New cards

Domains (Relational Model)

Can contain specific types of values.

11
New cards

Object Model vs ER Model

The object model is more expressive than the ER model.

12
New cards

Attributes in Relation

Columns in a relation are known as attributes.

13
New cards

Foreign Key

A key that references a primary key in a different relation.

14
New cards

Select and Project Operations

The order cannot be changed without altering the meaning of a query.

15
New cards

Project Operation

Is not commutative.

16
New cards

Rename Operation

Used to change the relation name and its attributes in relational algebra.

17
New cards

Relational Algebra Query

An operation like 'project sname (student)' is a relational algebra query.

18
New cards

Join Operation

It can be represented by using other operations but is essential in relational queries.

19
New cards

Union Operation

Can be used on two relations if they have the same number of attributes.

20
New cards

Attributes in ER Model

Attributes can exist in a relationship in the ER model.

21
New cards

Atomic Attributes

Attributes in ER model must be atomic.

22
New cards

Tuple Relational Calculus

Can represent the divide-by operation in relational algebra.

23
New cards

Domain Relational Calculus

Often considered a weak query language for relational databases.

24
New cards

Tuple Calculus Query

Can represent unary, binary, aggregate operations together.

25
New cards

SQL Query Capabilities

SQL can represent unary, binary, aggregate operations together.

26
New cards

SQL Expressive Power

Has the same expressive power as relational algebra.

27
New cards

Complete SQL Language

Can do everything that database applications need.

28
New cards

Entity Representation in ER Model

Every real-world object is represented as an entity.

29
New cards

One-to-One Relationship

Every entity in set A must have one and only one corresponding entity in set B.

30
New cards

Ternary Relationship

Can be represented equivalently with three binary relationships.

31
New cards

Normalization

The process of decomposing bad relations into smaller relations.

32
New cards

3NF and BCNF

A relation in 3NF is also in BCNF.

33
New cards

PL/SQL Programs

Can interact with users directly by taking input and displaying output.

34
New cards

Dynamic SQL vs Static SQL

Dynamic SQL is generally less efficient than Static SQL.

35
New cards

Impedance Mismatch

Occurs between the database and application programs.

36
New cards

Transaction SQL Statements

A transaction can contain several SQL statements.

37
New cards

Hierarchical Data Model

Cannot directly represent many-to-many relationships.

38
New cards

Non-Atomic Values

Supported in the object data model.

39
New cards

Attribute Designation in RDB

Designates the role played by a domain in a relation.

40
New cards

End Users

Users who use the database frequently but often don't have in-depth knowledge.

41
New cards

E.F. Codd

Proposed the relational model.

42
New cards

Turing Award

Larry Ellison is noted as someone who did not receive this award.

43
New cards

Oracle

The biggest relational database vendor.

44
New cards

Query Language Absence

The ER model lacks a query language.

45
New cards

Built-In Integrity Constraints

Relational model has a specific number of built-in integrity constraints.

46
New cards

Minus Operation

An algebra operation that can be defined by other operations.

47
New cards

Join Types

Theta Join is the operation used in joins.

48
New cards

Information Loss in Joins

An outer join does not lose any information.

49
New cards

Correct Tuple Calculus Query

{S, N, A | Student(S, N, A)} is a correct tuple calculus query.

50
New cards

Queries Not Representable by Calculus

Student nfulljoin Grade cannot be represented.

51
New cards

Single Query Expression Limitations

Some languages cannot express complex queries with a single expression.

52
New cards

Divide-By Operation Representation

Must use forall in tuple calculus.

53
New cards

SQL expressiveness

SQL is less expressive compared to algebra and calculus.

54
New cards

Identifying Relationship Sets

Used to connect weak entity sets to their owners.

55
New cards

4GL Characteristics

The 4th generation language (4GL) is declarative in nature.

56
New cards

Client/Server Structure

Thin client/fat server architecture is preferable.

57
New cards

Three-Tier Architecture Benefit

The main benefit is enhanced security.

58
New cards

Tuple Processing in PL/SQL

A cursor must be used to process a set of tuples.

59
New cards

C Variable Prefixing

C variables in SQL statements are prefixed with a colon.

60
New cards

Embedded SQL Programs

Classified as application programs.

61
New cards

SQLPlus in Oracle VM

Is a client and server-side program.

62
New cards

Dynamic SQL Prepare Method

Used to parse the SQL statement.

63
New cards

Dynamic SQL Execution

The execute statement instructs the DBMS to run the query.

64
New cards

SQL Accessing Any Relation

Requires Method 4 for dynamic SQL to access any relation.

65
New cards

Dynamic SQL Issues

Main problems include run-time overhead.

66
New cards

Select for Update Cursor Purpose

To lock the selected data.

67
New cards

Implicit Cursors in PL/SQL

Statements like 'select' do not require explicit cursor declaration.

68
New cards

Loop Types in PL/SQL

Different types of loops exist, such as simple and while.

69
New cards

Functional Dependency Definition

Defines relationships between sets of attributes.

70
New cards

Join Dependency Applications

Used to define relationships in the fifth normal form.

71
New cards

Disallowed Attributes in Relation

When composites and multi-valued attributes are disallowed, it is in first normal form.

72
New cards

Multi-Valued Dependency in 4NF

There can be at most one when in fourth normal form.

73
New cards

Dependency on Primary Key in 3NF

All non-key attributes must be dependent on the primary key.

74
New cards

Functional Dependency in Second Normal Form

Every non-prime attribute must be fully dependent on the primary key.

75
New cards

Relation Schemas Normal Form

Highest normal form can be determined from relation schemas.

76
New cards

ER Diagram Relations

The number of relations generated from an ER diagram can vary.

77
New cards

Business Operations and Transactions

Various database systems can support high availability and scalability.

78
New cards

ACID Properties

Some database systems may not support all ACID properties.