Transactional vs. Analytical Databases

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

1/19

flashcard set

Earn XP

Description and Tags

20 question-and-answer flashcards covering key ideas, definitions, and distinctions between OLTP transactional databases and OLAP analytical databases.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

What is the primary purpose of a transactional (OLTP) database?

To handle real-time, day-to-day operational transactions such as sales, banking, and inventory updates.

2
New cards

Which four ACID properties safeguard data integrity in transactional databases?

Atomicity, Consistency, Isolation, Durability.

3
New cards

Why do transactional databases use locks, concurrency control, and isolation levels?

To prevent conflicting updates and ensure multiple users can safely access and modify data at the same time.

4
New cards

What database structure (tables, rows, columns) do most transactional systems rely on?

A relational schema.

5
New cards

Which workload type—OLTP or OLAP—is characterized by frequent, short-duration transactions?

OLTP (Online Transaction Processing).

6
New cards

What happens during a ‘rollback’ in transaction management?

All changes made in a transaction are undone, restoring the database to its previous consistent state.

7
New cards

What is the main goal of an analytical (OLAP) database?

To store large volumes of historical data and provide fast, complex query responses for business intelligence and decision support.

8
New cards

How is data physically organized in most analytical databases to speed up read-heavy queries?

Using columnar data storage, where each column is stored contiguously.

9
New cards

Why is in-memory processing valuable for analytical databases?

It keeps data in RAM, dramatically reducing latency and speeding up query execution.

10
New cards

What does parallel processing enable in an analytical database?

The simultaneous execution of many operations across multiple CPU cores, improving performance on large datasets.

11
New cards

What is a data warehouse in the context of analytical databases?

A back-end repository optimized for storing and organizing data used for analysis and reporting, not for day-to-day transactions.

12
New cards

What role does OLAP software play relative to a data warehouse?

It provides front-end tools for slicing, dicing, and analyzing warehouse data from multiple perspectives.

13
New cards

Give two data-reduction techniques commonly used by analytical databases.

Data deduplication and data compression (other valid answers: data pruning, indexing).

14
New cards

Why are UPDATE, INSERT, and DELETE statements uncommon in a data warehouse?

Because the data has already been validated during ETL from transactional sources, so it is mostly read-only for analysis.

15
New cards

State one key difference between response-time goals of OLTP and OLAP systems.

OLTP focuses on sub-second responses for individual transactions; OLAP focuses on fast execution of complex, long-running analytical queries.

16
New cards

Which database type—transactional or analytical—is best suited for trend analysis and forecasting?

Analytical databases.

17
New cards

What is meant by the ‘front end’ of a database system?

The user interface or application layer through which users interact with data without touching the underlying DBMS directly.

18
New cards

What does the ‘back end’ of a database system include?

The DBMS software and physical storage devices that manage and store the data, hidden from end-user access.

19
New cards

Name one industry that commonly relies on transactional databases for mission-critical operations.

Banking (other acceptable answers: e-commerce, airline reservations, healthcare, inventory management).

20
New cards

How do analytical databases help organizations achieve competitive advantage?

By uncovering trends, patterns, and correlations that inform better strategic decisions and optimize operations.