Skip to main content
Log in

Quantifizierung des zu erwartenden Nutzens von Datenbankreorganisationen

  • Original Article
  • Published:
Informatik - Forschung und Entwicklung

Abstract

Stetig wachsende Datenmengen und hohe Verfügbarkeitsanforderungen an Datenbanken führen dazu, dass Wartungsarbeiten (wie z.B. Datenbankreorganisationen) oft nicht mehr (oder nicht mehr vollständig) offline in zur Verfügung stehenden Zeitfenstern durchgeführt werden können bzw. dass die Kosten oder die Behinderungen des normalen Datenbankbetriebs bei online durchgeführten Wartungsarbeiten nicht mehr vernachlässigt werden können. Deshalb sollte vorab bestimmt (quantifiziert) werden, ob der zu erwartende Nutzen den mit der Reorganisation verbundenen Aufwand rechtfertigt. Es ist daher wichtig, die Datenbankobjekte zu lokalisieren und einzugrenzen, bei denen ein hoher Wartungsbedarf besteht. Weiterhin ist es wünschenswert, zunächst den durch Wartungsmaßnahmen erreichbaren Nutzen vor ihrer Durchführung quantifizieren zu können. Dieser Nutzen ist auch von der Workload abhängig, also von den gegen die Datenbankobjekte gerichteten Datenbankanweisungen und deren Ausführungshäufigkeiten. Insbesondere der zur Workload-Abarbeitung anfallende I/O-Aufwand, der einen dominierenden Anteil am Gesamtaufwand ausmacht, lässt sich mit einer Datenbankreorganisation u.U. wesentlich beeinflussen (reduzieren). In diesem Beitrag wird eine Methode vorgestellt, die es ermöglicht, die Auswirkungen einer Datenbankreorganisation auf den zur Workload-Abarbeitung notwendigen I/O-Aufwand abzuschätzen und damit den hauptsächlichen Nutzen der Reorganisation zu quantifizieren. Über erste Erfahrungen mit der Methode, die anhand von Beispielen gesammelt wurden, wird berichtet.

Abstract

