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.
Similar content being viewed by others
Literatur
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
Beeler D, Rodriguez I (2002) Optimizing Your Database Performance ... the Easy Way. BMC Software Inc.
Chaudhuri S, Gupta AK, Nasarayya V (2002) Compressing SQL Workloads. In: Proc. Of ACM SIGMOD, Madison Wisconsin, USA
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
Chaudhuri S, Narasayya V (1998) AutoAdmin ,,What-if” Index Analysis Utility. In: Proc. of ACM SIGMOD, Seattle, USA
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
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
Dorendorf S (2003) Reorganisationsbedarfsanalysen bei relationalen Datenbankmanagementsystemen unter Beachtung der Workload. In: Datenbank-Spektrum Heft 5/2003. dpunkt.verlag GmbH Heidelberg, Februar 2003
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
ZEBRA-Zentrale Briefdatenbank (2004) Architekturüberblick. Projektunterlagen, Deutsche Post World Net
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
Ganskow K (2005) Kostenfunktionen für Join-Operationen und Update-Operationen. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena (in Vorbereitung)
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
Härder T, Rahm E (2001) Datenbanksysteme: Konzepte und Techniken der Implementierung, II überarb. Auflage. Springer-Verlag, Berlin Heidelberg New York
Heisrath A (2004) Management Tools für gängige Datenbank-Management-Systeme. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena
IBM (2002) DB2 Universal Database Command Reference Version 8. International Business Machines Corporation
Makoui M (2003) Heuristische Anfrageoptimierung in Relationalen Datenbanken. Diplomarbeit, Universität Hannover, Fachbereich Informatik, Institut für Informationssysteme, Januar 2003
Nowitzky J (2001) Partitionierungstechniken in Datenbanksystemen: Motivation und Überblick. In: Informatik Spektrum 24/6. Springer-Verlag, Heidelberg, Dezember 2001
Oracle Corporation (2002) Oracle Enterprise Manager Database Tuning with the Oracle Tuning Pack Release 9.0.1.
Oracle Corporation (2003) The Self-Managing Database: Proactive Space & Schema Object Management. An Oracle White Paper, November 2003
Oracle Corporation (2004) Oracle10g Online Data Reorganization & Redefinition. An Oracle White Paper, April 2004
Quest Software Inc. (2004) Space Management with LiveReorg. Online-Dokumentation
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
Schumacher R (2003) Resolving Oracle Space Problems Using Embarcadero Space Analyst. Embarcadero Technologies, Inc.
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
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
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
Störl U (2001) Backup und Recovery in Datenbanksystemen. Teubner Texte zur Informatik Band 33. B.G. Teubner Verlag
Williams P (2004) Erstellung eines Programms zur Reorganisationsbedarfsanalyse. Studienarbeit, Institut für Informatik, Friedrich-Schiller-Universität Jena
Author information
Authors and Affiliations
Corresponding author
Additional information
CR Subject Classification
E.2,H.2.7,H.3.2,H.3.3
Rights 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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00450-005-0194-8