Comprehensive Guide to Database Management, Big Data, and Data Warehousing

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/86

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:43 PM on 8/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

87 Terms

1
New cards

What is Concurrency Control?

Coordination of simultaneous execution of transactions in a multiuser database system to ensure serializability and data integrity.

2
New cards

What are the three main problems associated with concurrency control?

Lost update, uncommitted data, and inconsistent retrievals.

3
New cards

What is a shared lock?

A lock issued when a transaction must read data and no exclusive locks are held on that data.

4
New cards

What is an exclusive lock?

A lock issued when a transaction must update a data item and no locks are currently held on that data item.

5
New cards

What is a transaction?

A logical unit of work that must be entirely completed or aborted.

6
New cards

What are the five properties of transactions?

Atomicity, consistency, isolation, durability, and serializability.

7
New cards

What is Serializability?

Ensures that the schedule for concurrent execution of transactions yields consistent results.

8
New cards

What does the Time Stamping method entail?

Assigns a global, unique time stamp to each transaction to produce an explicit order of transactions.

9
New cards

What are the properties of the Time Stamping method?

Uniqueness and monotonicity.

10
New cards

What are the disadvantages of Concurrency Control with Time Stamping?

Increases memory needs, processing overhead, and demands system resources.

11
New cards

What is Two-Phase Locking?

A method defining how transactions acquire and relinquish locks, consisting of a growing phase and a shrinking phase.

12
New cards

What are the Two-Phase Locking Governing rules?

No conflicting locks, no unlock before lock in the same transaction, and no data affected until all locks are obtained.

13
New cards

What is the Scheduler?

Establishes the order of operations in concurrent transactions to ensure serializability and isolation.

14
New cards

What is a transaction log?

Keeps track of all transactions in the database for recovery purposes.

15
New cards

What is Lock Granularity?

Refers to the size of the units that can be locked, including database-level, table-level, page-level, row-level, and field-level locks.

16
New cards

What are deadlocks?

Situations where two transactions wait indefinitely for each other to unlock data.

17
New cards

What are the techniques to control deadlocks?

Deadlock avoidance, prevention, and detection.

18
New cards

What are the techniques used in transaction recovery procedures?

Deferred-write technique and write-through technique.

19
New cards

What is Database Recovery?

Restores the database from a given state to a previously consistent state.

20
New cards

What is Concurrency Control with Optimistic Methods?

An approach based on the assumption that most database operations do not conflict, executed without restrictions until committed.

21
New cards

What is Concurrency Control with Locking Method?

Locking methods facilitate isolation of data items used in concurrently executing transactions.

22
New cards

What is a Lock in concurrency control?

A lock guarantees exclusive use of a data item to a current transaction.

23
New cards

What is Pessimistic Locking?

Pessimistic locking uses locks based on the assumption that conflict between transactions is likely.

24
New cards

What is a Lock Manager?

A lock manager is responsible for assigning and policing the locks used by the transactions.

25
New cards

What is a Distributed Database Management System (DDBMS)?

DDBMS governs storage and processing of logically related data over interconnected computer systems where both data and processing functions are distributed among several sites.

26
New cards

What are the transparency features of a DDBMS?

Make all the system's complexities hidden to the end user.

27
New cards

What is Centralized Data Allocation?

Means the entire database is stored at one site.

28
New cards

What is Partitioned Data Allocation?

means the database is divided into two or more disjoined fragments and stored at two or more sites.

29
New cards

What is Replicated Data Allocation?

Replicated data allocation means copies of one or more database fragments are stored at several sites.

30
New cards

What factors influence the decision for data replication?

Factors include database size, frequency of use, and cost.

31
New cards

What is Fully Replicated Database?

Stores multiple copies of each database fragment at multiple sites.

32
New cards

What is Partially Replicated Database?

A partially replicated database stores multiple copies of some database fragments at multiple sites.

33
New cards

What is Unreplicated Database?

An unreplicated database stores each database fragment at a single site.

34
New cards

What is the difference between Distributed Database and Distributed Processing?

Distributed processing shares the database's logical processing among two or more physically independent sites, while a distributed database stores logically related data over multiple sites.

35
New cards

What is Data Fragmentation?

Data fragmentation allows one to break a single object into two or more segments or fragments.

36
New cards

What is Horizontal Fragmentation?

Is the division of a relation into subsets (fragments) of tuples (rows).

37
New cards

What is Vertical Fragmentation?

Is the division of a relation into attribute (column) subsets.

38
New cards

What is Mixed Fragmentation?

Mixed fragmentation is a combination of horizontal and vertical strategies.

39
New cards

What is the CAP Theorem?

Stands for Consistency, Availability, and Partition tolerance, which describes the trade-off between consistency and availability in distributed systems.

40
New cards

What is the Two-Phase Commit Protocol (2PC)?

2PC guarantees that if a portion of a transaction cannot be committed, all changes made at other sites will be undone.

<p>2PC guarantees that if a portion of a transaction cannot be committed, all changes made at other sites will be undone.</p>
41
New cards

What is Multiple-Site Processing, Multiple-Site Data (MPMD)?

MPMD is a fully distributed database management system that supports multiple data processors and transaction processors at multiple sites.

42
New cards

What is Data Replication?

the storage of data copies at multiple sites served by a computer network.

43
New cards

