...
首页> 外文期刊>WSEAS Transactions on Computers >Access Plan Recommendation Using SQL Queries Similarity
【24h】

Access Plan Recommendation Using SQL Queries Similarity

机译:使用SQL查询相似性的访问计划建议

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Plan reuse is a technique of databases optimization, the main purpose of which is to reuse old access plans stored in the database to execute future queries instead of generating new plans. To carry out its task, the optimizer needs to identify similarity between new and old queries. Questions such as which techniques are needed and which SQL query representation is best to produce accurate similarity estimation remain poorly addressed. The main goals of this work is to propose an approach for access plan recommendation using 4 SQL queries representations and clustering techniques to identify similarity between queries. We study SQL queries similarity, at the intentional level by considering the uninterpreted SQL sentences; therefore SQL queries are represented to TF-IDF and N-GRAM. Then, feature selection algorithms are used to identify the most significant descriptors in the feature space. Next, clustering is applied using partitionning clustering, density based clustering and competitive learning based clustering. Finally, a access plan is recommended to the optimizer. Results show that the use of feature selection process is relevant to our work especially for TF-IDF representation while the most accurate and efficient clutsering is obtained with k-means algorithm.
机译:计划重用是一种数据库优化技术,其主要目的是重用存储在数据库中的旧访问计划以执行将来的查询,而不是生成新计划。为了执行其任务,优化器需要确定新查询和旧查询之间的相似性。诸如需要哪种技术以及哪种SQL查询表示最能产生准确的相似性估计之类的问题仍然没有得到很好的解决。这项工作的主要目标是提出一种使用4个SQL查询表示和聚类技术来识别查询之间相似性的访问计划推荐方法。我们通过考虑未解释的SQL语句来有意地研究SQL查询的相似性。因此,SQL查询表示为TF-IDF和N-GRAM。然后,使用特征选择算法来识别特征空间中最重要的描述符。接下来,使用分区聚类,基于密度的聚类和基于竞争性学习的聚类来应用聚类。最后,向优化器推荐访问计划。结果表明,特征选择过程的使用与我们的工作有关,特别是对于TF-IDF表示,而使用k-means算法可获得最准确,最有效的聚类。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号