SlideShare ist ein Scribd-Unternehmen logo
1 von 32
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/1
Outline
ā€¢ Introduction
ā€¢ Background
ā€¢ Distributed Database Design
ā€¢ Database Integration
ā€¢ Semantic Data Control
ā€¢ Distributed Query Processing
ā€¢ Multidatabase Query Processing
ā€¢ Distributed Transaction Management
āž” Transaction Concepts and Models
āž” Distributed Concurrency Control
āž” Distributed Reliability
ā€¢ Data Replication
ā€¢ Parallel Database Systems
ā€¢ Distributed Object DBMS
ā€¢ Peer-to-Peer Data Management
ā€¢ Web Data Management
ā€¢ Current Issues
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/2
Transaction
A transaction is a collection of actions that make consistent transformations
of system states while preserving system consistency.
āž” concurrency transparency
āž” failure transparency
Database in a
consistent
state
Database may be
temporarily in an
inconsistent state
during execution
Begin
Transaction
End
Transaction
Execution of
Transaction
Database in a
consistent
state
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/3
Transaction Example ā€“
A Simple SQL Query
Transaction BUDGET_UPDATE
begin
EXEC SQL UPDATE PROJ
SET BUDGET = BUDGET 1.1
WHERE PNAME = ā€œCAD/CAMā€
end.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/4
Example Database
Consider an airline reservation example with the relations:
FLIGHT(FNO, DATE, SRC, DEST, STSOLD, CAP)
CUST(CNAME, ADDR, BAL)
FC(FNO, DATE, CNAME,SPECIAL)
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/5
Example Transaction ā€“ SQL
Version
Begin_transaction Reservation
begin
input(flight_no, date, customer_name);
EXEC SQL UPDATE FLIGHT
SET STSOLD = STSOLD + 1
WHERE FNO = flight_no AND DATE = date;
EXEC SQL INSERT
INTO FC(FNO, DATE, CNAME, SPECIAL);
VALUES (flight_no, date, customer_name, null);
output(ā€œreservation completedā€)
end . {Reservation}
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/6
Termination of Transactions
Begin_transaction Reservation
begin
input(flight_no, date, customer_name);
EXEC SQL SELECT STSOLD,CAP
INTO temp1,temp2
FROM FLIGHT
WHERE FNO = flight_no AND DATE = date;
if temp1 = temp2 then
output(ā€œno free seatsā€);
Abort
else
EXEC SQL UPDATE FLIGHT
SET STSOLD = STSOLD + 1
WHERE FNO = flight_no AND DATE = date;
EXEC SQL INSERT
INTO FC(FNO, DATE, CNAME, SPECIAL);
VALUES (flight_no, date, customer_name, null);
Commit
output(ā€œreservation completedā€)
endif
end . {Reservation}
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/7
Example Transaction ā€“
Reads & Writes
Begin_transaction Reservation
begin
input(flight_no, date, customer_name);
temp Read(flight_no(date).stsold);
if temp = flight(date).cap then
begin
output(ā€œno free seatsā€);
Abort
end
else begin
Write(flight(date).stsold, temp + 1);
Write(flight(date).cname, customer_name);
Write(flight(date).special, null);
Commit;
output(ā€œreservation completedā€)
end
end. {Reservation}
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/8
Characterization
ā€¢ Read set (RS)
āž” The set of data items that are read by a transaction
ā€¢ Write set (WS)
āž” The set of data items whose values are changed by this transaction
ā€¢ Base set (BS)
āž” RS WS
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/9
Formalization
Let
āž” Oij(x) be some operation Oj of transaction Ti operating on entity x, where
Oj {read,write} and Oj is atomic
āž” OSi = j Oij
āž” Ni {abort,commit}
Transaction Ti is a partial order Ti = { i, ā‰ŗi} where
ļ‚Œ i = OSi {Ni}
ļ‚ For any two operations Oij , Oik OSi , if Oij = R(x) and Oik = W(x) for any
data item x, then either Oij ā‰ŗi Oik or Oik ā‰ŗi Oij
ļ‚Ž Oij OSi, Oij ā‰ŗi Ni
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/10
Example
Consider a transaction T:
Read(x)
Read(y)
x x + y
Write(x)
Commit
Then
= {R(x), R(y), W(x), C}
ā‰ŗ = {(R(x), W(x)), (R(y), W(x)), (W(x), C), (R(x), C), (R(y), C)}
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/11
Assume
ā‰ŗ = {(R(x),W(x)), (R(y),W(x)), (W(x), C), (R(x), C), (R(y), C)}
DAG Representation
R(x)
C
R(y)
W(x)
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/12
Principles of Transactions
ATOMICITY
āž” all or nothing
CONSISTENCY
āž” no violation of integrity constraints
ISOLATION
āž” concurrent changes invisible serializable
DURABILITY
āž” committed updates persist
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/13
Atomicity
ā€¢ Either all or none of the transaction's operations are performed.
ā€¢ Atomicity requires that if a transaction is interrupted by a failure, its
partial results must be undone.
ā€¢ The activity of preserving the transaction's atomicity in presence of
transaction aborts due to input errors, system overloads, or deadlocks is
called transaction recovery.
ā€¢ The activity of ensuring atomicity in the presence of system crashes is
called crash recovery.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/14
Consistency
ā€¢ Internal consistency
āž” A transaction which executes alone against a consistent database leaves it in a
consistent state.
āž” Transactions do not violate database integrity constraints.
ā€¢ Transactions are correct programs
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/15
Consistency Degrees
ā€¢ Degree 0
āž” Transaction T does not overwrite dirty data of other transactions
āž” Dirty data refers to data values that have been updated by a transaction prior
to its commitment
ā€¢ Degree 1
āž” T does not overwrite dirty data of other transactions
āž” T does not commit any writes before EOT
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/16
Consistency Degrees (contā€™d)
ā€¢ Degree 2
āž” T does not overwrite dirty data of other transactions
āž” T does not commit any writes before EOT
āž” T does not read dirty data from other transactions
ā€¢ Degree 3
āž” T does not overwrite dirty data of other transactions
āž” T does not commit any writes before EOT
āž” T does not read dirty data from other transactions
āž” Other transactions do not dirty any data read by T before T completes.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/17
Isolation
ā€¢ Serializability
āž” If several transactions are executed concurrently, the results must be the same
as if they were executed serially in some order.
ā€¢ Incomplete results
āž” An incomplete transaction cannot reveal its results to other transactions
before its commitment.
āž” Necessary to avoid cascading aborts.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/18
Isolation Example
ā€¢ Consider the following two transactions:
T1: Read(x) T2: Read(x)
x x+1 x x+1
Write(x) Write(x)
Commit Commit
T1: Read(x) T1: Read(x)
T1: x x+1 T1: x x+1
T1: Write(x) T2: Read(x)
T1: Commit T1: Write(x)
T2: Read(x) T2: x x+1
T2: x x+1 T2: Write(x)
T2: Write(x) T1: Commit
T2: Commit T2: Commit
ā€¢ Possible execution sequences:
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/19
SQL-92 Isolation Levels
Phenomena:
ā€¢ Dirty read
āž” T1 modifies x which is then read by T2 before T1 terminates; T1 aborts T2 has
read value which never exists in the database.
ā€¢ Non-repeatable (fuzzy) read
āž” T1 reads x; T2 then modifies or deletes x and commits. T1 tries to read x again
but reads a different value or canā€™t find it.
ā€¢ Phantom
āž” T1 searches the database according to a predicate while T2 inserts new tuples
that satisfy the predicate.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/20
SQL-92 Isolation Levels (contā€™d)
ā€¢ Read Uncommitted
āž” For transactions operating at this level, all three phenomena are possible.
ā€¢ Read Committed
āž” Fuzzy reads and phantoms are possible, but dirty reads are not.
ā€¢ Repeatable Read
āž” Only phantoms possible.
ā€¢ Anomaly Serializable
āž” None of the phenomena are possible.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/21
Durability
ā€¢ Once a transaction commits, the system must guarantee that the results of
its operations will never be lost, in spite of subsequent failures.
ā€¢ Database recovery
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/22
Characterization of Transactions
ā€¢ Based on
āž” Application areas
āœ¦ Non-distributed vs. distributed
āœ¦ Compensating transactions
āœ¦ Heterogeneous transactions
āž” Timing
āœ¦ On-line (short-life) vs batch (long-life)
āž” Organization of read and write actions
āœ¦ Two-step
āœ¦ Restricted
āœ¦ Action model
āž” Structure
āœ¦ Flat (or simple) transactions
āœ¦ Nested transactions
āœ¦ Workflows
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/23
Transaction Structure
ā€¢ Flat transaction
āž” Consists of a sequence of primitive operations embraced between a begin and
end markers.
Begin_transaction Reservation
ā€¦
end.
ā€¢ Nested transaction
āž” The operations of a transaction may themselves be transactions.
Begin_transaction Reservation
ā€¦
Begin_transaction Airline
ā€¦
end. {Airline}
Begin_transaction Hotel
ā€¦
end. {Hotel}
end. {Reservation}
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/24
Nested Transactions
ā€¢ Have the same properties as their parents ļƒ©may themselves have other
nested transactions.
ā€¢ Introduces concurrency control and recovery concepts to within the
transaction.
ā€¢ Types
āž” Closed nesting
āœ¦ Subtransactions begin after their parents and finish before them.
āœ¦ Commitment of a subtransaction is conditional upon the commitment of the
parent (commitment through the root).
āž” Open nesting
āœ¦ Subtransactions can execute and commit independently.
āœ¦ Compensation may be necessary.
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/25
Workflows
ā€¢ ā€œA collection of tasks organized to accomplish some business process.ā€
ā€¢ Types
āž” Human-oriented workflows
āœ¦ Involve humans in performing the tasks.
āœ¦ System support for collaboration and coordination; but no system-wide
consistency definition
āž” System-oriented workflows
āœ¦ Computation-intensive & specialized tasks that can be executed by a computer
āœ¦ System support for concurrency control and recovery, automatic task execution,
notification, etc.
āž” Transactional workflows
āœ¦ In between the previous two; may involve humans, require access to
heterogeneous, autonomous and/or distributed systems, and support selective
use of ACID properties
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/26
Workflow Example
T1 T2
T3
T4
T5
Customer
Database
Customer
Database
Customer
Database
T1: Customer request
obtained
T2: Airline reservation
performed
T3: Hotel reservation
performed
T4: Auto reservation
performed
T5: Bill generated
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/27
Transactions Provideā€¦
ā€¢ Atomic and reliable execution in the presence of failures
ā€¢ Correct execution in the presence of multiple user accesses
ā€¢ Correct management of replicas (if they support it)
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/28
Transaction Processing Issues
ā€¢ Transaction structure (usually called transaction model)
āž” Flat (simple), nested
ā€¢ Internal database consistency
āž” Semantic data control (integrity enforcement) algorithms
ā€¢ Reliability protocols
āž” Atomicity & Durability
āž” Local recovery protocols
āž” Global commit protocols
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/29
Transaction Processing Issues
ā€¢ Concurrency control algorithms
āž” How to synchronize concurrent transaction executions (correctness criterion)
āž” Intra-transaction consistency, Isolation
ā€¢ Replica control protocols
āž” How to control the mutual consistency of replicated data
āž” One copy equivalence and ROWA
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/30
Architecture Revisited
Scheduling/
Descheduling
Requests
Transaction Manager
(TM)
Distributed
Execution Monitor
With other
SCs
With other
TMs
Begin_transaction,
Read, Write,
Commit, Abort
To data
processor
Results
Scheduler
(SC)
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/31
Centralized Transaction
Execution
Begin_Transaction,
Read, Write, Abort, EOT
Results &
User Notifications
Scheduled
Operations
Results
Results
ā€¦
Read, Write,
Abort, EOT
User
Application
User
Application
Transaction
Manager
(TM)
Scheduler
(SC)
Recovery
Manager
(RM)
Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/32
Distributed Transaction Execution
Begin_transaction,
Read, Write, EOT,
Abort
User application
Results &
User notifications
Read, Write,
EOT, Abort
TM
SC
RM
SC
RM
TM
Local
Recovery
Protocol
Distributed
Concurrency Control
Protocol
Replica Control
Protocol
Distributed
Transaction Execution
Model