What is Performance Transparency?

Performance transparency allows a DDBMS to perform as if it were a centralized database.

44
New cards

What is Failure Transparency?

Failure transparency ensures the system will operate in case of network failure.

45
New cards

What are the components a DDBMS must include?

Components include computer workstations, network hardware/software, communications media, transaction processors, and data processors.

46
New cards

What are the functions of a fully distributed DBMS?

Functions include receiving requests, validating, analyzing, decomposing requests, ensuring database consistency, and presenting data.

47
New cards

What are potential problems with centralized DBMS?

Problems include performance degradation, high costs, reliability issues, scalability problems, and organizational rigidity.

48
New cards

What does granularity describe?

Levels of aggregation in data presentation.

49
New cards

What are the basic components of a star schema?

Facts, dimensions, attributes, slice and dice, and attribute hierarchies.

50
New cards

How is a star schema used in a data warehouse?

It uses a large fact table linked to dimensional tables to store and describe transactional data.

51
New cards

What features must OLAP tools have for efficient decision support?

Access to various data sources, aggregated data, advanced navigation, rapid query response, mapping user requests, and support for large databases.

52
New cards

What is OLAP?

Online Analytical Processing that supports decision making, business modeling, and operations research.

53
New cards

What are the main characteristics of OLAP systems?

Multidimensional data analysis, advanced database support, and user-friendly interfaces.

54
New cards

What is the OLAP architecture designed for?

Ease of use while maintaining system flexibility.

55
New cards

What are common performance improvement techniques in a star schema?

Normalizing dimensional tables, maintaining multiple fact tables, denormalizing fact tables, and partitioning/replicating tables.

56
New cards

What is the difference between operational data and decision support data?

Operational data captures daily transactions, while decision support data provides tactical and strategic insights.

57
New cards

What is data analytics?

A subset of BI that uses mathematical and statistical techniques to extract knowledge from data.

58
New cards

What is a data warehouse?

An integrated, subject-oriented, time-variant, nonvolatile collection of data for decision support.

59
New cards

How does a data mart differ from a data warehouse?

A data mart is a smaller, single-subject subset of a data warehouse.

60
New cards

What is the ROLLUP extension in SQL?

Used with GROUP BY to generate aggregates by different dimensions.

61
New cards

What is the CUBE extension in SQL?

Used with GROUP BY to generate aggregates for all combinations of the listed columns.

62
New cards

What is Business Intelligence?

A set of tools and processes for capturing, integrating, storing, and analyzing data to support decision making.

63
New cards

What is Hadoop?

A Java-based framework for distributing and processing large data sets across clusters.

64
New cards

What is HDFS?

Hadoop Distributed File System, used for low-level distributed file processing.

65
New cards

What is MapReduce?

A programming model for processing large data sets in Hadoop.

<p>A programming model for processing large data sets in Hadoop.</p>
66
New cards

What does NoSQL mean?

Non-relational database technologies designed to address Big Data challenges.

67
New cards

What is the difference between scaling up and scaling out?

Scaling up involves upgrading existing systems, while scaling out spreads workload across multiple servers.

68
New cards

What are the four major approaches of the NoSQL data model?

Key-value databases, Document databases, Column-oriented databases, Graph databases.

69
New cards

What are key-value databases?

They store data as a collection of key-value pairs organized as buckets.

70
New cards

What are document databases?

They store data in key-value pairs where the value components are encoded documents grouped into collections.

71
New cards

What are column-oriented databases?

They refer to column-centric storage and row-centric storage for organizing data.

72
New cards

What is graph databases?

They store data on relationship-rich data as a collection of nodes and edges.

73
New cards

What are the key assumptions of Hadoop Distributed File System (HDFS)?

High volume, Write-once read-many, Streaming access, Fault tolerance.

74
New cards

What does 'volume' refer to in Big Data?

The quantity of data to be stored.

75
New cards

What does 'velocity' refer to in Big Data?

The speed at which data is entered into the system and must be processed.

76
New cards

What does 'variety' refer to in Big Data?

Variations in the structure of data to be stored.

77
New cards

What is veracity in Big Data?

The trustworthiness of data.

78
New cards

What is value in the context of Big Data?

The degree to which data can be analyzed for meaningful insight.

79
New cards

What types of nodes does Hadoop use?

Data node, Name node, Client node.

80
New cards

What is the purpose of indexes in databases?

They help speed up data access and facilitate searching, sorting, and join operations.

81
New cards

What is the difference between SQL performance tuning and DBMS performance tuning?

SQL performance tuning focuses on client-side query efficiency, while DBMS performance tuning focuses on server-side configuration for optimal resource use.

82
New cards

What are the three phases in which the DBMS processes queries?

Parsing, Execution, Fetching.

83
New cards

What are query processing bottlenecks?

Delays introduced in the processing of an I/O operation that slow the system.

84
New cards

What are the steps to formulate a query?

Identify required columns, source tables, join methods, selection criteria, and output order.

85
New cards

What recommendations would you give for physical storage of databases?

Utilize I/O accelerators, use RAID, minimize disk contention, and partition tables based on usage.

86
New cards

What is a rule-based optimizer?

An optimizer that uses preset rules to determine the best approach to execute a query.

87
New cards

What is a cost-based optimizer?

An optimizer that uses algorithms based on statistics to determine the best execution plan.