Académique Documents
Professionnel Documents
Culture Documents
Introduction
PLAY
1
11/01/2021
Plan
1 Introduction
2 Approches de conception
PLAY
3 Implémentations d’une BDD
4 Applications Oracle
Introduction
2
11/01/2021
Schéma conceptuel
Lien Schéma de
de fragmentation
localisation
Schéma d’allocation
PLAY
Schéma Schéma Schéma
local 1 local 2 local 3
Conception ascendante
BD fédéré
PLAY
Globale
3
11/01/2021
Conception descendante
BD répartie PLAY
Globale
● conception du schéma
Naturelle conceptuel globale
● distribution pour obtenir
les schémas conceptuels
locaux
● fragmentation BD1 BD2 … BDn Locales
● affectation aux sites
allocation
Intuition
utilisateurs
Schéma conceptuel
Administrateurs(ss)
Schéma de fragmentation
Schéma d’allocation
PLAY
Schéma local 1 Schéma local 2 Schéma local 3
4
11/01/2021
Fragmentation Horizontale
• En conception descendante
– Adéquation géographique
– Recherche de performance (I/O, traitements)
• En conception ascendante
PLAY
– Des données comparables dans différentes
bases
– Pb : consolidation correcte (unicité des clés,
types des attributs )
Fragmentation: Définition
5
11/01/2021
Fragmentation: Règles
Fragmentation: Types
6
11/01/2021
Relation Compte
NoClient Agence TypeCompte Somme
174 723 Tanger courant 123 345.89
177 498 Rabat courant
34 564.00
Site 2
201 639 Tanger courant 45 102.50
201 639 Tanger dépôt Relation Agence
Site 1
Agence Adresse
Relation Client
Tanger
Rabat
PLAY
BD Fès, 3, 90002 Tanger
Avenue My Youssef, 21, 10002 Rabat
NoClient NomClient Prénom Age
174 723 Fatih Aymen 29
177 498 Hajji Hicham 38
201 639 Slimani Kamel 51
203 446 Yazami achid 36
Fragmentation Horizontale
Fragmentation: Types
PLAY
7
11/01/2021
Fragmentation Horizontale
Fragmentation: Types
Région1 Sous-R1
Relation
Région2
Sous-R2
Compte1= Compte Where TypeCompte = «courant »
numéro Agence TypeCompte Somme
CREATE
Compte = Compte1 + Compte2 =
Fragmentation verticale
Fragmentation: Types
8
11/01/2021
Fragmentation verticale
Fragmentation: Types
Sous-R1 Sous-R2
numCil
NoClient NomCli
Agence TypeCompte Somme
Région1
Région2
174 723 Tanger courant
TypeCompte 123 345.89
Relation 177 498 Rabat courant
courant 34 564.00
201 639 Tanger dépôt
dépôt 325 100.00
203 446 Rabat courant
courant 274 882.95
Fragmentation hybride
Fragmentation: Types
9
11/01/2021
Fragmentation hybride
Fragmentation: Types
Région1
Relation Client
NoClient NomClient Prénom
PLAY
Age
174 723 Fatih Aymen 29
Site 12
177 498 Hajji Hicham 38
201 639 Slimani Kamel 51
Site 11 203 446 Yazami Rachid 36
Site 2
Fragmentation hybride
Fragmentation: Types
• Exercice: Donner les fragments (avec les données) et la reconstruction de la relation compte.
numCil
NoClient NomCli
Agence prénomCli
TypeCompte age
Somme
174 723 Tanger courant 123 345.89
177 498 Rabat courant 34 564.00
201 639 Tanger dépôt 325 100.00
203 446 Rabat courant 274 882.95
PLAY
10
11/01/2021
Schéma de fragmentation
Méthodologie de la fragmentation
Fragmentation Horizontale
Méthodologie de la fragmentation
11
11/01/2021
Fragmentation verticale
Méthodologie de la fragmentation
Fragmentation verticale
Méthodologie de la fragmentation
12
11/01/2021
Fragmentation dérivée
13