Back to Search Start Over

ARe-SQL: An Online, Automatic and Non-Intrusive Approach for Rewriting SQL Queries

Authors :
Araújo, Arlino H. M. de
Monteiro, José Maria
Macêdo, José Antônio F. de
Tavares, Júlio A.
Brayner, Angelo
Lifschitz, Sérgio
FUNCAP, CAPES, CNPq
Source :
Journal of Information and Data Management; Vol 5 No 1 (2014): JOURNAL OF INFORMATION AND DATA MANAGEMENT; 28, Journal of Information and Data Management; v. 5 n. 1 (2014): JOURNAL OF INFORMATION AND DATA MANAGEMENT; 28, Journal of Information and Data Management; v. 5, n. 1 (2014): JOURNAL OF INFORMATION AND DATA MANAGEMENT; 28
Publication Year :
2014
Publisher :
SBC - Brazilian Computer Society, 2014.

Abstract

Database applications have become very complex, dealing with a huge volume of data and database objects. Concurrently, low query response time and high transaction throughput have emerged as mandatory requirements. Among other possible interventions regarding database performance, SQL query rewriting has been shown efficient. The idea is to rewrite a new SQL statement equivalent to the statement initially formulated, where the new SQL statement provides performance gains w.r.t. query response time. In this article, we propose an online, automatic and non-intrusive approach for rewriting SQL queries, denoted ARe-SQL. ARe-SQL rewrites SQL statements, using a set of 11 heuristics. Based on ARe-SQL, two different strategies for SQL-query rewriting, denoted assisted and automatic, were implemented. These strategies were evaluated in three different DBMSs considering three distinct scenarios. The results indicate that both strategies can provide performance gains, which, in some cases, reach 92.5%.

Details

Language :
English
ISSN :
21787107
Database :
OpenAIRE
Journal :
Journal of Information and Data Management
Accession number :
edsair.dedup.wf.001..302ffb1c8006bfdf01d2dce535f74a23