Вы находитесь на странице: 1из 19

5 1

FRAGMENTATION AND ALLOCATION OF


OBJECT-ORIENTED DATABASES FOR SIMPLE
ATTRIBUTES AND COMPLEX METHODS: A
COST-BASED TECHNIQUE
Mo h a m e d T. Fa h e e m
Am a ny Sa r h a n
Co m p u t e r s a nd Au t o m a t i c Co nt r o l Eng i ne e r i ng , Fa c u l t y o f Eng i ne e r i ng , Ta nt a Uni v e r s i t y,
Eg yp t
Ra s h a d L. Ib r a h e m
, El e c t r i c a l Eng i ne e r i ng De p a r t m e nt , Hi g h Ins t i t u t e o f Ene r g y, Eg yp t
Ab s t r a c t : Th e e f f i c i e nc y o f t h e d i s t r i b u t e d s ys t e m s i s m o s t o f t e n d o m i na t e d
b y t h e ne t w o r k c o m m u ni c a t i o ns b e t w e e n t h e d i f f e r e nt s i t e s . In
d i s t r i b u t e d d a t a b a s e s ys t e m s , t h e c o m m u ni c a t i o n b e t w e e n t h e
d i f f e r e nt s i t e s i s a l m o s t e s s e nt i a l t o s a t i s f y a q u e r y. In o r d e r t o
m i ni m i z e t h e t i m e r e q u i r e d t o r e s p o nd t o a q u e r y i n s u c h s ys t e m s ,
a r e l i a b l e f r a g m e nt a t i o n t e c h ni q u e i s r e q u i r e d t o p l a c e t h e d a t a a s
c l o s e t o i t s u s e r a s p o s s i b l e . Th e p l a c e m e nt o f t h e s e f r a g m e nt s t o
t h e p r o p e r s i t e s i s a c o m p l e m e nt a r y s t e p t o a s s u r e t h e r i g h t
p o s i t i o n o f t h e s e f r a g m e nt s . Th e p r e v i o u s f r a g m e nt a t i o n
t e c h ni q u e s p r o v i d e d a w a y f o r f r a g m e nt a t i o n o f t h e d a t a b a s e t h a t
i s f o l l o w e d b y a n a l l o c a t i o n t e c h ni q u e t o a l l o c a t e t h e p r o d u c e d
f r a g ne nt s a s s e p a r a t e s t e p s . Th e k e y i d e a o f t h i s p a p e r i s t h a t i t
i nt r o d u c e s a no v e l t e c h ni q u e t h a t c o m b i ne s b o t h t h e
f r a g m e nt a t i o n a nd a l l o c a t i o n p r o c e s s e s i nt o o ne c o m p o s i t e
p r o c e s s t h u s p u t t i ng i nt o c o ns i d e r a t i o n t h e a l l o c a t i o n c o ns t r a i nt s
w h i l e f r a g m e nt i ng t h e d a t a . It a l s o s i m p l i f i e s t h e e f f o r t r e q u i r e d t o
g e t t h e b e s t f r a g m e nt s a nd t h e b e s t l o c a t i o n o f t h e s e f r a g m e nt s .
Th i s p r o p o s e d t e c h ni q u e r e l i e s o n a c o s t -b a s e d m o d e l r a t h e r t h a n
a n a f f i ni t y m o d e l a s b e i ng u s e d i n p r e v i o u s t e c h ni q u e s . Th e c a s e
o f s i m p l e m e t h o d s a nd c o m p l e x a t t r i b u t e s d a t a b a s e i s c o ns i d e r e d
i n t h i s p a p e r . Th e r e s u l t s o b t a i ne d b y t h e t e c h ni q u e p r o o f e d t h e
e f f e c t i v e ne s s a nd u s e f u l ne s s o f t h e p r o p o s e d t e c h ni q u e .
K e yw o r d s : Ob j e c t -Or i e nt e d Da t a b a s e , Al l o c a t i o n, V e r t i c a l Fr a g m e nt a t i o n,
Si m p l e Me t h o d s , Co m p l e x At t r i b u t e s , Co s t -b a s e d m o d e l ,
Af f i ni t y-b a s e d m o d e l .
1 . INTRODUCTION
Si nc e d a t a i s t h e b a s i c c o m p o ne nt o f a ny o r g a ni z a t i o n w h i c h i s ne e d e d
t o c o v e r t h e w h o l e e nt e r p r i s e a nd t o i nt e r a c t w i t h t h o s e o f o t h e r o r g a ni z a t i o ns ,
l a r g e s i z e d a t a b a s e s t h a t c o nt a i n m i l l i o ns o f d a t a a r e b e i ng d e v e l o p e d a l l
a r o u nd t h e w o r l d .
W i t h t h e m a s s i v e a m o u nt o f d a t a t h a t c a n no t b e s t o r e d o r h a nd l e d i n
o ne s i t e , t h e d i s t r i b u t e d s ys t e m c a m e a s a s o l u t i o n. In r e c e nt ye a r s , h o w e v e r ,
d a t a b a s e t e c h no l o g y h a s b e e n a p p l i e d t o ne w a p p l i c a t i o ns t h a t ne e d t o h a nd l e
ne w t yp e s o f d a t a s u c h a s : a u d i o , v i d e o , t e x t , a nd g r a p h i c s d Ex a m p l e s o f
t h o s e a p p l i c a t i o ns i nc l u d e s : c o m p u t e r -a i d e d d e s i g n a nd m u l t i m e d i a d a t a b a s e s
[ 5 ,
2 0 1 .
As a r e s u l t , d a t a b a s e r e s e a r c h e r s i nt r o d u c e d ne w d a t a m o d e l s
i nc l u d i ng t h e o b j e c t -o r i e nt e d m o d e l t o h a nd l e t h o s e ne w a p p l i c a t i o ns w h i c h
c o u l d no t b e h a nd l e d b y t h e r e l a t i o na l m o d e l [ 1 ] ,
[ 2 ] ,
[ 3 ] , [ 5 ] , [ 6 ] . Ho w e v e r ,
t h e o b j e c t -o r i e nt e d m o d e l p r e s e nt e d ne w f e a t u r e s s u c h a s : i nh e r i t a nc e ,
e nc a p s u l a t i o n, o b j e c t i d e nt i t y a nd c o m p l e x o b j e c t s a nd t h u s w i l l r e q u i r e
d i f f e r e nt t e c h ni q u e s f o r d a t a m a na g e m e nt [ 2 ] , [ 6 ] .
In d i s t r i b u t e d d a t a b a s e s ys t e m s , f r a g m e nt a t i o n a nd d i s t r i b u t i o n o f d a t a
a m o ng d i f f e r e nt s i t e s b e c a m e a n i m p o r t a nt a r e a o f r e s e a r c h . Th e
f r a g m e nt a t i o n o f d a t a i s p e r f o r m e d e i t h e r h o r i z o nt a l l y, v e r t i c a l l y o r m i x e d .
Ho r i z o nt a l f r a g m e nt a t i o n a i m s t o b r e a k t h e l a r g e nu m b e r o f i ns t a nt s i nt o
d i s j o i nt s u b s e t s e a c h w i l l b e l o c a t e d t o d i f f e r e nt s i t e , w h i l e t h e v e r t i c a l
f r a g m e nt a t i o n a i m s t o b r e a k u p a r e l a t i o n i nt o a s u b s e t o f r e l a t i o ns [ 5 ] , [ 2 0 ] .
Th e m i x e d f r a g m e nt a t i o n r e l i e s o n b r e a k i ng t h e d a t a b o t h h o r i z o nt a l l y a nd
v e r t i c a l l y. Th e p r o b l e m o f d a t a f r a g m e nt a t i o n h a s l a r g e l y b e e n a d d r e s s e d i n
t h e r e l a t i o na l m o d e l , b u t d u e t o t h e c o m p l e x s t r u c t u r e o f o b j e c t m o d e l t h e
f r a g m e nt a t i o n o f o b j e c t -o r i e nt e d d a t a b a s e i s a m o r e d i f f i c u l t a nd c o m p l e x
p r o c e s s a nd t h u s h a d l e s s a t t e nt i o n [ 8 -1 9 ] .
In t h i s p a p e r , w e f o c u s o n t h e v e r t i c a l f r a g m e nt a t i o n o f t h e o b j e c t -
o r i e nt e d d a t a b a s e . It h a s b e e n p r o v e d t h a t t h e p e r f o r m a nc e o f a Di s t r i b u t e d
Ob j e c t Ba s e d Sys t e m ( DOBS) c a n b e g r e a t l y e nh a nc e d i f t h e d a t a i s s t o r e d a t
l o c a l s i t e s i n s u c h a m a nne r t h a t m a ny o f t h e u s e r a p p l i c a t i o ns r u nni ng a t e a c h
s i t e g e t a l l ne e d e d d a t a a t t h a t s i t e w i t h o u t a c c e s s i ng i r r e l e v a nt d a t a o r
r e q u i r i ng f i u r t h e r c o m m u ni c a t i o n w i t h o t h e r s i t e s . Th e m a i n o b j e c t i v e o f
v e r t i c a l f r a g m e nt a t i o n i n o b j e c t -o r i e nt e d d a t a b a s e s i s t o b r e a k a c l a s s i nt o a
s e t o f s m a l l e r c l a s s e s ( c a l l e d f r a g m e nt s ) . Th e f r a g m e nt a t i o n p r o c e s s p e r m i t s
u s e r a p p l i c a t i o ns t o e x e c u t e u s i ng o nl y o ne f r a g m e nt l o c a t e d a t l o c a l s i t e s
w h i c h m e a ns m i ni m u m u s e r a p p l i c a t i o n e x e c u t i o n t i m e [ 8 ] , [ 2 0 1 .
Pr e v i o u s w o r k i n v e r t i c a l f r a g m e nt a t i o n w a s m o s t l y b a s e d o n t h e
m e t h o d -a f f i ni t y a p p r o a c h t o o b t a i n m e t h o d f r a g m e nt s [ 7 -1 4 1 . Th e n, a n
7 3 2
a t t r i b u t e
f r a g m e nt a t i o n
p r o c e s s i s p e r f o r m e d u s i ng t h e a f f i ni t y a p p r o a c h t o
o b t a i n t h e a t t r i b u t e
f i a g m e nt s .
Th e r e s u l t a nt
f r a g m e nt s
a r e t h e n a l l o c a t e d
u s i ng a n a l l o c a t i o n t e c h ni q u e a s a s e p a r a t e i nd e p e nd e nt s t e p [ 1 5 1 . Ot h e r
t e c h ni q u e s r e l i e d o n a c o s t m o d l w h i c h t h e y a i m e d t o m i ni m i z e
[ 1 2 1 .
Th e p r o p o s e d t e c h ni q u e i n t h i s p a p e r o f f e r s a ne w w a y t o f i a g m e nt a nd
a l l o c a t e o b j e c t -o r i e nt e d d a t a b a s e s w h e r e t h e a l l o c a t i o n p r o c e s s i s p e r f o r m e d
a l o ng w i t h t h e f r a g m e nt a t i o n p r o c e s s . Th e o u t p u t o f t h e p r o p o s e d
f r a g m e nt a t i o n a nd a l l o c a t i o n t e c h ni q u e i s a s e t o f d a t a f r a g m e nt s a l l o c a t e d t o
t h e b e s t p o s s i b l e s i t e s . Th e p r o p o s e d t e c h ni q u e i s s u p e r i o r t o t h e o t h e r
f r a g m e nt a t i o n t e c h ni q u e s i n t h a t i t c o v e r s b o t h t h e f r a g m e nt a t i o n a nd
a l l o c a t i o n c o ns t r a i nt s i n t h e s a m e t i m e . In t h e f r a g m e nt a t i o n p r o c e s s c e r t a i n
c o ns t r a i nt s a r e i nv o l v e d a nd t h r o u g h t h e a l l o c a t i o n p r o c e s s o t h e r c o ns t r a i nt s
a r e i m p o s e d . Se p a r a t i ng t h e f r a g m e nt a t i o n p r o c e s s f r o m t h e a l l o c a t i o n p r o c e s s
c a n l e a d t o u nr e a l i s t i c f r a g m e nt s t h a t m a y no t m a t c h t h e c u r r e nt a l l o c a t i o n
c o ns t r a i nt s . Th u s , m e r g i ng b o t h p r o c e s s e s i nt o o ne p r o c e s s w i l l a s s u r e t h a t t h e
f r a g m e nt s
p r o d u c e d c a n b e a l l o c a t e d s a t i s f yi ng b o t h t h e f r a g m e nt a t i o n a nd
a l l o c a t i o n c o ns t r a i nt s i n t h e s a m e t i m e . Al s o , t h e p r o p o s e d t e c h ni q u e
m i ni m i z e s t h e e f f o r t t a k e n t o p e r f o r m t h e t w o s t e p s s e p a r a t e l y. Th i s p a p e r
c o v e r s t h e c a s e o f c l a s s e s c o ns i s t i ng o f d a t a b a s e o b j e c t s t h a t h a v e s i m p l e
a t t r i b u t e s u s e d b y c o m p l e x m e t h o d s . Th i s t e c h ni q u e e x t e nd s t h e p r e v i o u s
p r o p o s e d t e c h ni q u e d e v e l o p e d i n
[ 1 0 1
t o d e a l w i t h t h e ne w c o m p l e x i t y a d d e d
b y t h e e x i s t e nc e o f c o m p l e x m e t h o d s i n t h e m o d e l . Th e p r o b l e m i s t h u s m u c h
c o m p l i c a t e d a s c o m p l e x m e t h o d s i m p l y u s i ng t h i s m e t h o d t o o t h e r m e t h o d s i n
t h e s a m e c l a s s w h i c h t h e c o m p l e x m e t h o d b e l o ng s t o o r i n o t h e r c l a s s e s . Th e
t w o r e l a t i o ns h i p s c o ns i d e r e d i n t h i s c l a s s m o d e l c o ns i s t i ng o f s i m p l e a t t r i b u t e s
a nd c o m p l e x m e t h o d s a r e : t h e i nh e r i t a nc e a nd t h e m e t h o d l i nk .
V e r t i c a l f r a g m e nt a t i o n o f t h i s c l a s s m o d e l r e q u i r e s p r i o r i k no w l e d g e o f
t h o s e m e t h o d s o f o t h e r c l a s s e s u s e d b y e a c h c o m p l e x m e t h o d o f t h e c l a s s t o
b e
f r a g g m e nt e d
a nd t h a t t h e e nc a p s u l a t i o n i s no t v i o l a t e d . Th e r e f o r e , t h e s e
r e l a t i o ns h i p s b e t w e e n t h e c o m p l e x m e t h o d a nd t h e o t h e r m e t h o d s m u s t b e
t r a c e d a nd t h e n t h e e f f e c t s a r e i nc l u d e d i n t h e p r o p e r m a t r i c e s .
2 . METHODS IN DOODS
2 . 1 Co m p l e x Me t h o d Ex e c u t i o n Co s t i n DOODBs
As d e f i ne d i n Ez i e f e [ 9 ] , u s e r a p p l i c a t i o ns t h a t a c c e s s a t t r i b u t e s a nd
m e t h o d s o f t h e c l a s s a r e o f t h r e e t yp e s
na m e l y a s f o l l o w s :
*
Th o s e r u nni ng d i r e c t l y o n t h i s c l a s s .
* Th o s e r u nni ng o n d e s c e nd a nt s o f t h i s c l a s s .
* Th o s e r u nni ng o n m e t h o d s o f o t h e r c l a s s e s i n t h e d a t a b a s e t h a t u s e
m e t h o d s o f t h i s c l a s s .
7 3 3
As i n s i m p l e r m o d e l s , t h e i nh e r i t a nc e r e l a t i o ns h i p b e t w e e n o b j e c t b a s e
c l a s s e s i s a c c o m m o d a t e d b y i nc l u d i ng i n t h e m e t h o d u s a g e o f m e t h o d s o f a
c l a s s C, , a l l u s a g e s b y a p p l i c a t i o ns o n t h e i r nu l l m e t h o d r e p r e s e nt a t i v e s a t
d e s c e nd a nt s o f t h i s c l a s s . Si m i l a r l y, t h e m e t h o d l i nk s a r e a c c o m m o d a t e d b y
i nc l u d i ng i n t h e c l a s s C, m e t h o d u s a g e u s e s b y a l l m e t h o d s o f o t h e r c l a s s e s i n
t h e d a t a b a s e t h a t u s e m e t h o d s o f t h i s c l a s s . Th e e f f e c t o f t h e c o m p l e x m e t h o d s
w i l l b e a l s o a d d e d t h r o u g h a s e q u e nc e o f r e p e a t e d s t e p s a s w i l l b e d e s c r i b e d
ne x t
Th e r e a r e t h r e e d i f f e r e nt t yp e s o f c o m p l e x m e t h o d i nv o c a t i o n w h i c h a r e :
a . Si m p l e i nv o c a t i o n: Th e c o m p l e x m e t h o d i nv o k e s o t h e r m e t h o d s ( c o m p l e x
o r s i m p l e ) i n t h e s a m e o r i n o t h e r c l a s s e s .
b . Co nd i t i o na l i nv o c a t i o n: Co nd i t i o na l l y i m p l i e s t h a t t h e c o m p l e x m e t h o d
i nv o k e s o t h e r m e t h o d s w h e n a c o nd i t i o n o c c u r s .
c . Re p e a t e d i nv o c a t i o n: Th e r e p e a t e d i nv o c a t i o n m e a ns t h a t t h e c o m p l e x
m e t h o d i nv o k e s a no t h e r m e t h o d ( s ) r e p e a t e d l y ( i . e . , f o r a nu m b e r o f
t i m e s ) .
2 . 2 Co m p l e x Me t h o d Co s t i n DOODBS
In DOODBs w h e n a m e t h o d i s e x e c u t e d , i t m a y p e r f o r m t h e f o l l o w i ng
a c t i v i t i e s : CPU p r o c e s s i ng , Di s k 1 0 a nd Mi g r a t i o n o f d a t a b e t w e e n s i t e s [ 7 -
1 0 ,
1 2 1 .
Th e t o t a l c o s t t o e x e c u t e a m e t h o d i n DOODBs i s g i v e n b y t h e
e q u a t i o n:
To t a l _ c o s t = Di s k IO c o s t + CPU c o s t + Da t a m i g r a t i o n c o s t
W h e r e ;
Di s k IO_ c o s t i s t h e c o s t f o r p e r f o r m i ng d i s k 1 0 o p e r a t i o n,
CPU c o s t i s t h e c o s t f o r p e r f o r m i ng t h e c o m p u t a t i o n d u r i ng t h e m e t h o d
e x e c u t i o n a nd Da t a
m i g r a t i o n-c o s t
i s t h e c o s t o f m i g r a t i ng d a t a b e t w e e n t h e
s i t e t h a t c a l l s t h e m e t h o d a nd t h e s i t e t h a t t h e m e t h o d i s a l l o c a t e d o n. It i s t h u s
t h e c o s t o f m i g r a t i ng d a t a b e t w e e n t h e c o m p l e x m e t h o d a nd t h e m e t h o d s t h a t
i t i nv o k e s . In o u r p r o p o s e d w o r k , a s i n [ 1 2 ] , w e d i s r e g a r d t h e CPU c o s t . Th i s
i s b e c a u s e f o r v e r y l a r g e d a t a b a s e a p p l i c a t i o ns w i t h h u g e a m o u nt o f d a t a
a c c e s s e s , t h e CPU c o s t s c o nt r i b u t i o n t o w a r d s t h e To t a l _ c o s t w i l l b e
i ns i g ni f i c a nt . Al s o , w e a r e no t i nt e r e s t e d i n t h i s r e s e a r c h w o r k t o m i ni m i z e t h e
Di s k _ IO_ c o s t . W e w i l l c o nc e nt r a t e o n t h e Da t a m i g r a t i o n_ c o s t b e c a u s e i t t h e
m o s t s i g ni f i c a nt c o s t i n DOODBs . Th u s t h e p r e v i o u s e q u a t i o n b e c o m e s :
To t a l _ c o s t = Da t a m i g r a t i o n c o s t
W e a i m t o m i ni m i z e t h e c o s t o f d a t a m i g r a t i o n i n o r d e r t o m i ni m i z e t h e
t o t a l e x e c u t i o n c o s t o f t h e m e t h o d . Th i s c a n b e a c h i e v e d u s i ng t h e
f r a g m e nt a t i o n a nd t h e a l l o c a t i o n t e c h ni q u e s .
7 3 4
3 . THE PROPOSED TECHNIQUE
In o r d e r t o p e r f o r n t h e v e r t i c a l
f i a g m e nt a t i o n,
t h e t o p d o w n d e s i g n
a p p r o a c h w i l l ne e d s o m e i nf o r na t i o n a b o u t t h e s ys t e m u nd e r c o ns i d e r a t i o n.
Th i s i nf o r m a t i o n i nc l u d e s a s e t o f u s e r q u e r i e s , t h e d a t a b a s e s c h e m a ;
c o ns i s t i ng o f a s e t o f d a t a b a s e c l a s s e s , a nd t h e r e l a t i o ns h i p s b e t w e e n t h e m .
Fo r t h e a l l o c a t i o n p r o c e s s o t h e r s e t o f i nf o r m a t i o n i s r e q u i r e d s u c h a s t h e
a m o u nt o f d a t a r e q u i r e d t o b e t r a ns f e r r e d a f t e r m e t h o d e x e c u t i o n a nd t h e
s p e e d o f d a t a t r a ns f e r r e d b e t w e e n s i t e s . Th e m o d e l o nl y c o ns i d e r s t h e
i nh e r i t a nc e r e l a t i o ns h i p c a p t u r e d b y t h e c l a s s l a t t i c e a s d e s c r i b e d i n [ 8 , 9 , 1 3 ] .
Th e p r o p o s e d f r a g m e nt a t i o n a nd a l l o c a t i o n t e c h ni q u e i s a h yb r i d
a p p r o a c h b a s e d o n a c o m b i na t i o n o f t i m e c o s t -b a s e d a nd a f f i ni t y-b a s e d
a p p r o a c h e s . Fi r s t , a c o s t -b a s e d a p p r o a c h i s u s e d t o f r a g m e nt a nd a l l o c a t e t h e
d a t a b a s e m e t h o d s d e p e nd i ng o n t h e c o s t o f m e t h o d e x e c u t i o n o n DOODBs .
Th e n, a n a f f i ni t y-b a s e d a p p r o a c h i s u s e d t o f r a g m e nt t h e a t t r i b u t e s a c c e s s e d
b y t h e p r e v i o u s l y g e ne r a t e d m e t h o d f r a g m e nt s d e p e nd i ng o n t h e a f f i ni t y
b e t w e e n m e t h o d s a nd a t t r i b u t e s a s i n [ 7 -9 J. V e r t i c a l f r a g m e nt a t i o n g o a l i s t o
m i ni m i z e a p p l i c a t i o n e x e c u t i o n t i m e b y s p l i t t i ng a c l a s s i nt o nu m b e r o f
f r a g m e nt s . Th e a l l o c a t i o n o f f r a g m e nt s h a s t h e p r i m a r y g o a l o f m i ni m i z i ng
t h e nu m b e r o f r e m o t e a c c e s s e s w h i c h a r e p e r f o r m e d b y a p p l i c a t i o ns . Th e ne w
t e c h ni q u e a i m s t o g i v e t h e m i ni m u m t i m e t o e x e c u t e m e t h o d s a nd t h e
m i ni m u m ne e d s t o d a t a m i g r a t i o n b e t w e e n s i t e s .
To d e t e r m i ne t h e s c o p e o f t h e p r o p o s e d f r a g m e nt a t i o n t a s k , w e a r e
f a c e d w i t h d i f f e r e nt c l a s s i f i c a t i o ns o f c l a s s e s a nd t h e i r u s i ng m e t h o d s . Th e
d a t a b a s e c l a s s e s a nd m e t h o d s a s c l a s s i f i e d i n
[ 1 ] , [ 7 1 ,
[ 1 1 ] a r e o f f o u r m a i n
t yp e s : s i m p l e a t t r i b u t e s a nd s i m p l e m e t h o d s , s i m p l e a t t r i b u t e s a nd c o m p l e x
m e t h o d s , c o m p l e x a t t r i b u t e s a nd s i m p l e m e t h o d s a nd c o m p l e x a t t r i b u t e s a nd
c o m p l e x m e t h o d s . In
[ 1 0 ]
w e c o ns i d e r e d t h e s i m p l e s t c a s e w h i c h i s a d a t a b a s e
s ys t e m c o nt a i ni ng s i m p l e a t t r i b u t e s a nd s i m p l e m e t h o d s . In t h i s p a p e r w e w i l l
c o ns i d e r o nl y a c l a s s m o d e l o f t h e f i r s t t yp e . In o r d e r t o d e s c r i b e t h e p r o p o s e d
t e c h ni q u e w e w i l l ne e d t h e f o l l o w i ng d e f i ni t i o ns .
3 . 1 De f i ni t i o ns
W e u s e d s o m e o f t h e no t a t i o ns u s e d i n
[ 7 -9 ]
f o r c o nv e ni e nc e . W e a l s o
a d d e d o t h e r no t a t i o ns a s ne e d e d . Th e m a j o r r e q u i r e m e nt s r e l a t e d t o
a p p l i c a t i o ns a r e t h e i r a c c e s s f r e q u e nc i e s . Q
=
{ q 1 , q 2 , . . , q n}
i s t h e s e t o f u s e r
q u e Ie s
( a p p l i c a t i o n) r u nni ng o b j e c t m e t h o d s f r o m s e t o f a l l m e t h o d s d e no t e d
{ MI J, M1 2 , . . , M~ ' P} . Th e c a r d i na l i t y o f a c l a s s i s t h e nu m b e r o f i ns t a nc e
o b j e c t s i n t h e c l a s s ( d e no t e d c a r d
( CQ) ) :
* De f i ni t i o n-i : A u s e r q u e r y a c c e s s i ng d a t a b a s e o b j e c t s i s a s e q u e nc e o f
m e t h o d i nv o c a t i o ns o n a n o b j e c t o r s e t o f o b j e c t s o f c l a s s e s . Th e
i nv o c a t i o n o f m e t h o d j o n c l a s s
Ci
i s d e no t e d b y Mt " a nd a u s e r q u e r y
q k
i s
r e p r e s e nt e d b y { M" l , M" , . . . , Mm ' P} w h e r e e a c h M i n a u s e r q u e r y r e f e r s
t o a n i nv o c a t i o n o f a m e t h o d o f a c l a s s o b j e c t .
7 3 5
* De f i ni t i o n-2 : Me t h o d / At t r i b u t e Re f e r e nc e Se t MAR ( M' J) o f a m e t h o d
ME' o f a c l a s s Ci i s t h e s e t o f a l l a t t r i b u t e s o f C, r e f e r e nc e d b y M' U.
* De f i ni t i o n-3 : A nu l l m e t h o d o f a c l a s s
Ci ,
d e no t e d NM ( C1 ) , w i t h r e s p e c t
t o a s u p e r c l a s s
C.
i s a p l a c e h o l d e r f o r t h e s u p e r c l a s s ' s m e t h o d . A nu l l
m e t h o d i s d e no t e d b y: ( o r i g i na l c l a s s . m e t h o d na m e ) w h e r e o r i g i na l c l a s s
i s t h e na m e o f t h e s u p e r c l a s s a nd m e t h o d na m e i s t h e m e t h o d i n t h e
s u b c l a s s .
* De f i ni t i o u -4 : An e x t e nd e d m e t h o d o f a c l a s s
Ci ,
( EM) i k i s e i t h e r a n
o r i g i na l m e t h o d o f t h e c l a s s M' J o r a nu l l m e t h o d o f t h e c l a s s NM( C, ) .
Th u s ,
( EW
=MCI NM( CI) . In e f f e c t , t h e e x t e nd e d m e t h o d s e t o f a c l a s s
i s t h e u ni o n o f i t s a c t u a l m e t h o d s a nd i t s nu l l m e t h o d s ( nu l l m e t h o d s a r e
u s e d t o r e f e r t o i nh e r i t e d m e t h o d ) .
* De f l ni t i o n-u - Ac c e s s f r e q u e nc y o f a q u e r y i s t h e nu m b e r o f a c c e s s e s a
u s e r a p p l i c a t i o n m a k e s t o " Da t a " . If Q = { q ,
, q 2 , . . . , q q }
i s a s e t o f u s e r
q u e r i e s ,
a c c ( q i , d j )
i nd i c a t e s t h e a c c e s s f r e q u e nc y o f q u e r y Cb o n " Da t a '
i t e m
d j
w h e r e d a t a i t e m d j c a n b e a c l a s s , a f r a g ne nt o f a c l a s s , a n
i ns t a nc e
o b j e c t
o f a c l a s s , a n a t t r i b u t e o r m e t h o d o f a c l a s s .
* De f i ni t i o n-6 : Th e s p e e d o f d a t a t r a ns f e r r e d b e t w e e n d i f f e r e nt s i t e s
( Si ,
Sj )
p e r u ni t t i m e , SDT
( Si , Sj ) ,
w h e r e S i s c l i e nt s i t e a nd Sj i s s e r v e r s i t e .
* De f i ni t i o n-7 : Th e a c c e s s f r e q u e nc y m a t r i x o f u s e r s q u e r i e s ( q j ) f r o m
d i f f e r e nt s i t e s
s j ,
AFM ( q i , Sj ) .
* De f i ni t i o n-8 : Th e m e t h o d u s a g e m a t r i x o f a c l a s s C1 , MUM ( q i , m j ) . MUM
( q i , m j ) =
I w h e n t h e u s e r q u e r y q i
i nv o k e s m e t h o d
m j
o f c l a s s c ; , o t h e r w i s e
MUM( q i , m j ) =
0 .
* De f i ni t i o n-9 : Am o u nt o f d a t a t r a ns f e r r e d d u r i ng e x e c u t i o n o f e a c h
m e t h o d , ADTM
( m j ) .
* De f i ni t i o n-1 0 : Th e c o s t m a t r i x , COSTSM
( s O, m k )
t h a t c o nt a i ns t h e c o s t o f
c a l l i ng t h e m e t h o d s f r o m d i f f e r e nt s i t e s . If COSTSM
( s 6 , m k ) =
c , t h e n c i s
t h e c o s t o f c a l l i ng t h e m e t h o d m k f r o m t h e d i f f e r e nt s i t e s i f i t i s a l l o c a t e d
o n s i t e Si ( no t e t h a t t h e c o s t o f c a l l i ng m e t h o d m k f r o m Si
t h a t i t i s
a l l o c a t e d a t i s e q u a l t o z e r o ) .
* De f i ni f i o n-l l : Th e f r a g m e nt a t i o n m a t r i x ( FRAGM) . FRAGM ( s , , m k ) =l
w h e n m e t h o d m i k i s d e c i d e d t o b e a l l o c a t e d o n s i t e S, a nd e q u a l s t o z e r o i f
no t
W h e n o ne a t t r i b u t e b e c o m e s a m e m b e r o f m o r e t h a n o ne v e r t i c a l
f r a g m e nt , w e ne e d t o d e c i d e w i t h w h i c h f r a g m e nt i t h a s t h e h i g h e s t
a f f i ni t y. Th e ne x t d e f i ni t i o ns a r e u s e d t o c o m p u t e t h e s e a f f i ni t i e s .
* De f i ni t i o n-1 2 : Th e s i t e c a p a c i t y m a t r i x
Sc ( Si )
t h a t c o nt a i ns t h e c a p a c i t y
o f s t o r a g e o f e a c h s i t e .
* De f i ni t i o a -1 3 : Th e s i z e o f o b j e c t s a s s o c i a t e d w i t h e a c h m e t h o d
Ob j _ s i z e
( m i ) w h i c h c o nt a i ns t h e s i z e o f o b j e c t s a s s o c i a t e d w i t h e a c h m e t h o d w h i c h
w i l l b e s t o r e d w h e n a l l o c a t e d a t a ny s i t e .
7 3 6
* De f i ni d o u -1 4 : At t r i b u t e Fr a g m e nt
Af f i ni t y
AFA
( A' j , F' h )
i s a m e a s u r e o f
t h e
a f f i ni t y
b e t w e e n a t t r i b u t e Ak j a nd v e r t i c a l f r a g m e nt F. h . Th i s
a f f i ni t y
i s c a l c u l a t e d f r o m t h e f o l l o w i ng r e l a t i o n:
AFA
( A. j Fi h ) =
b w , ) a c q ( q ,
* -1 ~ ~ 1r r a l ( q j , ,
)
k -I p - 1A4 4 . h Aa ( , * u ) 4
W h e r e m i s t h e nu m b e r o f m e t h o d s o n t h e v e r t i c a l f r a g m e nt FLh , Q i s t h e
nu m b e r o f u s e r q u e r i e s a nd w i s t h e nu m b e r o f s i t e s , r e f ( q p ) i s t h e nu m b e r
o f a c c e s s e s t o t h e m e t h o d Mi k f o r e a c h e x e c u t i o n o f t h e a p p l i c a t i o n q p a t
s i t e
SI
a nd
a c c , ( q , )
i s t h e a p p l i c a t i o n a c c e s s f r e q u e nc y f r o m s i t e
Si . .
Af t e r g e ne r a t i ng no n-o v e r l a p p i ng m e t h o d f r a g m e nt s , i t i s p o s s i b l e t o
o b t a i n o v e r l a p p i ng f r a g m e nt s w h e n a t t r i b u t e s r e f e r e nc e d b y m e t h o d s i n
t h e f r a g m e nt s a r e i nc l u d e d . Si nc e o u r o b j e c t i v e i s t o m a k e t h e f i na l
m e t h o d / a t t r i b u t e f r a g m e nt s no n-o v e r l a p p i ng , a t e c h ni q u e i s ne e d e d t o
d e c i d e i n w h i c h f r a g m e nt i t i s m o s t b e ne f i c i a l t o k e e p a n o v e r l a p p i ng
a t t r i b u t e . Ru l e I i s u s e d t o m a k e t h i s d e c i s i o n [ 9 ] .
Af f i ni t y Ru l e ( 1 ) :
Pl a c e t h e
Xo v e r l a p p i ng a t t r i b u t e A` i i n t h e f r a g m e nt FIh
w i t h m r a x i m u m AFA( A' I, F' II) s i nc e t h i s i s t h e v e r t i c a l f r a g m e nt w i t h
w h i c h a t t r i b u t e A" j h a s h i g h e s t a f f i ni t y. Th e o nl y r e l a t i o ns h i p t o c o ns i d e r
i n t h i s s i m p l e m o d e l i s t h e i nh e r i t a nc e h i e r a r c h y. Th i s i s i nc o r p o r a t e d i n
t h e v e r t i c a l f r a g m e nt a t i o n p r o c e s s t h r o u g h nu l l m e t h o d s a s f o l l o w s . Fo r
e v e r y m e t h o d o f a c l a s s , t h e f r e q u e nc y o f a c c e s s o f t h e m e t h o d i nc l u d e s
a c c e s s e s b y a l l i t s s u b c l a s s e s a nd a m e t h o d i s p r e s e nt e d a t t h e s u b c l a s s
l e v e l a s nu l l m e t h o d s o n t h e p a r e nt c l a s s .
* De f i ni t i o n-1 5 : Me t h o d Re f e r e nc e Se t MMR( MIi ) o f a m e t h o d M" o f a
c l a s s
Ci
i s t h e s e t o f a l l nr e o d s o f a ny c l a s s
Ck
i n t h e o b j e c t b a s e
r e f e r e nc e d b y c o m p l e x m e t h b d Mj o f c l a s s
Ci .
If t h e m e t h o d i s s i m p l e ,
t h e s e t s h o u l d b e e m p t y.
* De f i ni t i o n-1 6 : Th e ( NMEM) m a t r i x t h a t c a l c u l a t e s t h e nu m b e r o f
e x e c u t i o n f o r e a c h m e t h o d . Th e e l e m e nt s o f t h i s m a t r i x c a l c u l a t e d i n
t e r m s o f t h e MUM a nd AFM m a t r i c e s b y t h e f o l l o w i ng e q u a t i o n:
NMEM( m i ) = E
MUM ( q 1 , m , ) * AFM ( q , , s )
j =1 s =1
* De f i ni t i o n-1 7 : Th e m e t h o d -s i t e m a t r i x ( MSM) t h a t d e f i ne s t h e s i t e t h a t
c o nt a i ns t h e m e t h o d . W e g e ne r a t e t h i s m a t r i x f r o m t h e f r a g m e nt a t i o n
m a t r i x ( FRAGM) a s f o l l o w s :
If
FRAGM( s t , m k ) =
1 t h e n MSM( m k ) = t , w h e r e t i s t h e s i t e nu m b e r .
W h e n o ne a t t r i b u t e b e c o m e s a m e m b e r o f m o r e t h a n o ne v e r t i c a l
f r a g m e nt , w e ne e d t o d e c i d e w i t h w h i c h f r a g m e nt i t h a s t h e h i g h e s t
a f f i ni t y. Th e ne x t d e f i ni t i o ns a r e u s e d t o c o m p u t e t h e s e a f f i ni t i e s .
7 3 7
3 . 2 St e p s o f t h e Pr o p o s e d Fr a g m e nt a t i o n a nd Al l o c a t i o n
Te c h ni q u e
Th e p r o p o s e d t e c h ni q u e f o r f r a g m e nt i ng a nd a l l o c a t i ng t h e o b j e c t -
o r i e nt e d d a t a b a s e c o nt a i ni ng s i m p l e -a t t r i b u t e s a nd c o m p l e x -m e t h o d s i s
c o m p o s e d o f t w o p h a s e s a s s h o w n i n f i g u r e 1 . Th e f i r s t p h a s e p r o d u c e s t h e
f r a g m e nt s o f m e t h o d s w h i l e t h e s e c o nd p h a s e e x t e nd s t h e s e f r a g m e nt s t o
i nc l u d e t h e a t t r i b u t e s u s e d b y t h e m e t h o d s i n t h e f r a g m e nt s . Th i s c a n b e
p e r f o r m e d a s f o l l o w s :
3 . 2 . 1 Fi r s t Ph a s e ( Me t h o d Fr a g m e nt a t i o n a nd Al l o c a t i o n) : Th i s p h a s e i s
c o m p o s e d o f e l e v e n s t e p s . Th e f i r s t f i v e s t e p s a r e s i m i l a r t o t h o s e i nt r o d u c e d i n
t h e p r e v i o u s t e c h ni q u e d e v e l o p e d f o r s i m p l e a t t r i b u t e s a nd s i m p l e m e t h o d s
d e s c r i b e d i n c h a p t e r t h r e e . Th e s e s t e p s d e d u c e p r i m a r y m e t h o d s f r a g m e nt s
a s s u ni ng t h e y a r e a l l s i m p l e m e t h o d s . Th e ne x t t w o s t e p s u s e t h e s e p r i m a r y
f r a g m e nt s t o d e d u c e t w o ne w m a t r i c e s :
a . Nu m b e r o f m e t h o d e x e c u t i o n m a t r i x ( NMEM) .
b . Me t h o d -s i t e m a t r i x ( MSM) .
St e p s
3 t o 7 a r e p e r f o r m e d o n t h e
o b j e c t -o r i e nt e d d a t a b a s e c l a s s e s f r o m
l e a f c l a s s e s t o s u p e r c l a s s e s . St e p s e i g h t t o e l e v e n a r e a p p l i e d i t e r a t i v e l y t o
m o d i f y
t h e d a t a b a s e f r a g m e nt s p r o d u c e d b y t h e f i r s t f i v e s t e p s a nd t h e i r p r o p e r
a l l o c a t i o n s i t e s . Th i s i s p e r f o r m e d t o a d d t h e e f f e c t o f t h e c o m p l e x m e t h o d s o n
t h e p r o d u c e d f r a g m e nt s . St e p s 8 t o II a r e p e r f o r m e d o n t h e o b j e c t -o r i e nt e d
d a t a b a s e c l a s s e s f r o m s u p e r c l a s s e s t o l e a f c l a s s e s . Th u s , s t e p s 6 t o 1 1 a r e
r e q u i r e d f o r t h e c o m p l e x m e t h o d s c a s e a nd h e nc e t h e f o l l o w i ng t e c h ni q u e c a n
b e a p p l i e d t o b o t h c a s e s ( s i m p l e a nd c o m p l e x m e t h o d s ) w h e r e s t e p s 1 t o 5 a r e
u s e d i n t h e c a s e o f s i m p l e m e t h o d s a nd s t e p s I t o 1 1 a r e u s e d i n t h e c a s e o f
c o m p l e x m e t h o d s .
St e p s o ne t h r o u g h s e v e n a r e a s f o l l o w s :
1 . Ob t a i n t h e Ap p l i c a t i o n Fr e q u e nc y Ma t r i c e s ( AFM m a t r i x ) , Sp e e d o f
Da t a Tr a ns f e r r e d m a t r i x ( SDT m a t r i x ) a nd t h e Am o u nt o f Da t a
Tr a ns f e r r e d Ma t r i c e s ( ADTM m a t r i x ) . Th e p r e v i o u s t h r e e m a t r i c e s a r e
p a r t o f t h e i np u t d a t a f r o m p r e -a na l ys i s p r o c e s s o f t h e s ys t e m .
2 . Ob t a i n t h e Me t h o d Us a g e Ma t r i c e s ( MUM) o f t h e c l a s s a nd i t s
s u b c l a s s e s . Th e m e t h o d u s a g e m a t r i c e s a r e g e ne r a t e d b y Al g o r i t h m ( 1 ) i n
c h a p t e r t h r e e . Th i s a l g o r i t h m a c c e p t s a t r e e r o o t e d a t a c l a s s C, a nd
g e ne r a t e s t h e o r i g i na l m e t h o d u s a g e m a t r i c e s f o r c l a s s C, a nd o t h e r
c l a s s e s ( d e s c e nd a nt c l a s s e s o f
C, i n t h i s c a s e ) o n t h e t r e e f r o m u s e r
a p p l i c a t i o ns .
7 3 8
a
Fo r
w
s
. . , ~ ~ ~ ~ ~ ~ Se
i
l
i s 3 t o T
Fh s t p h a m Mt Z Co no k
MOMk d
Ma * n
a f i o a r b
_ u
~ ~ - 7 7
t
L . --
I Sd At M e I , _ 2
Ol t ( Fx i u e nd -
And
Ao c . a t d
Fi g u r e
1 . Th e
Pr o p o s e d Te c h ni q u e
f o r
Si m p l e At t r i b u t e s a nd
Co m p l e x
Me t h o d s
3 . Ge ne r a t e a Mo d i f i e d Me t h o d
Us a g e
Ma t r i x
( MMi UM m a t r i x )
a nd t h e
m o d i f i e d
a p p l i c a t i o n f r e q u e nc y
m a t r i x
( MAFM m a t r i x )
o f t h e c l a s s a s
d e s c r i b e d i n
Al g o r i t h m ( 2 ) . W h e r e , Al g o r i t h m ( 2 )
a d d s a r o w t o t h e
m e t h o d
u s a g e
m a t r i x o f a c l a s s C1 f o r
e v e r y a p p l i c a t i o n
c j
t h a t a c c e s s e s a
m e t h o d o f t h i s c l a s s Cl
t h r o u g h a ny
o f i t s d e s c e nd a nt c l a s s e s .
Al g o r i t h m ( 2 )
a l s o a d d s a r o w t o t h e
a p p l i c a t i o n f r e q u e nc y
m a t r i x o f a
c l a s s C, f o r
e v e r y
nu l l m e t h o d t h a t a c c e s s a m e t h o d o f t h i s c l a s s C1
t h r o u g h a ny
o f i t s d e s c e nd a nt c l a s s e s .
7 3 9
4 . By u s i ng SDT m a t r i x , MAFM m a t r i x , MMUM m a t r i x a nd ADTM
m a t r i x t h e c o s t o f e x e c u t i o n m e t h o d s o n d i f f e r e nt s i t e s i s c a l c u l a t e d a s
d e s c r i b e d i n Al g o r i t h m
( 3 )
i n c h a p t e r 3 . Th e COSTSM m a t r i x c o nt a i ns
t h e c o s t o f u s i ng m e t h o d s o n d i f f e r e nt s i t e s . Th e e l e m e nt s o f c o s t m a t r i x
a r e c a l c u l a t e d a c c o r d i ng t o t h e ne x t f o r m nu l a .
COSTSM( Si m
A UM( q } , m )
*
MAFM( q . , s , )
*
ADTM( m k ) / SDT( s * , s , )
j =I 1 =1
W h e r e Q i s t h e nu m b e r o f q u e r i e s , S i s t h e nu m b e r o f s i t e s a nd k i s t h e
nu m b e r o f m e t h o d s .
5 . Ge ne r a t e t h e f r a g m e nt a t i o n m a t r i x ( FRAGM m a t r i x ) f r o m t h e COSTSM
m a t r i x a s d e s c r i b e d i n Al g o r i t h m ( 3 ) i n c h a p t e r 3 . Th e m e t h o d s a r e
c h o s e n t o b e a l l o c a t e d t o t h e s i t e t h a t g i v e s t h e m i ni m u m c o s t i f t h e
c a p a c i t y o f t h e s i t e
S, ( Sj )
c a n a c c o m m o d a t e t h e s i z e o f t h e o b j e c t s
a s s o c i a t e d w i t h t h i s m e t h o d
Ob j _ s i z e ( m k ) .
If t h e s i t e c a p a c i t y i s
i ns u f f i c i e nt , t h e ne x t m i ni m u n c o s t s i t e i s c h e c k e d u nt i l a s i t e i s f o u nd
f o r a l l o c a t i ng t h i s m e t h o d . FRAGM
( S, , m k ) =l
w h e n m e t h o d m k i s
a l l o c a t e d t o s i t e Si a nd e q u a l t o z e r o i f no t .
Th e p r e v i o u s s t e p s a r e t h e s a m e a s i n t h e f i r s t t e c h ni q u e d e v e l o p e d i n
[ 1 0 ] . Th u s , t h e y d o no t i nc o r p o r a t e t h e e f f e c t o f t h e c o m p l e x m e t h o d . Th e
ne x t t w o p r e p a r a t o r y s t e p s a r e ne e d e d t o a c c o m m o d a t e t h e i nf l u e nc e o f
t h e c o m p l e x m e t h o d s .
6 . Ge ne r a t e t h e ( NMEM) m a t r i x t h a t c a l c u l a t e s t h e nu m b e r o f e x e c u t i o n
t i m e s o f t h e m e t h o d s o f t h e c l a s s . Th e e l e m e nt s o f t h i s m a t r i x a r e
c a l c u l a t e d f r o m t h e f o l l o w i ng e q u a t i o n:
NMEM( m d =-i , E
a , f i m u m
( q , m , ) * AFM ( q ,
. s , )
W h e r e ; Q: nu m b e r o f q u e r i e s , S: nu m b e r o f s i t e s .
7 . Ge ne r a t e t h e m e t h o d -s i t e m a t r i x ( MSM) t h a t d e f i ne s t h e s i t e , w h i c h t h e
m e t h o d i s c h o s e n t o b e a l l o c a t e d . Th i s m a t r i x i s g e ne r a t e d d i r e c t l y f r o m
t h e f r a g m e nt a t i o n m a t r i x ( FRAGM) d i r e c t l y a s f o l l o w s : Fo r e a c h m e t h o d
m k , i f
FRAGM( s , , m k )
= I t h e n MSM( m k ) = t w h e r e t i s s i t e nu m b e r i t i s
a l l o c a t e d a t .
7 4 0
. 4 l g o r i t h m I Ge ne r a t i ng t h e MUM o f Cl a s s
c ,
-l g o r i t h m 2 Ge ne r a t i ng MMIJM o f Cl a s s c ,
7 4 1
Al g o r i t h m 3 . Ge ne r a t i ng COSTSM a nd FRAM-ALL Ma t r i c e s o f Cl a s s
c i
Th e f o l l o w i ng s t e p s ( 8 -1 1 ) w i l l a c c o m m o d a t e t h e i nf l u e nc e o f t h e
c o m p l e x m e t h o d s o n t h e f r a g m e nt a t i o n a nd a l l o c a t i o n p r o c e s s . Th e s e
s t e p s a r e p e r f o r m e d o n t h e o b j e c t -o r i e nt e d d a t a b a s e c l a s s e s f r o m
s u p e r c l a s s e s t o l e a f c l a s s e s .
8 . Af t e r g e ne r a t i ng t h e p r i m a r y f r a g m e nt s u s i ng s t e p s 1 t o 5 , a d d i t i o na l
s t e p s m u s t b e r e p e a t e d t o
m o d i f y
t h e s e f r a g m e nt s b y a d d i ng t h e e f f e c t o f
t h e c o m p l e x m e t h o d s t o t h e c o s t m a t r i x w h i c h w i l l a f f e c t t h e r e s u l t a nt
f r a g m e nt s . Th u s , t h e c o s t m a t r i x ( COSTSM) m u s t b e m o d i f i e d o nl y f o r
t h e c o m p l e x m e t h o d s . Th e m e t h o d s o f d a t a b a s e t h a t u s e m e t h o d s o f t h e
c l a s s b e i ng f r a g m e nt e d a r e i d e nt i f i e d f r o m t h e m e t h o d Re f e r e nc e Se t
MRS ( Mi j ) o f
d e f i ni t i o n( J) .
Th e n, i f m e t h o d
m j
i nv o k e s m e t h o d m i k , t h e
c o s t o f e x e c u t i o n o f m e t h o d m i k i s m o d i f i e d a s f o l l o w s : Fi r s t t h e s i t e o f
m e t h o d m j i s d e t e r m i ne d f r o m t h e Me t h o d -Si t e Ma t r i x ( MSM) , w h e r e
MSM( m j ) t
a nd t i s t h e s i t e nu m b e r . Th e n, t h e f o l l o w i ng e q u a t i o n i s
a p p l i e d t o
m o d i f y
t h e c o s t o f e x e c u t i o n o f m i .
7 4 2
COSTSM( s b m k ) ne =CCOSTSM( s b m k ) o +NMEM( m )
* AD1 TM( m yl
SDT( s b s d
9 . Th e f r a g m e nt s a r e m o d i f i e d ( i . e . r e g e ne r a t e d ) a c c o r d i ng t o t h e
m o d i f i c a t i o ns m a d e t o t h e COSTSM m a t r i x i n s t e p 8 b y r e p e a t i ng s t e p 5
a nd o b t a i ni ng t h e ne w f r a g m e nt s a nd l o c a t i o n.
1 0 . Th e ( NMEM) m a t r i x i s m o d i f i e d t o u p d a t e t h e nu m b e r o f e x e c u t i o n f o r
e a c h m e t h o d a s f o l l o w s :
NMV EM( m A4 ~ ~
NMEM( m , , H+
NMEM( m )
I1 . Th e Me t h o d -Si t e Ma t r i x ( MSM) i s r e g e ne r a t e d u s i ng s t e p s e v e n. Th i s
m o d i f i c a t i o n i d e nt i f y t h e ne w l o c a t i o n f o r t h e m e t h o d a c c o r d i ng t o t h e
m o d i f i c a t i o ns m a d e t o f r a g m e nt a t i o n m a t r i x ( FRAGM m a t r i x ) .
3 . 2 . 2 Se c o nd Ph a s e ( At t r i b u e s Fr a g m e nt a t i o n)
a . Us e t h e m e t h o d -a t t r i b u t e r e f e r e nc e i nf o r m a t i o n o f t h e m e t h o d s i n e a c h
m e t h o d f r a g m e nt ( MAR. o f De f i ni t i o n-2 ) i n c h a p t e r t h r e e t o i nc l u d e i n
e a c h m e t h o d f r a g m e nt a l l a t t r i b u t e s o f t h e c l a s s a c c e s s e d b y m e t h o d s o f
t h e f r d g m e nt [ 2 0 3 .
b . If t h e r e i s a p r o b l e m o f o v e r l a p p i ng a t t r i b u t e s i n m o r e t h a n o ne f r a g m e nt ,
Af f i ni t y Ru l e ( 1 ) i s u s e d t o d e c i d e w h i c h v e r t i c a l f r a g m e nt t o k e e p e a c h
o v e r l a p p i ng a t t r i b u t e [ 2 0 ] . Ov e r l a p p i ng o c c u r s w h e n t h e s a m e a t t r i b u t e
o f a c l a s s b e l o ng s t o t h e m e t h o d a t t r i b u t e r e f e r e nc e s e t s o f t w o d i f f e r e nt
m e t h o d s i n t w o s e p a r a t e f r a g m e nt s . Af f i ni t y Ru l e ( 1 ) d e t e r m i ne s t h e
a f f i ni t y b e t w e e n t h e o v e r l a p p i ng a t t r i b u t e a nd e a c h o f t h e f r a g m e nt s
c o nt a i ni ng i t u s i ng t h e AFA s t a t i s t i c s o f De f i ni t i o ns -1 4 i n c h a p t e r t h r e e .
It p l a c e s t h e a t t r i b u t e i n t h e f r a g m e nt w i t h h i g h e s t a f f i ni t y m e a s u r e a nd
r e m o v e s t h e a t t r i b u t e s f r o m e v e r y o t h e r
f r a g m e nt s .
4 . MOTIV ATING EXAMPLE
Th i s e x a m p l e i nc o r p o r a t e s c l a s s m o d e l s c o ns i s t i ng o f s i m p l e a t t r i b u t e s
a nd c o m p l e x m e t h o d s . Th e e x a m p l e o b j e c t b a s e h a s c l a s s e s Ro o t , Pe r s o n,
De p t , Pr o f , St u d e nt , Und e r Gr a d a nd Gr a d . Th e c o m p l e x c l a s s l a t t i c e a s s h o w n
i n f i g u r e 2 .
7 4 3
Fi g u r e 2 . Cl a s s La t t i c e o f s a m p l e o b j e c t b a s e
W e w i l l i nt r o d u c e p a r t o f t h e v e r t i c a l f r a g m e nt a t i o n a nd a l l o c a t i o n o f
t h e e x a m p l e u s i ng t h e p r o p o s e d t e c h ni q u e a nd t h e r e s t o f t h e c l a s s e s c a n b e
h a nd l e d i n t h e s a m e w a y. Th e v e r t i c a l f r a g m e nt s a nd a l l o c a t i o n o f t h e c l a s s e s
a r e o b t a i ne d b a s e d o n t h e f o l l o w i ng d a t a :
Sp e e d o f d a t a t r a ns f e r r e d b e t w e e n d i f f e r e nt s i t e s ( k b yt e / s e c ) i s a s f o l l o w s :
S1
s 2 S3
SDT( s , s j ) =
s 0 1 0 2 0
s 2 1 0 0 4 0
s 3 2 0 4 0 0
Th e f i r s t s u b c l a s s o f c l a s s Pe r s o n i s c l a s s Pr o f a nd t h e f o l l o w i ng
a p p l i c a t i o ns r u n o n t h i s s u b c l a s s .
q l :
Re p o r t t h e s a l a r y o f a Pr o f e s s o r g i v e n s t a t u s .
q 2 : Fi nd t h e c o u r s e s t a u g h t b y a l l Pr o f e s s o r s i n a s p e c i f i c s t a t u s .
q 3 : Fi nd t h e St u d e nt s s u p e r v i s e d b y a Pr o f e s s o r , g i v e n h i s e m p l o ye e
nu m b e r .
q 4 : Li s t e m p l o ye e nu m b e r s o f a l l Pr o f e s s o r s w i t h a g e g r e a t e r t h a n 5 5 .
Th e a p p l i c a t i o n f r e q u e nc y m a t r i x o f c l a s s Pr o f i s g i v e n a s f o l l o w s :
SI
s 2 S3
AFM=
q 1
2 0 1 5 0
q 2 1 0 0 1 0
q 3 3 0 1 5 2 5
q 4 5 2 0
ADTM m a t r i x o f c l a s s Pr o f i s : ADTM=
m l
m 2 m 3 m 4 m s m 6
1 0 2 0 3 0 5 2 0 3 0
Cl a s s Pr o f h a s f i v e m e t h o d s ; e m p no -o f l a b e l e d
m l ,
c o u r s e t a u g h t l a b e l e d
M2 , w h a t s a l a r y l a b e l e d M3 , s t a t u s -o f l a b e l e d m . 4 a nd s t u d e nt -o f l a b e l e d
m s .
7 4 4
Ap p l i c a t i o ns r u nni ng o n s u b c l a s s Pr o f u s e s o ne nu l l m e t h o d w i t h r e s p e c t t o
s u p e r c l a s s Pe r s o n t h a t i s : p e r s o n. a g e -i n-ye a r l a b e l e d b y
m , 6 .
Th e v e r t i c a l
f r a g m e nt s o f t h e o b j e c t -o r i e nt e d d a t a b a s e e x a m p l e a nd t h e i r a l l o c a t i o n a r e
o b t a i ne d b a s e d o n t h e p r e v i o u s d a t a u s i ng t h e p r o p o s e d t e c h ni q u e a s f o l l o w s :
4 . 1 Fi r s t Ph a s e ( Me t h o d Fr a g m e nt a t i o n a nd Al l o c a t i o n)
Th e Ap p l i c a t i o n Fr e q u e nc y
Ma t r i c e s ( AEM m a t r i x ) , Sp e e d o f Da t a
Tr a ns f e r r e d m a t r i x ( SDT m a t r i x ) a nd t h e Am o u nt o f Da t a Tr a ns f e r r e d Ma t r i x
( ADTM m a t r i x ) a r e g i v e n f r o m p r e -a na l ys i s o f t h e s ys t e m . Th e o r i g i na l
m e t h o d u s a g e m a t r i c e s ( MUM m a t r i x ) o f t h e c l a s s e s o f d a t a b a s e a r e o b t a i ne d
u s i ng Al g o r i t h m ( 1 ) . Th e m e t h o d u s a g e m a t r i c e s o f c l a s s e s a r e o b t a i ne d a nd
Me t h o d u s a g e m a t r i x o f c l a s s Pr o f i s :
MUM
( q i , m j ) =
q 1
0 0 1 1 0 0
q 2 0 1 0 I 0 0
q 3 1 0 0 0 1 0
q 4
1 0 0 0 0 1
Th e f o l l o w i ng r e s u l t s a r e t h e r e s u l t s o f a p p l yi ng s t e p 3 t o 7 o f t h e
Fr a g m e nt a t i o n a nd Al l o c a t i o n t e c h ni q u e : Th e m a t r i c e s o f c l a s s Pr o f a r e :
W M NM2 M M4 M5 M6
MMUM
q l 0 0 1 1 0 0
q 2 0 1 0 1 0 0
q 3 1 0 0 0 1 0
q 4 1 0 0 0 0 1
Ml MA AC M4 MS M6
S1 0 . 0 3 0 0 . 0 1 0 0 . 0 4 5 0 . 0 1 0 0 . 0 5 5 0 . 0 0 6
COSTSM= S2 0 . 0 4 1 0 . 0 2 5 0 . 0 6 0 0 . 0 1 6 0 . 0 7 2 0 . 0 1 5
S3 0 . 0 2 2 0 . 0 1 0 0 . 0 4 1 0 . 0 0 9 0 0 3 7 0 . 0 0 9
MI M2 N 4 -MS5 M6
FRAGM= S1
0 1 0 0 0 1
S2 0 0 0 0 0 0
S3 1 0 1 1 1 0
M1MIAC M4 MS M6
NMEM- 7 7 2 0 3 5 5 5 7 0 7
MI M A. U M . 5 M M6
MSM = 3 1 3 3 3 1
Th e r e a r e o nl y t w o c o m p l e x m e t h o d s i n t h i s e x a m p l e i n c l a s s Pe r s o n,
m 5 a nd m 6 . m 5 i nv o k e s m e t h o d
m l
o f c l a s s Pe r s o n a nd m 6 i nv o k e s
m l
o f
7 4 5
c l a s s Pr o f . s o t h e c o s t o f e x e c u t i o n o f m e t h o d
m l
o f c l a s s St u d e nt a nd
m i
o f
c l a s s Pr o f m u s t b e m o d i f i e d t o a d d t h e e f f e c t o f c o m p l e x m e t h o d s . Th e
f o l l o w i ng s t e p s ( 8 -1 1 ) w i l l a c c o m m o d a t e t h e i nf l u e nc e o f c o m p l e x m e t h o d s
o n t h e f r a g m e nt a t i o n a nd a l l o c a t i o n p r o c e s s . Th e m o d i f i e d m a t r i c e s o f c l a s s
Pr o f a r e :
COSTSM
=
Ml
AM2 MA AM AM
M6
SI 0 . 0 3 0 0 . 0 1 0 0 . 0 4 5 0 -0 1 0 0 . 0 5 5 0 . 0 0 6
S2 0 . 1 3 1 0 . 0 2 5 0 . 0 6 0 0 . 0 1 6 0 . 0 7 2 0 . 0 1 5
S3 0 . 0 6 7 0 . 0 1 0 0 . 0 4 1 0 . 0 0 9 0 . 0 3 7 0 . 0 0 9
Ml AS A3 RMS MA IMS
FRAGM
5 1 1 1 0 0 0 1
FRAGM S
S2 0 0 0 0 0 0
S3 0 0 1 1 1 0
m l ADM MS AM MS Mw
NMEM =
1 6 7
2 0 3 5 5 5 7 0 7
MSM = < ASM
AM
MS
M6
I 1 3 3 3 1
Fr o m t h e p r e v i o u s r e s u l t s , m l i s r e -a l l o c a t e d o n s i t e
s ,
i ns t e a d o f S3 .
4 . 2 Se c o nd Ph a s e ( At t r i b u e s Fr a g m e nt a t i o n)
Th e m e t h o d -a t t r i b u t e r e f e r e nc e i nf o nna t i o n o f t h e m e t h o d s i n e a c h
m e t h o d f r a g m e nt ( MAR. o f De f l ni t i o n-2 ) i s u s e d t o i nc l u d e i n e a c h m e t h o d
f r a g m e nt a l l t h e a t t r i b u t e s o f t h e c l a s s a c c e s s e d b y m e t h o d s o f t h i s f r a g m e nt .
Th e r e i s no o v e r l a p p i ng i n t h e a t t r i b u t e s , s o s t e p t w o i s no t u s e d . Af t e r
a t t r i b u t e s f r a g m e nt a t i o n, t h e f o l l o w i ng a r e t h e f i na l f r a g m e nt s o f d a t a b a s e a nd
t h e i r p r o p e r a l l o c a t i o n: Cl a s s Pr o f i s
f r a g m e nt e d
i nt o t w o f r a g m e nt s a s
f o l l o w s :
1 .
FPXf l ={ m l , m 2 , m 6 , e m p no , c o u r s e s
} a l l o c a t e d o n SI.
2 .
Fp " " ={ m l , m 3 , m 4 , m 5 , e m p no , s t a t u s , s a l a r y, s t u d e nt s } a l l o c a t e d
o n S3 .
Th e c l a s s ID i s t h e m e t h o d m i .
5 . SIMULATION RESUl LTS
A s i m u l a t i o n p r o g r a m i s d e v e l o p e d t o s i m u l a t e t h e s t e p s o f t h e
p r o p o s e d -f r a g m e nt a t i o n a nd a l l o c a t i o n t e c h ni q u e f o r s i m p l e a t t r i b u t e s a nd
c o m p l e x m e t h o d s . Si m u l a t i o n r u n f o r t h e d a t a b a s e s c h e m a p r e s e nt e d i n t h e
p r e v i o u s e x a m p l e u s i ng t h e g i v e n d a t a w a s p e r f o r m e d a nd t h e c o s t f o r
p r o c e s s i ng q u e r i e s o n t h e d a t a b a s e f r a g m e nt s p r o d u c e d b y t h e f r a g m e nt a t i o n
a nd a l l o c a t i o n p r o c e s s w a s o b t a i ne d . Al s o , t h e c o s t s f o r e x e c u t i ng t h e s a m e
7 4 6
q u e r i e s o n t h e u nf r a g m e nt e d DB w h e n a l l o c a t e d o n t h e d i f f e r e nt s i t e s a r e
o b t a i ne d t o c o m p a r e a g a i ns t t h e m .
Fi g u r e 3 s h o w s t h e r e s u l t s o b t a i ne d t h r o u g h t h e s i m u l a t i o n. Fr o m t h e
a na l ys i s o f s i m u l a t i o n r e s u l t s o f t h i s DB e x a m p l e , a c o nc l u s i o n c a n b e m a d e
t h a t t h e p r o p o s e d t e c h ni q u e g i v e s m i ni m u m c o s t a l l o c a t i o n r e s u l t s w h i c h a r e
b e t t e r t h a t u nf r a g m e nt e d s i t u a t i o n a l l o c a t e d t o a ny o f t h e a v a i l a b l e s i t e s .
A c o m p a r a t i v e a na l ys i s o f nu m b e r o f o t h e r t e s t c a s e s w a s c o ns i d e r e d
t h a t a i m e d t o e v a l u a t e t h e p e r f o r m a nc e o f t h e p r o p o s e d t e c h ni q u e a t d i f f e r e nt
e nv i r o nm e nt s . In t h o s e t e s t c a s e s t h e nu m b e r o f m e t h o d s , t h e i r e x e c u t i o n
t i m e s , f r e q u e nc i e s o f a c c e s s , nu m b e r o f s i t e s a nd o t h e r d a t a b a s e p a r a m e t e r s
w e r e a l t e r e d t o c o v e r a w i d e r a ng e o f p o s s i b i l i t i e s o f t h e s e v a l u e s a nd t h u s t o
p r o v e t h e v a l i d i t y o f t h e p r o p o s e d t e c h ni q u e t o w o r k u nd e r d i f f e r e nt
c o nd i t i o ns . So m e o f t h e t e s t c a s e s r e s u l t s a r e s h o w n i n t a b l e ( 2 ) w h i c h s h o w
t h e I/ O c o s t o f t h e a l l o c a t e d f r a g m e nt s o f t h e d a t a b a s e g e ne r a t e d b y t h e
p r o p o s e d t e c h ni q u e a nd t h e m i ni m u m c o s t o f t h e u nf r a g m e nt e d d a t a b a s e
a l l o c a t e d t o o ne o f t h e a v a i l a b l e s i t e s . Fi g u r e 4 s h o w s a g r a p h i c a l
r e p r e s e nt a t i o n o f t h o s e r e s u l t s .
Co m p a r i s o n Be t w e e n Fr a g m e nt e d a nd Unf r a g m e nt d DB
Xl OO
I
I
1 4 -
1 2
1 0
8 ~
2 t
0 -
f r a g m e nt e d u nf r a g Si u nf r a g S2 u nf a g S3
Fi g u r e 3 . Co m p a r i s o n o f t h e Co s t o f Fr a g m e nt e d a nd Unf r a g m e nt e d DB
Ta b l e 1 . Fr a g m e nt e d a nd Unf r a g m e nt e d Co s t s f o r Di f f e r e nt Te s t Ca s e
4 0 0 1 5 1 2 2 0 7 2 . 7 5 2 5 7 5 . 7 6 1 9 . 5 2 9
3 9 6 8 1 1 9 1 0 4 8 . 2 7 1 4 2 8 . 4 2 2 6 . 6 1 3
3 1 8 6 8 7 7 9 6 0 . 6 2 1 2 4 6 2 2 . 9 0 4
4 1 2 6 0 2 1 1 1 5 5 . 1 3 1 5 4 6 . 2 4 2 5 . 2 9 4
7 4 7
x 1 0 0 3 0 *
Fr a m e nt e d DB
2 1 2 8
N * EIr a g m e nt e d DB
c 1 5
4 9
Fi g u r e 4 . Th e c o s t o f Fr a g m e nt e d
a nd Unf i a g m e nt e d DB f o r Di f f e r e nt Te s t Ca s e s
It i s s h o w n t h r o u g h t h e s i m u l a t i o n r e s u l t s t h a t t h e p r o p o s e d
f r a g m e nt a t i o n a nd a l l o c a t i o n t e c h ni q u e e f f i c i e nt l y g i v e s f r a g m e nt s a nd
a l l o c a t e s t h e m t o t h e a v a i l a b l e s i t e s . Th o s e DB
f r a g m e nt s
p r o d u c e d b y t h e
t e c h ni q u e g i v e m i ni m u m I/ O c o s t l e s s t h a n t h e u nf r a g m e nt e d DB w h e n
a l l o c a t e d t o a ny o f t h e g i v e n s i t e s . Th e a v e r a g e p e r c e nt a g e o f i m p r o v e m e nt
a f t e r t h e f r a g m e nt a t i o n a nd a l l o c a t i o n i s ( 1 2 . 3 2 % ) w h i c h i s a n a c c e p t a b l e
r a t i o .
6 . CONCLUSION
Th i s p a p e r i nt r o d u c e d a no v e l t e c h ni q u e f o r f r a g m e nt a t i o n a nd
a l l o c a t i o n o f o b j e c t -o r i e nt e d d a t a b a s e s t h a t a i m e d t o m i ni m i z e t h e m i g r a t i o n
o f d a t a a m o ng d i f f e r e nt s i t e s t h u s m i ni m i z i ng t h e q u e r y e x e c u t i o n t i m e . Th e
p r o p o s e d t e c h ni q u e c o nc e nt r a t e d o n t h e c a s e o f c o m p l e x m e t h o d s u s i ng
s i m p l e a t r i b u t e s . Th e p r o p o s e d t e c h ni q u e h a s t w o p h a s e s . Th e f i r s t o ne d e a l s
w i t h t h e f r a g m e nt a t i o n a nd a l l o c a t i o n o f t h e c o m p l e x m e t h o d s t o t h e a v a i l a b l e
s i t e s . Th e e f f e c t o f c o m p l e x m e t h o d s i s h a nd l e d b y e x t e nd i ng t h e c o s t m a t r i x
t o i nc l u d e t h e c o s t o f m e t h o d s r e f e r e nc e d b y t h e c o m p l e x m e t h o d s . Th e
f r a g m e nt a t i o n i s e x e c u t e d i n a r e c u r s i v e f a s h i o n u nt i l t h e m e t h o d s f r a g m e nt s
a r e o b t a i ne d . Th e s e c o nd s t a g e o b t a i ns t h e a t t r i b u t e f r a g m e nt s b a s e d o n t h e
7 4 8
r e s u l t a nt m e t h o d s f r a g m e nt s u s i ng a t t r i b u t e
a f f i ni t y
a p p r o a c h . Th e s i m u l a t i o n
r e s u l t s o f t h e p r o p o s e d t e c h ni q u e i n t h i s p a r t a r e p r o m i s i ng a nd s h o w i t s
e f f e c t i v e ne s s a g a i ns t t h e u nf r a g m e nt e d d a t a o r g a ni z a t i o n.
7 . REFERENCES
[ 1 ] At k i ns o n e t a l . , Th e Ob j e c t -Or i e nt e d Da t a b a s e Sys t e m Ma ni f e s t o , De d u c t i v e a nd Ob j e c t -
Or i e nt e d d a t a b a s e s , El s e v i e r Sc i e nc e Pu b l i s h e r s , 1 9 9 0 .
[ 2 1 Gr a d y Bo o c h , Ob j e c t -Or i e nt e d Ana l ys i s a nd De s i g n W i t h Ap p l i c a t i o ns . Th e Be nj a m i n/
Cu m m i ng s Pu b l i s h i ng Co m p a ny Inc . . 1 9 9 4 .
[ 3 ] Do na l d K . Bu r l e s o n. Ins i d e Th e Da t a b a s e Ob j e c t Mo d e l . CRC Pr e s s LLC, 1 9 9 9 .
[ 4 ] G. S. Ch i nc h w a d k a r a nd A. Go h . An Ov e r v i e w o f V e r t i c a l Pa r t i t i o ni ng i n Ob j e c t Or i e nt e d
Da t a b a s e s . Th e Co m p u t e r Jo u r na l , 1 9 9 9 ; 4 2 ( 1 ) .
[ 5 ] T. M. Co nno l l y a nd C. E. Be g g , Da t a b a s e Sys t e m s . Pe a r s o n Ed u c a t i o n Lm t d , 2 0 0 2 .
[ 6 1 W . Em m e r i c h , Eng i ne e r i ng Di s t r i b u t e d Ob j e c t s . Jo h n W i l e y & So ns Lt d , 2 0 0 0 .
[ 7 ] C. 1 . Ez e i f e a nd K e n Ba r k e r . A d i s t r i b u t e d o b j e c t b a s e d d e s i g n t e c h ni q u e . Pr o c . o f 1 s t
Annu a l Mi d -Co nt i ne nt Inf o r m a t i o n Sy s t e m Co nf e r e nc e , v o l . 2 , no . 1 , p p . ( 7 8 -9 0 ) . 1 9 9 3 .
[ 8 1 C. 1 . Ez Bi f e a nd K e n Ba r k e r . V e r t i c a l f r a g m e nt a t i o n f o r a d v a nc e d o b j e c t m o d e l s i n a
d i s t r i b u t e d o b j e c t b a s e d s ys t e m . Pr o c . 8 ' h Int . Co nf . o n Co m p u t i ng a nd Inf o r m a t i o n. 1 9 9 5 .
[ 9 ] C. I. Ez e i f e a nd K e n Ba r k e r . Di s t r i b u t e d Ob j e c t Ba s e d De s i g n: V e r t i c a l Fr a g ne nt a t i o n o f
Cl a s s e s . Int . Jo u r na l o f Di s t r i b u t e d a nd Pa r a l l e l Da t a b a s e s , Oc t o b e r 1 9 9 8 ; 6 ( 4 ) , K l u w e r
Ac a d e m i c p u b l i s h e r s .
[ 1 0 ] Mo h a m e d T. Fa h e e m , Am a ny Sa r h a n a nd Ra s h a d L. Ib r a h e m , A Mi x e d Te c h ni q u i e f o r
Fr a g m e nt a t i o n a nd Al l o c a t i o n o f Ob j e c t -Or i e nt e d Da t a b a s e s , Pr o c . o f t h e 2 " d Int . Co nf . o n
Co m p u t e r Sc i e nc e a nd i t s Ap p l i c a t i o ns ( ICCSA-2 0 0 4 ) , Ju l y 2 0 0 4 .
[ 1 1 ] C. W . Fu ng , K . k a r l a p a l e m a nd Q. Li . An Ev a l u a t i o n o f V e r t i c a l Cl a s s Pa r t i t i o ni ng f o r
Qu e r y Pr o c e s s i ng i n Ob j e c t -Or i e nt e d Da t a b a s e s . IEEE Tr a ns . o n k no w l e d g e a nd d a t a
e ng i ne e r i ng , v o l . 1 4 , no . 5 , 2 0 0 2 .
[ 1 2 ] C. W . Fu ng , K . K a r l a p a l e m a nd Q. Li . An a na l yt i c a l a p p r o a c h t o w a r d s e v a l u a t i ng
Me t h o d -Ind u c e d V e r t i c a l Pa r t i t i o ni ng Al g o r i t h m s . Te c h ni c a l Re p o r t HK UST-CS-3 3 ,
1 9 9 6 .
[ 1 3 ] K . K a m a l a k a r , L. Qi ng a nd S. V i e w e g . Me t h o d i nd u c e d p a r t i t i o ni ng s c h e m e s i n o b j e c t
o r i e nt e d d a t a b a s e s . Pr o c . 1 6 t ' Int . Co nf o n Di s t r i b u t e d Co m p u t i ng Sys t e m s , p p . ( 3 7 7 -
3 8 4 ) , 1 9 9 6 .
[ 1 4 ] K . K a r l a p a l e m a nd Q. Li . " Pa r t i t i o ni ng Sc h e m e s f o r Ob j e c t Or i e nt e d Da t a b a s e s ' . Pr o c . 5 t h
Int . W o r k s h o p o n Re s e a r c h Is s u e s i n Da t a
Eng i ne e r i ng -Di s t r i b u t e d Ob j e c t Ma na g e m e nt
( RIDE-DOM' 9 5 ) , 1 9 9 5 .
[ 1 5 ] A. K o r e i c h i a nd B. Le Cu n. On Da t a Fr a g ne nt a t i o n a nd Al l o c a t i o n i n Di s t r i b u t e d Ob j e c t
Or i e nt e d Da t a b a s e s . Te c h ni c a l Re p o r t 1 9 9 7 / 1 1 . As i a K o r e i c h i ' s Re p o r t s , Ap r i l 1 9 9 7 .
[ 1 6 ] R. Hu l l , K . Ta na k a a nd M. Y o s h i k a w a . Be h a v i o r Ana l ys i s o f Ob j e c t -Or i e nt e d Da t a b a s e s :
Me t h o d St r u c t u r e , Ex e c u t i o n Tr e e s . a nd Re a c h a b i l i t y. Pr o c . 3 r " Int . Co nf . FODO, Ju ne
1 9 8 9 .
[ 1 7 ] S. B. Na v a t h e a nd M. Ra , V e r t i c a l Pa r t i t i o ni ng f o r Da t a b a s e De s i g n: A Gr a p h i c a l
Al g o r i t h m , Pr o c . ACM SIGMOD Int e m a t i o na l Co nf e r e nc e o n Ma na g e m e nt o f Da t a ,
1 9 8 9 .
[ 1 8 ] S. B. Na v a t h e , S. Ce r i , G. W i e d e r h o l d . a nd J. Do u . V e r t i c a l p a r t i t i o ni ng Al g o r i t h m s f o r
Da t a b a s e De s i g n. ACM Tr a ns . Da t a b a s e Sys t e m s , 1 9 8 4 ; 9 ( 4 ) .
[ 1 9 ] M. Ma $ t o s o , F. Ba l i o a nd G. Z a v r u c h a . Ho r i z o nt a l Fr a g m e nt a t i o n i n Ob j e c t DBMS: Ne w
Is s u e s a nd Pe r f o r m a nc e Ev a l u a t i o n. Pr o c . 1 9 " ' IEEE Int . Pe r f o r m a nc e , Co m p u t i ng , a nd
Co m m u ni c a t i o ns Co nf . , Fe b r u a r y 2 0 0 0 .
[ 2 0 ] M. T. Oz s u a nd P. V a l d u r i e z , Pr i nc i p l e s o f Di s t r i b u t e d Da t a b a s e Sys t e m s , Pr e nt i c e Ha l l
1 9 9 1 .
7 4 9

Вам также может понравиться