DocumentCode
1862856
Title
Exploring Query Optimization in Programming Codes by Reducing Run-Time Execution
Author
Nerella, Venkata Krishna Suhas ; Surapaneni, Swetha ; Madria, Sanjay Kumar ; Weigert, Thomas
Author_Institution
Dept. of Comput. Sci., Missouri Univ. of Sci. & Technol., Rolla, MO, USA
fYear
2010
fDate
19-23 July 2010
Firstpage
407
Lastpage
412
Abstract
Object querying is an abstraction of operations over collections, whereas manual implementations are performed at low level which forces the developers to specify how a task must be done. Some object-oriented languages allow the programmers to express queries explicitly in the code, which are optimized using the query optimization techniques from the database domain. In this regard, Java Query Language has been developed that allows object querying and performs the query optimization at run-time. Therefore, only one problem is how to reduce the task of query optimization at run-time as much as possible within the Java Query Language system. In this paper, we have developed a technique that performs query optimization at compile-time to reduce the burden of optimization at run-time to improve the performance of the code execution. The proposed approach uses histograms that are computed from the data and these histograms are used to get the estimate of selectivity for query joins and predicates in a query at compile-time. With these estimates, a query plan is constructed at compile-time and executed it at run-time. The experimental trials show that our method performs better in terms of run time comparisons than the existing query optimization techniques used in the Java Query Language.
Keywords
object-oriented programming; query languages; Java Query Language system; object oriented languages; object querying; programming codes; query optimization; run time execution; Benchmark testing; Database languages; Frequency estimation; Histograms; Java; Query processing; compile time; histograms; joins; query optimization; run-time; selectivity;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference (COMPSAC), 2010 IEEE 34th Annual
Conference_Location
Seoul
ISSN
0730-3157
Print_ISBN
978-1-4244-7512-4
Electronic_ISBN
0730-3157
Type
conf
DOI
10.1109/COMPSAC.2010.48
Filename
5676286
Link To Document