200 likes | 222 Views
Multi-User Databases. Chapter 9. Terminology . Data administration Database administration Database administrator or DBA Facilitates the development and use of the database Balances the conflicting goals of Protecting the database Maximizing its availability and benefit to users.
E N D
Multi-User Databases Chapter 9
Terminology • Data administration • Database administration • Database administrator or DBA • Facilitates the development and use of the database • Balances the conflicting goals of • Protecting the database • Maximizing its availability and benefit to users
Managing Database Structure • Participating in initial database design • Participating in initial database implementation • Controlling and managing changes to the database • Developing procedures and policies by which users an register their needs for changes • Documenting the database structure
Summary of DBA’s responsibilities for managing database structure
Transactions • Transactions • Logical units of work • Atomic
Concurrency Control • Needed to ensure that one user’s work does not interfere with another • Concurrent transactions
Locks • Implicit • Explict • Lock granularity • Lock types • Lock styles • Desired results
Some useful terminology • Transaction-level consistency • Dirty read • Nonrepeatble reads • Phantom reads • Isolation levels – see figure 9-10 • Scrollable cursor • Static cursor • Keyset • Dynamic cursor
Database Recovery • Recovery via reprocessing • Recovery via rollback/rollforward • Necessity for a log