2024-03-28T17:37:14Zhttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_oaipmhoai:ipsj.ixsq.nii.ac.jp:001459052023-04-27T10:00:04Z01164:01165:08308:08366
自己結合SQLクエリ検出ツールによるチューニングの提案A Method for Detecting Self-join SQL Queriesjpnクエリhttp://id.nii.ac.jp/1001/00145872/Technical Reporthttps://ipsj.ixsq.nii.ac.jp/ej/?action=repository_action_common_download&item_id=145905&item_no=1&attribute_id=1&file_no=1Copyright (c) 2015 by the Information Processing Society of Japan株式会社インサイトテクノロジー国立情報学研究所岸本, 拓也坂本, 一憲非機能要求の一つとしてパフォーマンス要件があるが,パフォーマンス確認手段は負荷テストによって評価されている場合が多い.パフォーマンスが充分でない場合の向上策として,データベース上の表アクセス数を減らすことで I/O 量を削減し,SQL クエリの応答時間を短縮することが挙げられる.本研究では複数表にアクセスしている SQL クエリから,書き方を工夫すれば表アクセスを 1 回に削減できるにも関わらず,同一表に対してアクセスしている SQL クエリを定義し,検出するツールを開発した.本ツールを稼働中の商用システムにて評価したところ 95%の精度,96%の再現率で検出することができた.Performance requirement, which is one of the non-functional requirements for enterprise environment, tend to be evaluated by stress test. We can improve the response time our applications and queries by reducing the number of unnecessary I/O operations. An important facet of database system performance tuning is the tuning of SQL queries. We developed the tool of detecting self- join SQL queries which can rewrite a query. When we evaluate this tool on the large-scale production environment, the results indicate that it can detect self-join SQL queries, which reach 95%.AN10112482研究報告データベースシステム(DBS)2015-DBS-16224142015-11-192188-871x2015-11-09