Weitere Ƥhnliche Inhalte

Was ist angesagt?

Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory managementSyaiful Ahdan
Ā 
Memory management
Memory managementMemory management
Memory managementMohammad Sadiq
Ā 
Memory management
Memory managementMemory management
Memory managementcpjcollege
Ā 
Database, 3 Distribution Design
Database, 3 Distribution DesignDatabase, 3 Distribution Design
Database, 3 Distribution DesignAli Usman
Ā 
Transaction management in DBMS
Transaction management in DBMSTransaction management in DBMS
Transaction management in DBMSMegha Sharma
Ā 
Parallel databases
Parallel databasesParallel databases
Parallel databasesAniruddha Patil
Ā 
20. Parallel Databases in DBMS
20. Parallel Databases in DBMS20. Parallel Databases in DBMS
20. Parallel Databases in DBMSkoolkampus
Ā 
Concurrency control
Concurrency controlConcurrency control
Concurrency controlSoumyajit Dutta
Ā 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OSvampugani
Ā 
Transaction states and properties
Transaction states and propertiesTransaction states and properties
Transaction states and propertiesChetan Mahawar
Ā 
16. Concurrency Control in DBMS
16. Concurrency Control in DBMS16. Concurrency Control in DBMS
16. Concurrency Control in DBMSkoolkampus
Ā 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed DatabaseAbhilasha Lahigude
Ā 
Kernel I/O subsystem
Kernel I/O subsystemKernel I/O subsystem
Kernel I/O subsystemAtiKa Bhatti
Ā 
DDBMS_ Chap 7 Optimization of Distributed Queries
DDBMS_ Chap 7 Optimization of Distributed QueriesDDBMS_ Chap 7 Optimization of Distributed Queries
DDBMS_ Chap 7 Optimization of Distributed QueriesKhushali Kathiriya
Ā 
Transaction concurrency control
Transaction concurrency controlTransaction concurrency control
Transaction concurrency controlAnand Grewal
Ā 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System ConceptsSanjiv Malik
Ā 
Swapping | Computer Science
Swapping | Computer ScienceSwapping | Computer Science
Swapping | Computer ScienceTransweb Global Inc
Ā 
4. concurrency control
4. concurrency control4. concurrency control
4. concurrency controlAbDul ThaYyal
Ā 

