Downlaod File

Download Report

Transcript Downlaod File

+
Database Distributed
Lulwah AL-Hazzani-200801363
Hadeel AL-Eissa-200801009
+
Outline


What is Distributed Database .
Architecture Database.

The different types of DDB Design.

Forms Of Distributed Data.

Advantages Of Distributed Data.

Disadvantages Of Distributed Data.
+
What is Database Distributed

A distributed database is a database in which storage
devices are not all attached to a common CPU.

It may be stored in multiple computers located in the same
physical location, or may be dispersed over a network of
interconnected computers.
+
Architecture Database

A database user accesses the distributed database through:
Local applications

applications which do not require data from other sites.
Global applications

applications which do require data from other sites.
A distributed database does not share main memory or disks.
+
Types Of DDB Design

Non-Partitioned, Non- Replicated

Partitioned, Non-Replicated

Non-Partitioned, Replicated

Partitioned, Replicated
+
Forms Of Distributed Data
 There

are five categories of distributed data:
replicated data.

horizontally fragmented data.

vertically fragmented data.

reorganized data.

separate-schema data.
+
Replicated data.
 Replicated
data means that copies of the same data
are maintained in more than one location.
 Data
may be replicated across multiple machines
to avoid transmitting data between systems.
+
Horizontally fragmented data.

Horizontally fragmented data means that data is distributed
across different sites based on one or more primary keys.

This type of data distribution is typical where,
for example, branch offices in an organization deal mostly with a
set of local customers and the related customer data need not to
be accessed by other branch offices.
+
Vertically fragmented data.


Vertically fragmented data is data that has been split by
columns across multiple systems.
The primary key is replicated at each site.
For example, a district office may maintain client
information such as name and address keyed on client
number while head office maintains client account balance
and credit information, also keyed on the same client
number.
+
Reorganized data.

Reorganized data is data that has been derived, summarized,
or otherwise manipulated in some way.

This type of data organization is common where decisionsupport processing is performed.

There may be some instances where the on-line transaction
processing (OLTP) and decision-support database
management systems are different.

Decision-support typically requires better query
optimization and ad hoc SQL support than does OLTP.

OLTP usually requires optimization for high-volume
transaction processing.
+
Separate-Schema Data
 Separate-schema
data maintains separate
databases and application programs for different
systems.


For example, one system may manage inventory and one
may handle customer orders.
There may be a certain amount of duplication with
separate-schema data.
+
Advantages Of Distributed Data

Increase reliability and availability.

Easier expansion.

Reflects organizational structure — database fragments are
located in the departments they relate to.

Local autonomy or site autonomy — a department can control
the data about them (as they are the ones familiar with it.)

Protection of valuable data — if there were ever a catastrophic
event such as a fire, all of the data would not be in one place, but
distributed in multiple locations.

Improved performance — data is located near the site of
greatest demand, and the database systems themselves are
parallelized, allowing load on the databases to be balanced
among servers
+
Disadvantages Of Distributed Data
Inexperience
— distributed databases are difficult to work with, and as
a young field there is not much readily available experience on proper
practice.
Lack
of standards — there are no tools or methodologies yet to help
users convert a centralized DBMS into a distributed DBMS.
Database
design more complex — besides of the normal difficulties, the
design of a distributed database has to consider fragmentation of data,
allocation of fragments to specific sites and data replication.
Additional
software is required.
Operating
System should support distributed environment.
Concurrency
timestamping.
control: it is a major issue. It can be solved by locking and
+
References:

Wikia, Database Management, DDBMS, Retrieved
11,May,2012 from
http://databasemanagement.wikia.com/wiki/Distributed_Da
tabase_Management_System_%28DDBMS%29

Bunn.J.(2001), Distributed Database. Retrieved 11,May,2012
from
http://pcbunn.cacr.caltech.edu/DistributedDatabasesPakista
n.pdf

Borysowich.C,(2007), Toolbox, Overview of Distributed
Database. Retreived 11,May,2012 from
http://it.toolbox.com/blogs/enterprise-solutions/overviewof-distributed-databases-16228
+
Thank you for your listening