Physical database design-3.pptx

22102354 21 views 10 slides Oct 10, 2024
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

Physical database design


Slide Content

Physical Database Design(cont.) Lecture:28 Instructor: Irfan Ahmed

Vertical Partitioning Same table is split into different physical records; depending on the nature of accesses PK is repeated in all vertical partitions of a table to get the original table

Vertical Partitioning STD(stId, sName, sAdr, sPhone, cgpa, prName, school, mtMrks, mtSubs, clgName, intMarks, intSubs, dClg, bMarks, bSubs) STD(stId, sName, sAdr, sPhone, cgpa, prName) STDACD(sId, school, mtMrks, mtSubs, clgName, intMarks, intSubs, dClg, bMarks, bSubs)

Replication Final form of denormalization Data duplicated Increases the access speed and failure damage Entire table or part of table can be replicated

Replication Example Generally adopted where updation is not very frequent In PROJ-EMP we replicate the data with both the PROJ and EMP tables so on the cost of extra storage both tables have the related data

Clustering Files Clustering means to place records from different tables to place in adjacent physical locations, called clusters Increases efficiency since related records are placed close to each other

Clustering Files Clustering is also suitable to relatively static situations Define cluster, define the key of the cluster, include the tables into the cluster while creating associating the key with it

Other Related Issues To be discussed later during storage concepts discussion File structures Indexes RAID

Summary of Physical DB Design

THANK YOU!
Tags