Was ist angesagt? (20)

Operating System-Ch8 memory management
Operating System-Ch8 memory managementOperating System-Ch8 memory management
Operating System-Ch8 memory management
Ā 
Memory management
Memory managementMemory management
Memory management
Ā 
Memory management
Memory managementMemory management
Memory management
Ā 
Database, 3 Distribution Design
Database, 3 Distribution DesignDatabase, 3 Distribution Design
Database, 3 Distribution Design
Ā 
Transaction management in DBMS
Transaction management in DBMSTransaction management in DBMS
Transaction management in DBMS
Ā 
Parallel databases
Parallel databasesParallel databases
Parallel databases
Ā 
Dbms
DbmsDbms
Dbms
Ā 
20. Parallel Databases in DBMS
20. Parallel Databases in DBMS20. Parallel Databases in DBMS
20. Parallel Databases in DBMS
Ā 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
Ā 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
Ā 
Transaction states and properties
Transaction states and propertiesTransaction states and properties
Transaction states and properties
Ā 
RAID
RAIDRAID
RAID
Ā 
16. Concurrency Control in DBMS
16. Concurrency Control in DBMS16. Concurrency Control in DBMS
16. Concurrency Control in DBMS
Ā 
Replication in Distributed Database
Replication in Distributed DatabaseReplication in Distributed Database
Replication in Distributed Database
Ā 
Kernel I/O subsystem
Kernel I/O subsystemKernel I/O subsystem
Kernel I/O subsystem
Ā 
DDBMS_ Chap 7 Optimization of Distributed Queries
DDBMS_ Chap 7 Optimization of Distributed QueriesDDBMS_ Chap 7 Optimization of Distributed Queries
DDBMS_ Chap 7 Optimization of Distributed Queries
Ā 
Transaction concurrency control
Transaction concurrency controlTransaction concurrency control
Transaction concurrency control
Ā 
Real Time Operating System Concepts
Real Time Operating System ConceptsReal Time Operating System Concepts
Real Time Operating System Concepts
Ā 
Swapping | Computer Science
Swapping | Computer ScienceSwapping | Computer Science
Swapping | Computer Science
Ā 
4. concurrency control
4. concurrency control4. concurrency control
4. concurrency control
Ā 

