ANTLR를 사용한 데이터베이스 감리용 SQL 검사기의 설계 및 구현
Design and Implementation of SQL Inspector for Database Audit Using ANTLR
0
조회
0
다운로드
0
인용
0
참고문헌
키워드
초록
정보시스템 감리의 중요성이 커지면서 공공기관이나 기업에서 높은 품질의 시스템을 구축하기 위해 많은 비용을 투자하고 있으며 효율적인감리 작업을 수행할 수 있는 도구에 관한 연구도 많이 진행되고 있다. 정보시스템의 핵심인 데이터베이스 관련 감리 작업에서 다양한 모니터링도구를 활용해 많은 검사항목에 대해 감리할 수 있지만, 데이터베이스 성능에 많은 영향을 미칠 수 있는 SQL 감리에는 기능적으로 부족한 면이 존재한다. 대다수의 모니터링 도구들은 메타 정보 기반으로 검사하기 때문에 메타 정보가 없거나 정확하지 않으면 SQL 감리 작업을 수행하기가 어렵고 SQL 문장의 구체적인 문제점을 도출할 수도 없다. 따라서 본 연구에서는 ANTLR를 활용한 SQL 검사기를 설계하고 구현한다. 구현된 SQL 검사기를 통해 기존의 수작업으로 SQL을 검사하는 것보다 효율적으로 수행할 수 있다. 그리고 기능적인 측면에서 다른 모니터링 도구에 비해 더 많은 검사 규칙을 SQL 검사 작업에 적용할 수 있다. 본 연구에서 제시한 SQL 검사기는 개발 단계부터 운영단계까지 감리 작업을 수행하여 정보시스템의 안정성을 높일 수 있다고 기대한다.
Abstract
As the importance of information audit is getting bigger, the public corporations invest many expenses at information system audit to build a high quality system. For this purpose, there are much research to proceed an audit effectively. In database audit works, it could audit utilizing a variety of monitoring tools. However, when auditing SQLs which might be affected to database performance, there are several limits related to SQL audit functionality. For this reason, most existing monitoring tools process based on meta information, it is difficult to proceed SQL audit works if there is no meta data or inaccuracy. Also, it can't detect problems by analysis of SQL's syntax structure. In this paper, we design and implement the SQL Inspector using ANTLR which is applied by syntax analysis technique. The overall conclusion is that the implemented SQL Inspector can work effectively much more than eye-checked way. Finally, The SQL inspector which we proposed can apply much more audit rules by compared with other monitoring tools. We expect the higher stability of information system to apply SQL Inspector from development phase to the operation phase.
참고문헌 (15)
- 김종원, "데이터베이스 질의어 감리점검항목 도출을 통한 감리개선방안", 석사, 정보시스템감리학과 정보시스템감리전공, pp.2013
- A Survey and Application Plan for Audit Tools, "National Information Society Agency", National Information Society Agency, ~ (2001)
- T. J. PARR, "The Definitive ANTLR Reference: Building Domain-Specific languages" (2013), The Pragmatic Bookshelf
- The Guide for Information System Auditing, "National Computerization Agency", National Computerization Agency, ~ (2013)
- Information Systems Audit Cookbook V2.0, "National Information Society Agency", National Information Society Agency, ~ (2007)
- Information Systems Audit Guidelines V1.0, "National Information Society Agency", National Information Society Agency, ~ (2009)
- "Oracle Database Performance Tuning Guide 11g Release"[URL]
- Gwangil Park, "Design and implementation of an SQL performance analyzer for DATABASE performance improvement", Master, pp.2010
- "YourDictionary"[URL]
- "Parsing"[URL]
- T. J. Parr, "ANTLR : A Predicated-LL(k)Parser Generator", Software-practice and Experience, 25(7), pp.789~810 (1995)
- Haiyan Wang, "ANTLR-based SQL Grammatical Analysis Strategy and its Implementation", Computer Application and Software, 30(11), pp.68~70 (2013)
- Danyang Cao, "Design and implementation for SQL parser based on ANTLR", 2nd International Conference on Computer Engineering and Technology, 4, pp.276~279 (2010)
- Xia Liu, "The Automatic Marking Method of SQL Script Based on Syntax Analysis and Levenshtein, Distance", Software Engineering and Applications, 3, pp.9~14 (2014)
- Chen Liu, "데이터베이스 성능을 위한 SQL 감리 도구의 설계 및 구현", 정보처리학회논문지. 소프트웨어 및 데이터 공학, 5(5), pp.203~208 (2016), 한국정보처리학회[DOI]
