Loading…

Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes

Object oriented programming languages raised the level of abstraction by supporting the explicit first class query constructs in the programming codes. The query constructs can be optimized by leveraging the techniques of query optimization from the domain of databases. The existing optimization app...

Full description

Saved in:
Bibliographic Details
Main Authors: Nerella, Venkata Krishna Suhas, Madria, Sanjay K., Weigert, Thomas
Format: Conference Proceeding
Language:English
Subjects:
Online Access:Request full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page 318
container_issue
container_start_page 313
container_title
container_volume
creator Nerella, Venkata Krishna Suhas
Madria, Sanjay K.
Weigert, Thomas
description Object oriented programming languages raised the level of abstraction by supporting the explicit first class query constructs in the programming codes. The query constructs can be optimized by leveraging the techniques of query optimization from the domain of databases. The existing optimization approaches such as JQL, however, incur high run time overhead as optimizations are performed only at run time. Therefore, in this paper, we propose an approach that performs the query optimization at compile time utilizing the metadata annotations in the source code. The proposed approach first collects the data from the sample execution of the program and extracts the essential metadata for the string valued attributes. Then, the annotations consisting of the metadata values associated with string attributes are generated in the source code and the histograms are built using those annotations. The selectivity estimates of the predicates and the joins in the query are computed from the histograms. Next, the query plan is generated at compile time through the maximum selectivity heuristic. The query plan is modified at run time in cases of significant updates to the string data. The approach also incorporates the cache heuristics that determine whether to cache the query result or not. The cached query results are incrementally maintained up-to-date. Our experimental results demonstrate that our approach has reduced the run time of the program more than the earlier approaches such as JQL.
doi_str_mv 10.1109/COMPSAC.2013.56
format conference_proceeding
fullrecord <record><control><sourceid>ieee_CHZPO</sourceid><recordid>TN_cdi_ieee_primary_6649843</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>6649843</ieee_id><sourcerecordid>6649843</sourcerecordid><originalsourceid>FETCH-LOGICAL-i175t-a2d8756954de87c5760fe3e19d048ea5fe4a21acc3e9f0e873622eb47f0c16b73</originalsourceid><addsrcrecordid>eNotkMtOwzAQRQ0SElXJmgUb_0CCnYkfWUYRL6kooFK2xUnGYJQmVewu4OtxVVajOedqNLqEXHOWcc7K27p5fllXdZYzDpmQZyQplWZKlqIotZTnZMEUsBS4UJck8d61jAsNwDUsyEezD27nfk1w00gnS5v2G7tAXw84O_Q0wnoahoii93Tj3fhJq3GcgjkRO800fCFdh_mo3s1wwJ5WIa7tIaC_IhfWDB6T_7kkm_u7t_oxXTUPT3W1Sh1XIqQm77USx5971KoTSjKLgLzsWaHRCIuFybnpOsDSshgBmefYFsqyjstWwZLcnO46RNzuZ7cz889WythBAfAHdthWmA</addsrcrecordid><sourcetype>Publisher</sourcetype><iscdi>true</iscdi><recordtype>conference_proceeding</recordtype></control><display><type>conference_proceeding</type><title>Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes</title><source>IEEE Xplore All Conference Series</source><creator>Nerella, Venkata Krishna Suhas ; Madria, Sanjay K. ; Weigert, Thomas</creator><creatorcontrib>Nerella, Venkata Krishna Suhas ; Madria, Sanjay K. ; Weigert, Thomas</creatorcontrib><description>Object oriented programming languages raised the level of abstraction by supporting the explicit first class query constructs in the programming codes. The query constructs can be optimized by leveraging the techniques of query optimization from the domain of databases. The existing optimization approaches such as JQL, however, incur high run time overhead as optimizations are performed only at run time. Therefore, in this paper, we propose an approach that performs the query optimization at compile time utilizing the metadata annotations in the source code. The proposed approach first collects the data from the sample execution of the program and extracts the essential metadata for the string valued attributes. Then, the annotations consisting of the metadata values associated with string attributes are generated in the source code and the histograms are built using those annotations. The selectivity estimates of the predicates and the joins in the query are computed from the histograms. Next, the query plan is generated at compile time through the maximum selectivity heuristic. The query plan is modified at run time in cases of significant updates to the string data. The approach also incorporates the cache heuristics that determine whether to cache the query result or not. The cached query results are incrementally maintained up-to-date. Our experimental results demonstrate that our approach has reduced the run time of the program more than the earlier approaches such as JQL.</description><identifier>EISSN: 0730-3157</identifier><identifier>EISBN: 9780769549866</identifier><identifier>EISBN: 0769549861</identifier><identifier>DOI: 10.1109/COMPSAC.2013.56</identifier><identifier>CODEN: IEEPAD</identifier><language>eng</language><publisher>IEEE</publisher><subject>Annotations ; Benchmark testing ; Compile time ; Histograms ; Java ; Maintenance engineering ; Optimization ; Query Plan ; Query processing ; Selectivity ; string data ; Time-frequency analysis</subject><ispartof>2013 IEEE 37th Annual Computer Software and Applications Conference, 2013, p.313-318</ispartof><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/6649843$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>309,310,776,780,785,786,27902,54530,54907</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/6649843$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc></links><search><creatorcontrib>Nerella, Venkata Krishna Suhas</creatorcontrib><creatorcontrib>Madria, Sanjay K.</creatorcontrib><creatorcontrib>Weigert, Thomas</creatorcontrib><title>Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes</title><title>2013 IEEE 37th Annual Computer Software and Applications Conference</title><addtitle>CMPSAC</addtitle><description>Object oriented programming languages raised the level of abstraction by supporting the explicit first class query constructs in the programming codes. The query constructs can be optimized by leveraging the techniques of query optimization from the domain of databases. The existing optimization approaches such as JQL, however, incur high run time overhead as optimizations are performed only at run time. Therefore, in this paper, we propose an approach that performs the query optimization at compile time utilizing the metadata annotations in the source code. The proposed approach first collects the data from the sample execution of the program and extracts the essential metadata for the string valued attributes. Then, the annotations consisting of the metadata values associated with string attributes are generated in the source code and the histograms are built using those annotations. The selectivity estimates of the predicates and the joins in the query are computed from the histograms. Next, the query plan is generated at compile time through the maximum selectivity heuristic. The query plan is modified at run time in cases of significant updates to the string data. The approach also incorporates the cache heuristics that determine whether to cache the query result or not. The cached query results are incrementally maintained up-to-date. Our experimental results demonstrate that our approach has reduced the run time of the program more than the earlier approaches such as JQL.</description><subject>Annotations</subject><subject>Benchmark testing</subject><subject>Compile time</subject><subject>Histograms</subject><subject>Java</subject><subject>Maintenance engineering</subject><subject>Optimization</subject><subject>Query Plan</subject><subject>Query processing</subject><subject>Selectivity</subject><subject>string data</subject><subject>Time-frequency analysis</subject><issn>0730-3157</issn><isbn>9780769549866</isbn><isbn>0769549861</isbn><fulltext>true</fulltext><rsrctype>conference_proceeding</rsrctype><creationdate>2013</creationdate><recordtype>conference_proceeding</recordtype><sourceid>6IE</sourceid><recordid>eNotkMtOwzAQRQ0SElXJmgUb_0CCnYkfWUYRL6kooFK2xUnGYJQmVewu4OtxVVajOedqNLqEXHOWcc7K27p5fllXdZYzDpmQZyQplWZKlqIotZTnZMEUsBS4UJck8d61jAsNwDUsyEezD27nfk1w00gnS5v2G7tAXw84O_Q0wnoahoii93Tj3fhJq3GcgjkRO800fCFdh_mo3s1wwJ5WIa7tIaC_IhfWDB6T_7kkm_u7t_oxXTUPT3W1Sh1XIqQm77USx5971KoTSjKLgLzsWaHRCIuFybnpOsDSshgBmefYFsqyjstWwZLcnO46RNzuZ7cz889WythBAfAHdthWmA</recordid><startdate>201307</startdate><enddate>201307</enddate><creator>Nerella, Venkata Krishna Suhas</creator><creator>Madria, Sanjay K.</creator><creator>Weigert, Thomas</creator><general>IEEE</general><scope>6IE</scope><scope>6IH</scope><scope>CBEJK</scope><scope>RIE</scope><scope>RIO</scope></search><sort><creationdate>201307</creationdate><title>Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes</title><author>Nerella, Venkata Krishna Suhas ; Madria, Sanjay K. ; Weigert, Thomas</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-i175t-a2d8756954de87c5760fe3e19d048ea5fe4a21acc3e9f0e873622eb47f0c16b73</frbrgroupid><rsrctype>conference_proceedings</rsrctype><prefilter>conference_proceedings</prefilter><language>eng</language><creationdate>2013</creationdate><topic>Annotations</topic><topic>Benchmark testing</topic><topic>Compile time</topic><topic>Histograms</topic><topic>Java</topic><topic>Maintenance engineering</topic><topic>Optimization</topic><topic>Query Plan</topic><topic>Query processing</topic><topic>Selectivity</topic><topic>string data</topic><topic>Time-frequency analysis</topic><toplevel>online_resources</toplevel><creatorcontrib>Nerella, Venkata Krishna Suhas</creatorcontrib><creatorcontrib>Madria, Sanjay K.</creatorcontrib><creatorcontrib>Weigert, Thomas</creatorcontrib><collection>IEEE Electronic Library (IEL) Conference Proceedings</collection><collection>IEEE Proceedings Order Plan (POP) 1998-present by volume</collection><collection>IEEE Xplore All Conference Proceedings</collection><collection>IEEE Xplore</collection><collection>IEEE Proceedings Order Plans (POP) 1998-present</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Nerella, Venkata Krishna Suhas</au><au>Madria, Sanjay K.</au><au>Weigert, Thomas</au><format>book</format><genre>proceeding</genre><ristype>CONF</ristype><atitle>Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes</atitle><btitle>2013 IEEE 37th Annual Computer Software and Applications Conference</btitle><stitle>CMPSAC</stitle><date>2013-07</date><risdate>2013</risdate><spage>313</spage><epage>318</epage><pages>313-318</pages><eissn>0730-3157</eissn><eisbn>9780769549866</eisbn><eisbn>0769549861</eisbn><coden>IEEPAD</coden><abstract>Object oriented programming languages raised the level of abstraction by supporting the explicit first class query constructs in the programming codes. The query constructs can be optimized by leveraging the techniques of query optimization from the domain of databases. The existing optimization approaches such as JQL, however, incur high run time overhead as optimizations are performed only at run time. Therefore, in this paper, we propose an approach that performs the query optimization at compile time utilizing the metadata annotations in the source code. The proposed approach first collects the data from the sample execution of the program and extracts the essential metadata for the string valued attributes. Then, the annotations consisting of the metadata values associated with string attributes are generated in the source code and the histograms are built using those annotations. The selectivity estimates of the predicates and the joins in the query are computed from the histograms. Next, the query plan is generated at compile time through the maximum selectivity heuristic. The query plan is modified at run time in cases of significant updates to the string data. The approach also incorporates the cache heuristics that determine whether to cache the query result or not. The cached query results are incrementally maintained up-to-date. Our experimental results demonstrate that our approach has reduced the run time of the program more than the earlier approaches such as JQL.</abstract><pub>IEEE</pub><doi>10.1109/COMPSAC.2013.56</doi><tpages>6</tpages></addata></record>
fulltext fulltext_linktorsrc
identifier EISSN: 0730-3157
ispartof 2013 IEEE 37th Annual Computer Software and Applications Conference, 2013, p.313-318
issn 0730-3157
language eng
recordid cdi_ieee_primary_6649843
source IEEE Xplore All Conference Series
subjects Annotations
Benchmark testing
Compile time
Histograms
Java
Maintenance engineering
Optimization
Query Plan
Query processing
Selectivity
string data
Time-frequency analysis
title Optimization of Object Queries on Collections Using Annotations for the String Valued Attributes
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-06T19%3A56%3A06IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-ieee_CHZPO&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=proceeding&rft.atitle=Optimization%20of%20Object%20Queries%20on%20Collections%20Using%20Annotations%20for%20the%20String%20Valued%20Attributes&rft.btitle=2013%20IEEE%2037th%20Annual%20Computer%20Software%20and%20Applications%20Conference&rft.au=Nerella,%20Venkata%20Krishna%20Suhas&rft.date=2013-07&rft.spage=313&rft.epage=318&rft.pages=313-318&rft.eissn=0730-3157&rft.coden=IEEPAD&rft_id=info:doi/10.1109/COMPSAC.2013.56&rft.eisbn=9780769549866&rft.eisbn_list=0769549861&rft_dat=%3Cieee_CHZPO%3E6649843%3C/ieee_CHZPO%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-i175t-a2d8756954de87c5760fe3e19d048ea5fe4a21acc3e9f0e873622eb47f0c16b73%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=6649843&rfr_iscdi=true