Andere mochten auch

Database ,16 P2P
Database ,16 P2P Database ,16 P2P
Database ,16 P2P Ali Usman
Ā 
Database ,2 Background
 Database ,2 Background Database ,2 Background
Database ,2 BackgroundAli Usman
Ā 
Database , 6 Query Introduction
Database , 6 Query Introduction Database , 6 Query Introduction
Database , 6 Query Introduction Ali Usman
Ā 
Ethernet Technology
Ethernet Technology Ethernet Technology
Ethernet Technology Ali Usman
Ā 
Coyaima ie. juan xxiii manual de convivencia
Coyaima ie. juan xxiii manual de convivenciaCoyaima ie. juan xxiii manual de convivencia
Coyaima ie. juan xxiii manual de convivenciasebasecret
Ā 
Virgen de ChiquinquirĆ” en Colombia
Virgen de ChiquinquirĆ” en ColombiaVirgen de ChiquinquirĆ” en Colombia
Virgen de ChiquinquirĆ” en ColombiaMaria Daud
Ā 
Anwar e-sabiri(complete)
Anwar e-sabiri(complete)Anwar e-sabiri(complete)
Anwar e-sabiri(complete)Ali Usman
Ā 
Hank Iving Media Plan
Hank Iving Media PlanHank Iving Media Plan
Hank Iving Media Planconfar90
Ā 
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguo
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguoMariquita iet francisco nuƱez pedrozo manual convivencia antiguo
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguosebasecret
Ā 
College Students
College StudentsCollege Students
College Studentsconfar90
Ā 
Prezentacja.1
Prezentacja.1Prezentacja.1
Prezentacja.1magda260490
Ā 
Database , 5 Semantic
Database , 5 SemanticDatabase , 5 Semantic
Database , 5 SemanticAli Usman
Ā 
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQL
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQLPL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQL
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQLReactive.IO
Ā 
Gsm (Part 3)
Gsm (Part 3)Gsm (Part 3)
Gsm (Part 3)Ali Usman
Ā 
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)frogd
Ā 
Database , 12 Reliability
Database , 12 ReliabilityDatabase , 12 Reliability
Database , 12 ReliabilityAli Usman
Ā 
Postgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Postgres MVCC - A Developer Centric View of Multi Version Concurrency ControlPostgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Postgres MVCC - A Developer Centric View of Multi Version Concurrency ControlReactive.IO
Ā 
Database ,14 Parallel DBMS
Database ,14 Parallel DBMSDatabase ,14 Parallel DBMS
Database ,14 Parallel DBMSAli Usman
Ā 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 WebAli Usman
Ā 

Andere mochten auch (20)

Database ,16 P2P
Database ,16 P2P Database ,16 P2P
Database ,16 P2P
Ā 
Database ,2 Background
 Database ,2 Background Database ,2 Background
Database ,2 Background
Ā 
Database , 6 Query Introduction
Database , 6 Query Introduction Database , 6 Query Introduction
Database , 6 Query Introduction
Ā 
Ethernet Technology
Ethernet Technology Ethernet Technology
Ethernet Technology
Ā 
Coyaima ie. juan xxiii manual de convivencia
Coyaima ie. juan xxiii manual de convivenciaCoyaima ie. juan xxiii manual de convivencia
Coyaima ie. juan xxiii manual de convivencia
Ā 
Virgen de ChiquinquirĆ” en Colombia
Virgen de ChiquinquirĆ” en ColombiaVirgen de ChiquinquirĆ” en Colombia
Virgen de ChiquinquirĆ” en Colombia
Ā 
BrunnerForbes2
BrunnerForbes2BrunnerForbes2
BrunnerForbes2
Ā 
Anwar e-sabiri(complete)
Anwar e-sabiri(complete)Anwar e-sabiri(complete)
Anwar e-sabiri(complete)
Ā 
Hank Iving Media Plan
Hank Iving Media PlanHank Iving Media Plan
Hank Iving Media Plan
Ā 
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguo
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguoMariquita iet francisco nuƱez pedrozo manual convivencia antiguo
Mariquita iet francisco nuƱez pedrozo manual convivencia antiguo
Ā 
College Students
College StudentsCollege Students
College Students
Ā 
Prezentacja.1
Prezentacja.1Prezentacja.1
Prezentacja.1
Ā 
Database , 5 Semantic
Database , 5 SemanticDatabase , 5 Semantic
Database , 5 Semantic
Ā 
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQL
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQLPL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQL
PL/pgSQL - An Introduction on Using Imperative Programming in PostgreSQL
Ā 
Gsm (Part 3)
Gsm (Part 3)Gsm (Part 3)
Gsm (Part 3)
Ā 
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)
MySQL InnoDB ęŗē å®žēŽ°åˆ†ęž(äø€)
Ā 
Database , 12 Reliability
Database , 12 ReliabilityDatabase , 12 Reliability
Database , 12 Reliability
Ā 
Postgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Postgres MVCC - A Developer Centric View of Multi Version Concurrency ControlPostgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Postgres MVCC - A Developer Centric View of Multi Version Concurrency Control
Ā 
Database ,14 Parallel DBMS
Database ,14 Parallel DBMSDatabase ,14 Parallel DBMS
Database ,14 Parallel DBMS
Ā 
Database , 17 Web
Database , 17 WebDatabase , 17 Web
Database , 17 Web
Ā 

