Lecture - 24 24 Parallel and Distributed Databases Parallel and Distributed Databases
Lecture - 24 24 Parallel and Distributed Databases Parallel and Distributed Databases
Lecture
Parallel and Distributed Databases
Contents
Introduction
Centralized and Client-Server Systems
Parallel
P ll l S
Systems
t
Distributed Systems
Applications
Scope of Research
Introduction
Centralized Systems
Run on a single computer system and do not interact with other
computer systems.
General-purpose computer system: one to a few CPUs and a number
unit, single user, usually has only one CPU and one or two hard
disks; the OS may support only one user.
Multi-user system: more disks, more memory, multiple CPUs, and a
Client--Server Systems
Client
Server systems satisfy requests generated at m client systems, whose general
easier
i maintenance
i t
Parallel Systems
Parallel database systems consist of multiple processors and multiple
powerful processors
A massively parallel or fine grain parallel machine utilizes
Measured by:
S
Speedup
d iis linear
li
if equation
ti equals
l N
N.
Scaleup: increase the size of both the problem and the system
z
Measured by:
Speedup
Speedup
Scaleup
Scaleup
p
bus, disks, or locks) compete with each other, thus spending time
waiting
g on other p
processes, rather than p
performing
g useful work.
Skew: Increasing the degree of parallelism increases the variance in
common disk
Hierarchical -- hybrid of the above architectures
Shared Memory
Processors and disks have access to a common memory, typically via
Shared Disk
All processors can directly access all disks via an interconnection
subsystem.
Shared-disk systems can scale to a somewhat larger number of
Shared Nothing
Node consists of a processor, memory, and one or more disks.
Hierarchical
Combines characteristics of shared-memory, shared-disk, and shared-
nothing architectures.
Top level is a shared
shared-nothing
nothing architecture nodes connected by an
few processors.
Alternatively, each node could be a shared-disk system, and each of
virtual-memory architectures
z
Distributed Systems
Data
D t spread
d over multiple
lti l machines
hi
((also
l referred
f
d tto as sites
it or
nodes).
Network interconnects the machines
Data shared by users on multiple machines
Distributed Databases
Homogeneous distributed databases
z
stored locally.
Higher system availability through redundancy data can be
replicated
p
at remote sites, and system
y
can function even if a site fails.
Disadvantage: added complexity required to ensure proper
Software development
p
cost.
Applications
The use of parallel database systems to deliver high performance has become
quite common. Although queries submitted to these database systems are
executed in parallel,
parallel the interaction between applications and current parallel
database systems is serial.
As the complexity of the applications and the amount of data they access
increases the need to parallelize applications also increases.
increases,
increases In this parallel
application environment, a serial interface to the database could become the
bottleneck in the performance of the application. Hence, parallel database
systems should support interfaces that allow the applications to interact with the
database system in parallel.
parallel
parallel database technology can contribute to make large and scalable
document management systems work.
Scope of research
Mobile, Service, P2P, grid and cloud computing for managing data and processes
Managing Heterogeneity and Autonomy in Distributed Systems
Semantic interoperability and integration (matching, mapping)
Linked
Linked Data
Data, Open Data
Data, Mobile Data
Data, Streaming Data
Data, Sensor Data
Data, M
Multimedia
ltimedia
and Multimodal Data
Metadata, Knowledge Bases, Ontologies
Web scale data management
Relational, Object-Oriented, XML, Graph, RDF, Event data management