Partitioning Replication
Introduction & Definition Managing multi-user databases Database applications on the Internet or on organizational intranets can have dozens, hundreds, or even thousands of users. The databases in such systems become immeasurable valuable assets. History of Managing Multi-user Databases :
Mainframe database processing client-server database processing Internet and intranet database processing
Architecture
Three types of architecture
(1) Star
(2) Ring (3) Mesh
(1) Star
All the link of data are centralized in one
area called HUB and then distribute to the end
(1) Star
(1) Star
A) Advantage -- With a hub, if one of the link fails the remaining links will still work fine. -- It is very easy to manage and monitor the data.
B) The disadvantage -- If the hub breaks down, all the data may be destroyed and all the links will be broken. -- The cost. Since large company need to sent data to many different locations, the links can be a very big part of expense.
(2) Ring
In a Ring distribution, all the data are
connected together in a loop format, that is that
(2) Ring
(2) Ring
A) Advantage -- All the end users in each location has equal access to communicate or exchange the data with each other. -- If one location sends out lot of data, it wont slow down the entire database. B) Disadvantage -- If one connection of the loop fails, the entire database will fail. -- Is very hard to find the cause of the problem.
(3) Mesh
The data stored in each location can be shared by all end users, because simply all the locations are fully connected. Every location have a link to all other locations. Under certain circumstances sometimes this kind of distribution can be partially connected, which means one or more of the locations are connected with some other locations, but not all, only the ends users can get the data by reroute the data from other locations.
(3) Mesh
(3) Mesh
A) Advantage -- Fault tolerance, if there is a break in the link , the data can be rerouted and is almost impossible for this kind of distribution to fail. B) Disadvantage With all the links connecting to all the locations is very hard to manage, and also very expensive.
Partitioning
Two types of partitioning
(1) Vertical partitioning (2) Horizontal partitioning
Replication
What is replication?