Ƅhnlich wie Distributed DBMS Chapter 10 Summary

dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...
dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...
dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...DrCViji
Ā 
Database ,18 Current Issues
Database ,18 Current IssuesDatabase ,18 Current Issues
Database ,18 Current IssuesAli Usman
Ā 
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxKoteswari Kasireddy
Ā 
Atomic Service Transactions
Atomic Service Transactions Atomic Service Transactions
Atomic Service Transactions WSO2
Ā 
Transaction Properties(ACID Properties)
Transaction Properties(ACID Properties)Transaction Properties(ACID Properties)
Transaction Properties(ACID Properties)Yaksh Jethva
Ā 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011sumit_study
Ā 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency ControlDilum Bandara
Ā 
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERY
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERYTRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERY
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERYRohit Kumar
Ā 
1 introduction
1 introduction1 introduction
1 introductionAmrit Kaur
Ā 
Svetlin Nakov - Database Transactions
Svetlin Nakov - Database TransactionsSvetlin Nakov - Database Transactions
Svetlin Nakov - Database TransactionsSvetlin Nakov
Ā 
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxFALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxhritikraj888
Ā 
Transaction conccurency
Transaction conccurencyTransaction conccurency
Transaction conccurencyEsraa Farrag
Ā 
Dartabase Transaction.pptx
Dartabase Transaction.pptxDartabase Transaction.pptx
Dartabase Transaction.pptxBibus Poudel
Ā 
Database Transactions and SQL Server Concurrency
Database Transactions and SQL Server ConcurrencyDatabase Transactions and SQL Server Concurrency
Database Transactions and SQL Server ConcurrencyBoris Hristov
Ā 
1 introduction DDBS
1 introduction DDBS1 introduction DDBS
1 introduction DDBSnaimanighat
Ā 

Ƅhnlich wie Distributed DBMS Chapter 10 Summary (20)

DBMS unit-5.pdf
DBMS unit-5.pdfDBMS unit-5.pdf
DBMS unit-5.pdf
Ā 
dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...
dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...
dokumen.tips_silberschatz-korth-and-sudarshan1-transactions-transaction-conce...
Ā 
Lec08
Lec08Lec08
Lec08
Ā 
Database ,18 Current Issues
Database ,18 Current IssuesDatabase ,18 Current Issues
Database ,18 Current Issues
Ā 
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptxUnit 4 chapter - 8 Transaction processing Concepts (1).pptx
Unit 4 chapter - 8 Transaction processing Concepts (1).pptx
Ā 
Atomic Service Transactions
Atomic Service Transactions Atomic Service Transactions
Atomic Service Transactions
Ā 
Transaction Properties(ACID Properties)
Transaction Properties(ACID Properties)Transaction Properties(ACID Properties)
Transaction Properties(ACID Properties)
Ā 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011
Ā 
Autonomous transaction
Autonomous transactionAutonomous transaction
Autonomous transaction
Ā 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency Control
Ā 
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERY
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERYTRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERY
TRANSACTION MANAGEMENT AND TIME STAMP PROTOCOLS AND BACKUP RECOVERY
Ā 
1 introduction
1 introduction1 introduction
1 introduction
Ā 
Svetlin Nakov - Database Transactions
Svetlin Nakov - Database TransactionsSvetlin Nakov - Database Transactions
Svetlin Nakov - Database Transactions
Ā 
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptxFALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
FALLSEM2023-24_BCSE302L_TH_VL2023240100957_2023-06-21_Reference-Material-I.pptx
Ā 
24904 lecture11
24904 lecture1124904 lecture11
24904 lecture11
Ā 
Transaction conccurency
Transaction conccurencyTransaction conccurency
Transaction conccurency
Ā 
Dartabase Transaction.pptx
Dartabase Transaction.pptxDartabase Transaction.pptx
Dartabase Transaction.pptx
Ā 
DBMS 4.pdf
DBMS 4.pdfDBMS 4.pdf
DBMS 4.pdf
Ā 
Database Transactions and SQL Server Concurrency
Database Transactions and SQL Server ConcurrencyDatabase Transactions and SQL Server Concurrency
Database Transactions and SQL Server Concurrency
Ā 
1 introduction DDBS
1 introduction DDBS1 introduction DDBS
1 introduction DDBS
Ā 

