Cost-driven vertical class partitioning for methods in object oriented databases

被引:0
|
作者
Fung, CW [1 ]
Karlapalem, K
Li, Q
机构
[1] HK Inst Vocat Educ, Dept Informat & Commun Technol, Tuen Mun, Hong Kong, Peoples R China
[2] Int Inst Informat Technol, Hyderabad 5000019, Andhra Pradesh, India
[3] City Univ Hong Kong, Dept Comp Engn & Informat Technol, Kowloon, Hong Kong, Peoples R China
来源
VLDB JOURNAL | 2003年 / 12卷 / 03期
关键词
vertical class partitioning; object-oriented databases; method-induced; cost-driven; affinity-based; analytical cost model; hill-climbing heuristic algorithm;
D O I
10.1007/s00778-002-0084-7
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In object-oriented databases (OODBs), a method encapsulated in a class typically accesses a few, but not all the instance variables defined in the class. It may thus be preferable to vertically partition the class for reducing irrelevant data (instance variables) accessed by the methods. Our prior work has shown that vertical class partitioning can result in a substantial decrease in the total number of disk accesses incurred for executing a set of applications, but coming up with an optimal vertical class partitioning scheme is a hard problem. In this paper, we present two algorithms for deriving optimal and near-optimal vertical class partitioning schemes. The cost-driven algorithm provides the optimal vertical class partitioning schemes by enumerating, exhaustively, all the schemes and calculating the number of disk accesses required to execute a given set of applications. For this, a cost model for executing a set of methods in an OODB system is developed. Since exhaustive enumeration is costly and only works for classes with a small number of instance variables, a hill-climbing heuristic algorithm (HCHA) is developed, which takes the solution provided by the affinity-based algorithm and improves it, thereby further reducing the total number of disk accesses incurred. We show that the HCHA algorithm provides a reasonable near-optimal vertical class partitioning scheme for executing a given set of applications.
引用
收藏
页码:187 / 210
页数:24
相关论文
共 44 条