ResearchBib Share Your Research, Maximize Your Social Impacts
Sign for Notice Everyday Sign up >> Login

Detecting anti-patterns in SQL Queries using Text Classification Techniques

Journal: International Journal of Advanced Engineering Research and Science (Vol.6, No. 4)

Publication Date:

Authors : ;

Page : 305-309

Keywords : SQL; relational database; text classification techniques.;

Source : Downloadexternal Find it from : Google Scholarexternal


A major problem with using relational databases, is writing efficient SQL queries. Some common errors known as anti-patterns are frequent in SQL queries and can seriously impact the query execution time and sometimes, the database general performance. This paper shows how ma-chine learning techniques can be lever-aged to detect anti-patterns in SQL queries by approaching the problem as a text classification problem. Our result is a model based on a convolutional neural net-work that can be used to classify a SQL query into zero, one or many anti-patterns classes.

Last modified: 2019-04-26 13:26:08