Mehr von Ali Usman

Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer OverviewAli Usman
Ā 
Islamic Arts and Architecture
Islamic Arts and  ArchitectureIslamic Arts and  Architecture
Islamic Arts and ArchitectureAli Usman
Ā 
Database , 15 Object DBMS
Database , 15 Object DBMSDatabase , 15 Object DBMS
Database , 15 Object DBMSAli Usman
Ā 
Database ,7 query localization
Database ,7 query localizationDatabase ,7 query localization
Database ,7 query localizationAli Usman
Ā 
Database , 4 Data Integration
Database , 4 Data IntegrationDatabase , 4 Data Integration
Database , 4 Data IntegrationAli Usman
Ā 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 IntroductionAli Usman
Ā 
Processor Specifications
Processor SpecificationsProcessor Specifications
Processor SpecificationsAli Usman
Ā 
Fifty Year Of Microprocessor
Fifty Year Of MicroprocessorFifty Year Of Microprocessor
Fifty Year Of MicroprocessorAli Usman
Ā 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2Ali Usman
Ā 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1 Ali Usman
Ā 
Muslim Contributions in Medicine-Geography-Astronomy
Muslim Contributions in Medicine-Geography-AstronomyMuslim Contributions in Medicine-Geography-Astronomy
Muslim Contributions in Medicine-Geography-AstronomyAli Usman
Ā 
Muslim Contributions in Geography
Muslim Contributions in GeographyMuslim Contributions in Geography
Muslim Contributions in GeographyAli Usman
Ā 
Muslim Contributions in Astronomy
Muslim Contributions in AstronomyMuslim Contributions in Astronomy
Muslim Contributions in AstronomyAli Usman
Ā 
Processor Specifications
Processor SpecificationsProcessor Specifications
Processor SpecificationsAli Usman
Ā 
Ptcl modem (user manual)
Ptcl modem (user manual)Ptcl modem (user manual)
Ptcl modem (user manual)Ali Usman
Ā 
Nimat-ul-ALLAH shah wali
Nimat-ul-ALLAH shah wali Nimat-ul-ALLAH shah wali
Nimat-ul-ALLAH shah wali Ali Usman
Ā 
Muslim Contributions in Mathematics
Muslim Contributions in MathematicsMuslim Contributions in Mathematics
Muslim Contributions in MathematicsAli Usman
Ā 
Osi protocols
Osi protocolsOsi protocols
Osi protocolsAli Usman
Ā 

Mehr von Ali Usman (18)

Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer Overview
Ā 
Islamic Arts and Architecture
Islamic Arts and  ArchitectureIslamic Arts and  Architecture
Islamic Arts and Architecture
Ā 
Database , 15 Object DBMS
Database , 15 Object DBMSDatabase , 15 Object DBMS
Database , 15 Object DBMS
Ā 
Database ,7 query localization
Database ,7 query localizationDatabase ,7 query localization
Database ,7 query localization
Ā 
Database , 4 Data Integration
Database , 4 Data IntegrationDatabase , 4 Data Integration
Database , 4 Data Integration
Ā 
Database , 1 Introduction
 Database , 1 Introduction Database , 1 Introduction
Database , 1 Introduction
Ā 
Processor Specifications
Processor SpecificationsProcessor Specifications
Processor Specifications
Ā 
Fifty Year Of Microprocessor
Fifty Year Of MicroprocessorFifty Year Of Microprocessor
Fifty Year Of Microprocessor
Ā 
Discrete Structures lecture 2
 Discrete Structures lecture 2 Discrete Structures lecture 2
Discrete Structures lecture 2
Ā 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
Ā 
Muslim Contributions in Medicine-Geography-Astronomy
Muslim Contributions in Medicine-Geography-AstronomyMuslim Contributions in Medicine-Geography-Astronomy
Muslim Contributions in Medicine-Geography-Astronomy
Ā 
Muslim Contributions in Geography
Muslim Contributions in GeographyMuslim Contributions in Geography
Muslim Contributions in Geography
Ā 
Muslim Contributions in Astronomy
Muslim Contributions in AstronomyMuslim Contributions in Astronomy
Muslim Contributions in Astronomy
Ā 
Processor Specifications
Processor SpecificationsProcessor Specifications
Processor Specifications
Ā 
Ptcl modem (user manual)
Ptcl modem (user manual)Ptcl modem (user manual)
Ptcl modem (user manual)
Ā 
Nimat-ul-ALLAH shah wali
Nimat-ul-ALLAH shah wali Nimat-ul-ALLAH shah wali
Nimat-ul-ALLAH shah wali
Ā 
Muslim Contributions in Mathematics
Muslim Contributions in MathematicsMuslim Contributions in Mathematics
Muslim Contributions in Mathematics
Ā 
Osi protocols
Osi protocolsOsi protocols
Osi protocols
Ā 

KĆ¼rzlich hochgeladen

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...gurkirankumar98700
Ā 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
Ā 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
Ā 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
Ā 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
Ā 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
Ā 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
Ā 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
Ā 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
Ā 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
Ā 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
Ā 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜RTylerCroy
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
Ā 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
Ā 

