1. Trang chủ
  2. » Công Nghệ Thông Tin

Distributed Database Management Systems: Lecture 21

31 7 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Distributed Database Management Systems
Thể loại lecture
Định dạng
Số trang 31
Dung lượng 70,44 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Distributed Database Management Systems: Lecture 21. The main topics covered in this chapter include: types of fragmentation with horizontal fragmentation, vertical fragmentation; storing a separate copy of database at each of two or three or more sites;...

Trang 1

Distributed Database Management Systems

Trang 2

Lecture # 21

Trang 3

Fragmentation: One of the possible way we can implement

a DDBS

In the previous lectures

Trang 4

Types of Fragmentation

• Horizontal Fragmentation

• Vertical Fragmentation

Trang 5

Types of Horizontal

Fragmentation

1 Primary Horizontal Fragmentation

2 Derived Horizontal Fragmentation

Trang 6

Vertical Fragmentation

Vertical Fragmentation is relatively more complex Why ?

Trang 7

In today’s Lecture

Trang 8

Storing a separate copy of database

at each of two or

three or more sites

Trang 9

integrity routines (if

replicated data is refreshed

at scheduled intervals.)

Trang 10

–De-couples nodes

(transactions proceed

even if some nodes are

down.)

–Reduced network traffic at

prime time (if updates can

be delayed.)

Trang 11

• Disadvantages of

Replication

–Additional requirements

for storage space.

–Additional time for

update operations.

Trang 12

–Complexity and cost of

updating.

–Integrity exposure of getting

incorrect data if replicated

data is not updated

simultaneously.

• Therefore, better when

used for non-volatile data

Trang 13

Replication Architecture in SQL

Server

Trang 14

Replication uses a

publish-subscribe

model for distributing data

Trang 15

A Publication is group of related data and objects that we want to replicate together.

Publication

Trang 16

A Publisher is a server

that is the source of data

to be replicated

Publisher

Trang 17

A Subscriber is a server that receives the data

replicated by the

publisher

Subscriber

Trang 18

• The Subscriber

defines a

subscription to a

particular publication

Trang 19

• A Distributor is a server

that performs various tasks when moving articles from Publishers to Subscribers

• The actual tasks performed

depend on the type of

replication performed

Trang 20

SQL Server Replication Agents

Agents are the software components used in

replication

Trang 21

Types Of SQL Server Replication Agents

Trang 22

Snapshot Agent: Runs at least once

in all replicas

different activities, mainly distributes publication to subscribers

transactional rep, reads log files of all servers involved

different servers made since last

snapshot

Trang 23

Push/Pull subscriptions; depends where the

distributor is running.

Trang 24

Replication Models

Trang 25

Central Publisher / Distributor

Publ/Dist Sever

Trang 26

Central Publisher / Remote Distributor

Publisher Remote

Distr

Trang 27

Replication Methods

• Snapshot Replication

• Transaction Replication.

• Merge Replication.

Trang 28

Snapshot Replication

Trang 29

• Preferred when

subscribers need only access

read-• Higher latency (working

without updated data)

low Bandwidth

Trang 30

• Used in all types,

initially

Trang 31

Summary

Ngày đăng: 05/07/2022, 13:37

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN