Академический Документы
Профессиональный Документы
Культура Документы
DBMS Roles
Actors Behind the Scene:
people who maintain the environment
but aren't interested in the actual data
relational,
object-oriented, object-relational, entityrelationship, semantic, network, hierarchical,
etc.
MUST- ICS rkimera@must.ac.ug
Three-Schema Architecture
user-specific
views
External View
External View
External View
Conceptual Schema
generic view
Internal Schema
physical view
Data Independence
physical data independence
Transactions
transaction = an indivisible unit of data processing
All transactions must have the ACID properties:
Atomic Transactions
Fred wants to move $200 from
his savings account to his checking account.
Correct Transactions
Accounts
No PIN Balance
101 896510965.78
387 6643 652.55
543 4287 8720.12
constraint:
account.Balance must be non-negative
any transaction withdrawing
more than $652.55 from acct 387
will violate this constraint
Concurrent Transactions
Accounts
No PIN Balance
101 896510965.78
387 6643 652.55
543 4287 8720.12
Accounts
No PIN Balance
101 896510965.78
387 6643 652.55
543 428710233.35
Combined result of both
MUST- ICS rkimera@must.ac.ug
transactions must be correct
$500.00
$8720.12
$10233.35
$1983.23
happen
concurrently
Durable Transactions
Accounts
No PIN Balance
101 896510965.78
387 6643 652.55
543 4287 8720.12
Accounts
No PIN Balance
101 896510965.78
387 664350652.55
543 4287 8720.12
Wilmas deposit cannot be lost.
Transactions
transaction = an indivisible unit of data processing
All transactions must have the ACID properties:
Questions??
?????