Distributed Database Management Systems: Lecture 11. The main topics covered in this chapter include: major DDBS architectures; client-server architecture; one server multiple clients; server performs most of the data management; query processing; transaction and storage management; peer-to-peer distributed systems;...
Trang 1Distributed Database Management System
Lecture 10
Trang 2Major DDBS Architectures
Trang 3Client-Server Architecture
• Basic idea is to distribute
functionality
• Gives two level architecture
• The term used in different
meanings; generally C and S refer
to processes, may be running at
the same machines
Trang 4– As you can see in the figure
Management;
• Query Processing
• Transaction and Storage Management
• application and user interface
• a client module of DBMS
• Data and lock management cached their
sometimes
running at both
Trang 5• Client passes user queries to
server without trying to
understand or optimize them
• One Server Multiple Clients
• Multiple Servers
time
Trang 6Peer-to-Peer Distributed Systems
Trang 7LIS1 LIS2 LISn
GCS
ES1
Trang 8• Physical data organization at
each site defining Local Internal
Schemas
• On top of that, Local Conceptual
Schema
• Then the overall view is depicted
by Global conceptual schema that supports the External schemas
Trang 9• Transparencies Supported
• Extension of ANSI/SPARC Model
• Data Independence supported
• Local Data Dictionary and global
exist
• Both support local and global
mappings
Trang 10Interpreting user commands and formats results
Checks if user query can be processed
Optimized execution strategy Global queries to local ones Coordinates distribution execution of user requests
Trang 11Chooses best access path to any data item
Makes sure the consistency of local data even in case of
failure
Physically accesses the data as per the commands generated
Trang 12A Multidatabase System
autonomous heterogeneous, and distributed databases Two Major architectures:
• Global Schema Architecture
• Federated Schema Architecture
Major DDBS Architectures-III
Trang 13L External
Schema
G External Schema
Global Schema
Component
Schema Integration
G External Schema
L External Schema