Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data 2012
DOI: 10.1145/2213836.2213852
|View full text |Cite
|
Sign up to set email alerts
|

Holistic optimization by prefetching query results

Abstract: In this paper we address the problem of optimizing performance of database/web-service backed applications by means of automatically prefetching query results. Prefetching has been performed in earlier work based on predicting query access patterns; however such prediction is often of limited value, and can perform unnecessary prefetches. There has been some earlier work on program analysis and rewriting to automatically insert prefetch requests; however, such work has been restricted to rewriting of single pr… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
36
0

Year Published

2013
2013
2023
2023

Publication Types

Select...
4
4
1

Relationship

2
7

Authors

Journals

citations
Cited by 30 publications
(36 citation statements)
references
References 13 publications
0
36
0
Order By: Relevance
“…Query prefetching (Ramachandra and Sudarshan 2012) relies on program analysis and transformation to take a program written in a natural style and replace it with one that executes several queries at once, reducing the number of database round trips. The Sloth system (Cheung et al 2014) adopts a more dynamic approach.…”
Section: Related Workmentioning
confidence: 99%
“…Query prefetching (Ramachandra and Sudarshan 2012) relies on program analysis and transformation to take a program written in a natural style and replace it with one that executes several queries at once, reducing the number of database round trips. The Sloth system (Cheung et al 2014) adopts a more dynamic approach.…”
Section: Related Workmentioning
confidence: 99%
“…Guravannavar et al [13] and Cheung et al [3] proposed different methods to reduce the overhead incurred by the communication between the applications and databases, i.e., rewrite the iteratively invoked queries into a batch form [13], and partition database programs into separate parts and execute some parts in the databases [3]. Chavan et al [2] and Ramachandra et al [23] studied the transformation methods to reduce the program latency by prefetching the query results.…”
Section: Related Workmentioning
confidence: 99%
“…This example shows how Sloth is able to perform much more batching than either the existing "lazy" fetching mode of Hibernate or prior work using static analysis [23]. Hibernate's lazy fetching mode would have to evaluate the results of the database-accessing statements such as getVisitsByPatient(p) on Line 14 as its results are needed by the filtering operation, leaving no opportunity to batch.…”
Section: Overviewmentioning
confidence: 99%
“…Both of these techniques have been explored in prior research. Latency hiding, which generally takes the form of asynchronously "prefetching" query results so that they are available when needed by the program, was explored by Ramachandra et al [23], where they employed static analysis to identify queries that will be executed unconditionally by a piece of code. The compiler can then transform the code so that these queries are issued as soon as their query parameters are computed, and before their results are needed.…”
Section: Introductionmentioning
confidence: 99%