FlashKeepers

Computer Science · College · College and University

Database Systems, Unit 5: Transactions and Concurrency Control

Database Systems, unit: Transactions and Concurrency Control. Core concepts, terminology, and worked-example cues a college student meets for this unit, building on prior units without repeating them. Front: a term, concept, or short problem cue. Back: the definition, explanation, or answer.

About this set

38 basic cards for College Computer Science. Set 5 of 8 in Database Systems. It opens with "What is a database transaction?" and "What does ACID stand for?". Study it alongside the other College sets below.

38 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What is a database transaction?
Show answerA sequence of operations performed as a single logical unit of work
What does ACID stand for?
Show answerAtomicity, Consistency, Isolation, and Durability
What is atomicity, in ACID?
Show answerA transaction either fully completes or has no effect at all
What is consistency, in ACID?
Show answerA transaction brings the database from one valid state to another
What is isolation, in ACID?
Show answerConcurrent transactions do not interfere with each other's intermediate states
What is durability, in ACID?
Show answerOnce a transaction commits, its changes persist even after a system failure
What is a commit, in a transaction?
Show answerAn operation that permanently saves all changes made during a transaction
What is a rollback, in a transaction?
Show answerAn operation that undoes all changes made during an incomplete or failed transaction
What is concurrency control?
Show answerTechniques ensuring correct results when multiple transactions run simultaneously
What is a race condition, in database terms?
Show answerAn error caused by unsynchronized concurrent access to shared data
What is a lock, in concurrency control?
Show answerA mechanism that restricts access to data to prevent conflicting concurrent operations
What is a deadlock, in database transactions?
Show answerA situation where two or more transactions wait indefinitely for each other's locks
What is a dirty read?
Show answerReading uncommitted data from another transaction that may later be rolled back
What is a non-repeatable read?
Show answerReading the same row twice within a transaction and getting different values
What is a phantom read?
Show answerA transaction reads a set of rows twice and finds new rows added by another transaction

23 more cards in the app

Study this set free