DOI QR코드

DOI QR Code

Database Workload Analysis : An Empirical Study

데이타베이스 워크로드 분석 : 실험적 연구

  • 오정석 (숭실대학교 대학원 컴퓨터학과) ;
  • 이상호 (숭실대학교 컴퓨터학부)
  • Published : 2004.08.01

Abstract

Database administrators should be aware of performance characteristics of database systems in order to manage database system effectively. The usages of system resources in database systems could be quite different under database workloads. The objective of this paper is to identify and analyze performance characteristics of database systems in different workloads, which could help database tuners tune database systems Under the TPC-C and TPC-W workloads, which represent typical workloads of online transaction processing and electronic commerce respectively, we investigated usage types of resource that are determined by fourteen performance indicator, and are behaved in response to changes of four tuning parameters (data buffer, private memory, I/O process, shared memory). Eight out of the fourteen performance indicators cleary show the performance differences under the workloads. Changes of data buffer parameter give a influences to database system. The tuning parameter that affects the system performance significantly is the database buffer size in the both workloads.

데이타베이스 시스템을 효율적으로 사용하기 위해 데이타베이스 관리자는 데이타베이스 시스템의 성능 특징들을 알아야 한다 데이터베이스 시스템에서 자원 사용은 워크로드에 따라 다르게 나타난다. 본 논문의 목적은 상이할 워크로드에서 데이타베이스 튜닝에 도움이 될 수 있도록 데이타베이스 시스템의 성능 특징 분석하고 식별하는 것이다. 이를 위해, OLTP 환경을 나타내는 TPC-C 워크로드와 웹기반의 전자상거래 환경을 나타내는 TPC-W워크로드에서 14개의 성능 지표에 의해 결정되는 자원 사용 형태를 분석하고 4개(데이타 버퍼, 개인 메모리, I/O 프로세스, 공유 메모리)의 자원 할당 변경에 따른 자원 사용 형태의 변화를 분석한다. 분석에 대한 결과로서 14개 중 8개의 성능 지표는 워크로드에서 성능차이를 보이고, 데이타 버퍼 자원의 변경은 데이타베이스 시스템에 영향을 준다. 본 논문의 결과는 데이타베이스 시스템 자동 튜닝의 기초 자료로서 사용될 수 있다.

Keywords

References

  1. D. G. Benoit, 'Automated Diagnosis and Control of DBMS Resources,' Conference on Extending Database Technology (EDBT) Ph.D. Workshop, 2000
  2. K. P. Brown, M. Mehta, M. J. Carey and M. Livny, 'Towards Automated Performance Tuning For Complex Workloads,' International Conference on Very Large Data Bases(VLDB), pp.72-84, 1994
  3. M. Calzarossa and G. Serazzi, 'Workload Characterization : A Survey,' Proceedings of the IEEE, 8(13), pp.1136-1150, 1993 https://doi.org/10.1109/5.236191
  4. M. Cyran, 'Oracle 9i : Database Performance Guide and Reference, Release 1 (9.0.1),' Oracle Corporation, 2001
  5. 'INFORMIX : Universal Server Administrator's Guide I and II (version 9.1),' Informix press, 1997
  6. P. Martin, H. Y. Li, M. Zheng, K. Romanufa and W. Powley, 'Dynamic Reconfiguration Algorithm : Dynamically Tuning Multiple Buffer Pools,' International Conference on Database and Expert Systems Applications (DEXA) Conference, pp.92-101, 2000
  7. P. Martin, W. Powley, H. Y. Li and K. Romanufa, 'Managing Database Server Performance to Meet QoS Requirements in Electronic Commerce Systems,' International Journal on Digital Libraries, 3(4), pp.316-324, 2002 https://doi.org/10.1007/s007990100046
  8. T. Morals, and D. Lorentz, 'Oracle 9i : Database Reference, Release 1 (9.0.1)', Oracle Corporation, 2001
  9. V. Singhal and A. J. Smith, 'Characterization of Contention in Real Relational Database,' Technical Reports : CSD-94-801, University of California at Berkely, 1994
  10. D. E. Shasha, 'Database Tuning : a Principled Approach', Prentice Hall PTR, 1992
  11. 'TPC Benchmark C Specification (Revision 5.0),' http://www.tpc.org/tpcc/default.asp, 2001
  12. 'TPC Benchmark W (Web Commerce) Specification (version 1.8),' http://www.tpc.org/tpcw/default.asp, 2002
  13. G. Weikum, A. C. Konig, A. Kraiss, and M. Sinnewell, 'Towards Self-Tuning Memory Management for Data Servers,' Bulletin of the Technical Committee on Data Engineering, IEEE Computer Society, 22(2), pp.3-11, 1999
  14. P. S. Yu, M. S. Chen, H. U. Heiss and S. H. Lee, 'On Workload Characterization of Relational Database Environments,' IEEE Transactions on Software Engineering, 18(4), pp.347-355, 1992 https://doi.org/10.1109/32.129222
  15. 'UniSQL : Database Administration Guide (version 4.0),' UniSQL Inc., 1998