

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























1
2
4
Database Zeus
Database Apollo
Database Athena
5
7
local transactions
future expansion
8
10
Customers(C#, …) 1,000,
Products(P#, Color…) 10,000,
Sales(S#, C#, Sdate) 20,000, SaleItem(S#, P#,…) 50,000,
P# sold on March 1 Blue P# sold on March 1
C# list from desired P# Matching Customer data
11
Britain: Customers & Sales France: Customers & Sales
Spain: Customers & Sales
Britain
Britain: Customers & Sales France: Customers & Sales
Spain: Customers & Sales
Spain
Update data.
Market research & data corrections.
Periodic updates
13
Database 1 Initiate Transaction
Database 2 Database 3
Lock tables. Save log. Update all tables.
14
Transaction Processing Monitor
Transaction Manager
Resource Manager
Transaction Manager
Resource Manager
Transaction Manager
Resource Manager
DBMS DBMS
The distributed transaction^ DBMS coordinator/transaction processing monitor handles the transaction decisions and coordinates across the participating systems.
17
18
File Server
DBMS data file
Application SharedData
SELECT Name, SaleDate FROM Customer INNER JOIN Sales ON Customer.C# = Sales.C# WHERE SaleDate BETWEEN #1-Mar-97# AND #9-Mar-97#;
All data from all tables are read by PC, which performs JOIN and WHERE test. If available, reads index first.
20
File Server
DBMS
SQL Server
Shared Data
application
Send SQL statement.
Return matching data.
22