The permanent increasing amount of data and the requirement of high availability cause that maintenance of databases (e.g. database reorganizations) often is not or not completely (off-line) possible in the available time spans. On-line database reorganizations are often expensive and cumbersome during the normal database processing. To reduce performance impacts it is important to locate the database objects that have a high level of disorganization and so a high need of maintenance. Furthermore, it is desirable to be able to estimate the benefit of expensive maintenance operations before their processing. This benefit depends on the degree of disorganization and on the instructions that are processed on the database objects (workload). In particular, the costs for I/O-operations dominate the total costs for database operations. With database reorganizations it is possible to reduce the I/O-costs. In this paper we present a method to calculate the benefit of database reorganizations before the processing. The presented method allows to calculate the possible reduction of the I/O-cost for processing a given workload caused by a database reorganization.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Literatur

  1. Beulke D, Hubel M, Lyon L, Nelson P (2002) Unveiling 8.1: The Next Generation. In: IDUG Solutions Journal: August 2002. Vol 9, Number 2. International DB2 Users Group

  2. Beeler D, Rodriguez I (2002) Optimizing Your Database Performance ... the Easy Way. BMC Software Inc.

  3. Chaudhuri S, Gupta AK, Nasarayya V (2002) Compressing SQL Workloads. In: Proc. Of ACM SIGMOD, Madison Wisconsin, USA

  4. Chaudhuri S, Narasayya V (1997) An Efficient, Cost-Driven Index Selection Tool for Microsoft SQL Server. In: Proc. of the 23rd VLDB Conference, Athen, Griechenland

  5. Chaudhuri S, Narasayya V (1998) AutoAdmin ,,What-if” Index Analysis Utility. In: Proc. of ACM SIGMOD, Seattle, USA

  6. Dorendorf S (1999) Fragmentierung von Datenbankinhalten – Facetten eines scheinbar klaren Begriffs –. In: Datenbank Rundbrief Nr. 24, S. 23–36. GI-FG 2.5.1, November 1999

  7. Dorendorf S (2000) Beschreibung eines Speicher- und Verhaltensmodells als Grundlage zur Bedarfsanalyse einer Datenreorganisation bei relationalen Datenbank-Management-Systeme. Jenaer Schriften zur Mathematik und Informatik Mat/Inf/00/05, Friedrich-Schiller-Universität Jena

  8. Dorendorf S (2003) Reorganisationsbedarfsanalysen bei relationalen Datenbankmanagementsystemen unter Beachtung der Workload. In: Datenbank-Spektrum Heft 5/2003. dpunkt.verlag GmbH Heidelberg, Februar 2003

  9. Dorendorf S (2005) Ermittlung des Nutzens von Datenbankreorganisationen: Notwendigkeit, Werkzeuge, Herangehensweisen. Angenommen zur Veröffentlichung in it – Information Technology Heft 3/2005. Oldenbourg Wissenschaftsverlag GmbH München

  10. ZEBRA-Zentrale Briefdatenbank (2004) Architekturüberblick. Projektunterlagen, Deutsche Post World Net

  11. Dunemann O (2002) Anfrageoptimierung für OLAP-Anwendungen in virtuellen Data Warehouses. Dissertation, Otto-von-Guericke-Universität Magdeburg, Fakultät für Informatik, September 2002

  12. Ganskow K (2005) Kostenfunktionen für Join-Operationen und Update-Operationen. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena (in Vorbereitung)

  13. Helm T (2001) Dokumentation des Katalogs des DBMS ORACLE und Transformation ausgewählter Katalogdaten in ein einheitliches Informationsschema. Studienarbeit, Berufsakademie Thüringen, Staatliche Studienakademie Gera, Studienrichtung Wirtschaftsinformatik, Gera, Februar 2001

  14. Härder T, Rahm E (2001) Datenbanksysteme: Konzepte und Techniken der Implementierung, II überarb. Auflage. Springer-Verlag, Berlin Heidelberg New York

  15. Heisrath A (2004) Management Tools für gängige Datenbank-Management-Systeme. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena

  16. IBM (2002) DB2 Universal Database Command Reference Version 8. International Business Machines Corporation

  17. Makoui M (2003) Heuristische Anfrageoptimierung in Relationalen Datenbanken. Diplomarbeit, Universität Hannover, Fachbereich Informatik, Institut für Informationssysteme, Januar 2003

  18. Nowitzky J (2001) Partitionierungstechniken in Datenbanksystemen: Motivation und Überblick. In: Informatik Spektrum 24/6. Springer-Verlag, Heidelberg, Dezember 2001

  19. Oracle Corporation (2002) Oracle Enterprise Manager Database Tuning with the Oracle Tuning Pack Release 9.0.1.

  20. Oracle Corporation (2003) The Self-Managing Database: Proactive Space & Schema Object Management. An Oracle White Paper, November 2003

  21. Oracle Corporation (2004) Oracle10g Online Data Reorganization & Redefinition. An Oracle White Paper, April 2004

  22. Quest Software Inc. (2004) Space Management with LiveReorg. Online-Dokumentation

  23. Richter T (2003) Application of Informix Dynamic Server with regard to high Availability at AMD Saxony. 7th East European Conference, ADBIS 2003, Dresden 3.9.–6.9.2003

  24. Schumacher R (2003) Resolving Oracle Space Problems Using Embarcadero Space Analyst. Embarcadero Technologies, Inc.

  25. Selinger P, Astrahan M, Chamberlin D, Lorie R, Price T (1979) Access Path Selection in a Relational Database Management System. In: Proc. Of the ACM SIGMID Conference

  26. Skatulla S, Dorendorf S (2003) Optimization of Storage Structures of Complex Types in Object-Relational Database Systems. In: Kalinichenko et al (eds) Advances in Databases and Information Systems. Proc. of the 7th East European Conference, ADBIS 2003, Dresden 3.9.–6.9.2003. Springer-Verlag, Berlin Heidelberg

  27. Sockut GH, Beavin TA, Chang C-C (1997) A method for on-line reorganization of a database. In: IBM Systems Journal Vol. 36, No. 3, International Business Machines Corporation

  28. Störl U (2001) Backup und Recovery in Datenbanksystemen. Teubner Texte zur Informatik Band 33. B.G. Teubner Verlag

  29. Williams P (2004) Erstellung eines Programms zur Reorganisationsbedarfsanalyse. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stefan Dorendorf.

Additional information

CR Subject Classification

E.2,H.2.7,H.3.2,H.3.3

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dorendorf, S. Quantifizierung des zu erwartenden Nutzens von Datenbankreorganisationen. Informatik Forsch. Entw. 20, 72–89 (2005). https://doi.org/10.1007/s00450-005-0194-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00450-005-0194-8

Keywords

Navigation