KĆ¼rzlich hochgeladen (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service šŸø 8923113531 šŸŽ° Avail...
Ā 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Ā 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Ā 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Ā 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Ā 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Ā 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Ā 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Ā 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Ā 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Ā 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
Ā 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Ā 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
Ā 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Ā 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Ā 

Distributed DBMS Chapter 10 Summary

  • 1. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/1 Outline ā€¢ Introduction ā€¢ Background ā€¢ Distributed Database Design ā€¢ Database Integration ā€¢ Semantic Data Control ā€¢ Distributed Query Processing ā€¢ Multidatabase Query Processing ā€¢ Distributed Transaction Management āž” Transaction Concepts and Models āž” Distributed Concurrency Control āž” Distributed Reliability ā€¢ Data Replication ā€¢ Parallel Database Systems ā€¢ Distributed Object DBMS ā€¢ Peer-to-Peer Data Management ā€¢ Web Data Management ā€¢ Current Issues
  • 2. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/2 Transaction A transaction is a collection of actions that make consistent transformations of system states while preserving system consistency. āž” concurrency transparency āž” failure transparency Database in a consistent state Database may be temporarily in an inconsistent state during execution Begin Transaction End Transaction Execution of Transaction Database in a consistent state
  • 3. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/3 Transaction Example ā€“ A Simple SQL Query Transaction BUDGET_UPDATE begin EXEC SQL UPDATE PROJ SET BUDGET = BUDGET 1.1 WHERE PNAME = ā€œCAD/CAMā€ end.
  • 4. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/4 Example Database Consider an airline reservation example with the relations: FLIGHT(FNO, DATE, SRC, DEST, STSOLD, CAP) CUST(CNAME, ADDR, BAL) FC(FNO, DATE, CNAME,SPECIAL)
  • 5. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/5 Example Transaction ā€“ SQL Version Begin_transaction Reservation begin input(flight_no, date, customer_name); EXEC SQL UPDATE FLIGHT SET STSOLD = STSOLD + 1 WHERE FNO = flight_no AND DATE = date; EXEC SQL INSERT INTO FC(FNO, DATE, CNAME, SPECIAL); VALUES (flight_no, date, customer_name, null); output(ā€œreservation completedā€) end . {Reservation}
  • 6. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/6 Termination of Transactions Begin_transaction Reservation begin input(flight_no, date, customer_name); EXEC SQL SELECT STSOLD,CAP INTO temp1,temp2 FROM FLIGHT WHERE FNO = flight_no AND DATE = date; if temp1 = temp2 then output(ā€œno free seatsā€); Abort else EXEC SQL UPDATE FLIGHT SET STSOLD = STSOLD + 1 WHERE FNO = flight_no AND DATE = date; EXEC SQL INSERT INTO FC(FNO, DATE, CNAME, SPECIAL); VALUES (flight_no, date, customer_name, null); Commit output(ā€œreservation completedā€) endif end . {Reservation}
  • 7. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/7 Example Transaction ā€“ Reads & Writes Begin_transaction Reservation begin input(flight_no, date, customer_name); temp Read(flight_no(date).stsold); if temp = flight(date).cap then begin output(ā€œno free seatsā€); Abort end else begin Write(flight(date).stsold, temp + 1); Write(flight(date).cname, customer_name); Write(flight(date).special, null); Commit; output(ā€œreservation completedā€) end end. {Reservation}
  • 8. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/8 Characterization ā€¢ Read set (RS) āž” The set of data items that are read by a transaction ā€¢ Write set (WS) āž” The set of data items whose values are changed by this transaction ā€¢ Base set (BS) āž” RS WS
  • 9. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/9 Formalization Let āž” Oij(x) be some operation Oj of transaction Ti operating on entity x, where Oj {read,write} and Oj is atomic āž” OSi = j Oij āž” Ni {abort,commit} Transaction Ti is a partial order Ti = { i, ā‰ŗi} where ļ‚Œ i = OSi {Ni} ļ‚ For any two operations Oij , Oik OSi , if Oij = R(x) and Oik = W(x) for any data item x, then either Oij ā‰ŗi Oik or Oik ā‰ŗi Oij ļ‚Ž Oij OSi, Oij ā‰ŗi Ni
  • 10. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/10 Example Consider a transaction T: Read(x) Read(y) x x + y Write(x) Commit Then = {R(x), R(y), W(x), C} ā‰ŗ = {(R(x), W(x)), (R(y), W(x)), (W(x), C), (R(x), C), (R(y), C)}
  • 11. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/11 Assume ā‰ŗ = {(R(x),W(x)), (R(y),W(x)), (W(x), C), (R(x), C), (R(y), C)} DAG Representation R(x) C R(y) W(x)
  • 12. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/12 Principles of Transactions ATOMICITY āž” all or nothing CONSISTENCY āž” no violation of integrity constraints ISOLATION āž” concurrent changes invisible serializable DURABILITY āž” committed updates persist
  • 13. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/13 Atomicity ā€¢ Either all or none of the transaction's operations are performed. ā€¢ Atomicity requires that if a transaction is interrupted by a failure, its partial results must be undone. ā€¢ The activity of preserving the transaction's atomicity in presence of transaction aborts due to input errors, system overloads, or deadlocks is called transaction recovery. ā€¢ The activity of ensuring atomicity in the presence of system crashes is called crash recovery.
  • 14. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/14 Consistency ā€¢ Internal consistency āž” A transaction which executes alone against a consistent database leaves it in a consistent state. āž” Transactions do not violate database integrity constraints. ā€¢ Transactions are correct programs
  • 15. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/15 Consistency Degrees ā€¢ Degree 0 āž” Transaction T does not overwrite dirty data of other transactions āž” Dirty data refers to data values that have been updated by a transaction prior to its commitment ā€¢ Degree 1 āž” T does not overwrite dirty data of other transactions āž” T does not commit any writes before EOT
  • 16. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/16 Consistency Degrees (contā€™d) ā€¢ Degree 2 āž” T does not overwrite dirty data of other transactions āž” T does not commit any writes before EOT āž” T does not read dirty data from other transactions ā€¢ Degree 3 āž” T does not overwrite dirty data of other transactions āž” T does not commit any writes before EOT āž” T does not read dirty data from other transactions āž” Other transactions do not dirty any data read by T before T completes.
  • 17. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/17 Isolation ā€¢ Serializability āž” If several transactions are executed concurrently, the results must be the same as if they were executed serially in some order. ā€¢ Incomplete results āž” An incomplete transaction cannot reveal its results to other transactions before its commitment. āž” Necessary to avoid cascading aborts.
  • 18. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/18 Isolation Example ā€¢ Consider the following two transactions: T1: Read(x) T2: Read(x) x x+1 x x+1 Write(x) Write(x) Commit Commit T1: Read(x) T1: Read(x) T1: x x+1 T1: x x+1 T1: Write(x) T2: Read(x) T1: Commit T1: Write(x) T2: Read(x) T2: x x+1 T2: x x+1 T2: Write(x) T2: Write(x) T1: Commit T2: Commit T2: Commit ā€¢ Possible execution sequences:
  • 19. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/19 SQL-92 Isolation Levels Phenomena: ā€¢ Dirty read āž” T1 modifies x which is then read by T2 before T1 terminates; T1 aborts T2 has read value which never exists in the database. ā€¢ Non-repeatable (fuzzy) read āž” T1 reads x; T2 then modifies or deletes x and commits. T1 tries to read x again but reads a different value or canā€™t find it. ā€¢ Phantom āž” T1 searches the database according to a predicate while T2 inserts new tuples that satisfy the predicate.
  • 20. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/20 SQL-92 Isolation Levels (contā€™d) ā€¢ Read Uncommitted āž” For transactions operating at this level, all three phenomena are possible. ā€¢ Read Committed āž” Fuzzy reads and phantoms are possible, but dirty reads are not. ā€¢ Repeatable Read āž” Only phantoms possible. ā€¢ Anomaly Serializable āž” None of the phenomena are possible.
  • 21. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/21 Durability ā€¢ Once a transaction commits, the system must guarantee that the results of its operations will never be lost, in spite of subsequent failures. ā€¢ Database recovery
  • 22. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/22 Characterization of Transactions ā€¢ Based on āž” Application areas āœ¦ Non-distributed vs. distributed āœ¦ Compensating transactions āœ¦ Heterogeneous transactions āž” Timing āœ¦ On-line (short-life) vs batch (long-life) āž” Organization of read and write actions āœ¦ Two-step āœ¦ Restricted āœ¦ Action model āž” Structure āœ¦ Flat (or simple) transactions āœ¦ Nested transactions āœ¦ Workflows
  • 23. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/23 Transaction Structure ā€¢ Flat transaction āž” Consists of a sequence of primitive operations embraced between a begin and end markers. Begin_transaction Reservation ā€¦ end. ā€¢ Nested transaction āž” The operations of a transaction may themselves be transactions. Begin_transaction Reservation ā€¦ Begin_transaction Airline ā€¦ end. {Airline} Begin_transaction Hotel ā€¦ end. {Hotel} end. {Reservation}
  • 24. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/24 Nested Transactions ā€¢ Have the same properties as their parents ļƒ©may themselves have other nested transactions. ā€¢ Introduces concurrency control and recovery concepts to within the transaction. ā€¢ Types āž” Closed nesting āœ¦ Subtransactions begin after their parents and finish before them. āœ¦ Commitment of a subtransaction is conditional upon the commitment of the parent (commitment through the root). āž” Open nesting āœ¦ Subtransactions can execute and commit independently. āœ¦ Compensation may be necessary.
  • 25. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/25 Workflows ā€¢ ā€œA collection of tasks organized to accomplish some business process.ā€ ā€¢ Types āž” Human-oriented workflows āœ¦ Involve humans in performing the tasks. āœ¦ System support for collaboration and coordination; but no system-wide consistency definition āž” System-oriented workflows āœ¦ Computation-intensive & specialized tasks that can be executed by a computer āœ¦ System support for concurrency control and recovery, automatic task execution, notification, etc. āž” Transactional workflows āœ¦ In between the previous two; may involve humans, require access to heterogeneous, autonomous and/or distributed systems, and support selective use of ACID properties
  • 26. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/26 Workflow Example T1 T2 T3 T4 T5 Customer Database Customer Database Customer Database T1: Customer request obtained T2: Airline reservation performed T3: Hotel reservation performed T4: Auto reservation performed T5: Bill generated
  • 27. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/27 Transactions Provideā€¦ ā€¢ Atomic and reliable execution in the presence of failures ā€¢ Correct execution in the presence of multiple user accesses ā€¢ Correct management of replicas (if they support it)
  • 28. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/28 Transaction Processing Issues ā€¢ Transaction structure (usually called transaction model) āž” Flat (simple), nested ā€¢ Internal database consistency āž” Semantic data control (integrity enforcement) algorithms ā€¢ Reliability protocols āž” Atomicity & Durability āž” Local recovery protocols āž” Global commit protocols
  • 29. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/29 Transaction Processing Issues ā€¢ Concurrency control algorithms āž” How to synchronize concurrent transaction executions (correctness criterion) āž” Intra-transaction consistency, Isolation ā€¢ Replica control protocols āž” How to control the mutual consistency of replicated data āž” One copy equivalence and ROWA
  • 30. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/30 Architecture Revisited Scheduling/ Descheduling Requests Transaction Manager (TM) Distributed Execution Monitor With other SCs With other TMs Begin_transaction, Read, Write, Commit, Abort To data processor Results Scheduler (SC)
  • 31. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/31 Centralized Transaction Execution Begin_Transaction, Read, Write, Abort, EOT Results & User Notifications Scheduled Operations Results Results ā€¦ Read, Write, Abort, EOT User Application User Application Transaction Manager (TM) Scheduler (SC) Recovery Manager (RM)
  • 32. Distributed DBMS Ā© M. T. Ɩzsu & P. Valduriez Ch.10/32 Distributed Transaction Execution Begin_transaction, Read, Write, EOT, Abort User application Results & User notifications Read, Write, EOT, Abort TM SC RM SC RM TM Local Recovery Protocol Distributed Concurrency Control Protocol Replica Control Protocol Distributed Transaction Execution Model