5 CONCLUSIONS
This paper presents an efficient, simple and easy to
implement alternative technique for optimizing
OLAP query performance. It significantly reduces
execution time of repeatable queries which need to
access at least one fact table. Using our technique,
the TPC-H workload executed 1.61, 2.08, 2.61 and
3.05 times faster than when “traditionally” index
optimized, for the 1, 2, 4 and 8 GByte sized
databases, respectively. Queries which do not access
a fact table maintain their average response time.
We have also referred that ad-hoc query
processing time increases because of the inclusion of
an extra attribute in the fact table, which implies a
size growth. However, both measured size and time
increases are very small and should be considered as
acceptable, when compared with the needed storage
size in other optimization data structures such as
partitions, pre-built aggregates and materialized
views. We can state that the results show a very
significant performance gain, speeding up an
increasing percentage of standard query execution
time while the database size grows.
Although query instructions need to be modified
to take advantage of the proposed technique, the
resulting rewritten instructions are often simpler
than the original ones. The technique also makes it
possible, for certain queries, to discard heavy time
and resource consuming operations such as fact table
joins. We also illustrated how to update the bit-
selector attribute to optimize the performance for
new queries or modify the row selecting of
previously defined queries.
As future work, we intend to implement this
method in real-world data warehouses and measure
its impact on real world system’s performance.
REFERENCES
S. Agrawal, S. Chaudhuri and V. R. Narasayya,
“Automated Selection of Materialized Views and
Indexes in SQL Databases”, 26
th
Int. Conference on
Very Large Data Bases (VLDB), 2000.
S. Agrawal, V. Narasayya and B. Yang, “Integrating
Vertical and Horizontal Partitioning into Automated
Physical Database Design”, ACM SIGMOD
Conference, 2004.
L. Bellatreche and K. Boukhalfa, “An Evolutionary
Approach to Schema Partitioning Selection in a Data
Warehouse Environment”, Intern. Conf. on Data
Warehousing and Knowledge Discovery (DAWAK),
2005.
L. Bellatreche, M. Schneider, H. Lorinquer and M.
Mohania, “Bringing Together Partitioning,
Materialized Views and Indexes to Optimize
Performance of Relational Data Warehouses”,
DAWAK, 2004.
L. Bellatreche, M. Schneider, M. Mohania and B.
Bhargava, “PartJoin: An Efficient Storage and Query
Execution Design Strategy for Data Warehousing”,
DAWAK, 2002.
J. Bernardino, P. Furtado and H. Madeira, “Approximate
Query Answering Using Data Warehouse Stripping”,
DAWAK, 2001.
P. Bizarro and H. Madeira, “Adding a Performance-
Oriented Perspective to Data Warehouse Design”,
DAWAK, 2002.
S. Chaudhuri and V. Narasa11a, “An Efficient Cost-
Driven Index Selection Tool for Microsoft SQL
Server”, 23
rd
VLDB, 1997.
C. Chee-Yong, “Indexing Techniques in Decision Support
Systems”, PhD Thesis, Univ. of Wisconsin, 1999.
P. Furtado and J. P. Costa, “Time-Interval Sampling for
Improved Estimations in Data Warehouses”,
DAWAK, 2002.
H. Gupta et al., “Index Selection for OLAP”, Int.
Conference on Data Engineering (ICDE), 1997.
H. Gupta and I. S. Mumick, “Selection of Views to
Materialize under a Maintenance Cost Constraint”,
8
th
Int. Conf. on Database Theory (ICDT), 1999.
X. Hu, T. Y. Lin and E. Louie, “Bitmap Techniques for
Optimizing Decision Support Queries and Association
Rule Algorithms”, Int. Database Eng. and Applications
Symposium (IDEAS), 2003.
P. O’Neil and G. Graefe, “Multi-Table Joins Through
Bitmapped Join Indices”, SIGMOD Record, Vol. 24,
No. 3, September 1995.
T. B. Pedersen, “How is BI Used in Industry?”, DAWAK,
2004.
R. J. Santos and J. Bernardino, “PIN: A Partitioning &
Indexing Optimization Method for OLAP”, Int. Conf.
on Enterprise Information Systems (ICEIS), 2007.
TPC-H Decision Support Benchmark, Transaction
Processing Council, www.tpc.org.
P. Vassiliadis and T. Sellis, “A Survey of Logical Models
for OLAP Databases”, ACM SIGMOD Int.
Conference on Management of Data (ICMD), 1999.
M. C. Wu and A. P. Buchmann, “Encoded Bitmap
Indexing for Data Warehouses”, 14
th
ICDE, 1998.
R. Kimball and M. Ross, The Data Warehouse Toolkit:
The Complete Guide to Dimensional Modeling, 2
nd
Edition, Wiley & Sons, 2002.
A BIT-SELECTOR TECHNIQUE FOR PERFORMANCE OPTIMIZATION OF DECISION-SUPPORT QUERIES
157