Skip to main content
Log in

Preplanning of disk merges

Vorplanung beim externen Sortieren auf Magnetplatten

  • Published:
Computing Aims and scope Submit manuscript

    We’re sorry, something doesn't seem to be working properly.

    Please try refreshing the page. If that doesn't work, please contact support so we can address the problem.

Abstract

The theoretical framework of preplanning merges on disks is described. In order to read merge blocks of different strings from a cylinder of a disk in proper sequence their allocation has to be preplanned according to their sequence of exhaustion. This sequence can be predicted in a certain range using the lower and upper limits of the high keys of the merge blocks, which are derived for the general case of ther-way merge. Since this planning information is not definite for all of the merge blocks, a number of slots in a cylinder has to be reserved twice, while the first ofm strings is allocated on a disk in order to adjust blocks of strings created later. This gap size is determined in general for the worst case of preplanning.

Zusammenfassung

Die theoretischen Grundlagen des Vorplanens von Mischdurchgängen auf Magnetplatten werden beschrieben. Um die zu mischenden Blöcke verschiedener Strings, die auf den Zylindern einer Magnetplatte abgelegt sind, in einer geeigneten Folge lesen zu können, muß ihre Anordnung entsprechend der späteren Zugriffsfolge vorgeplant werden. Diese Folge kann in einem gewissen Bereich vorausgesagt werden. Dazu werden untere und obere Grenzen der höchsten Schlüssel der zu mischenden Blöcke für den allgemeinen Fall desr-Wege-Mischens abgeleitet. Da die Planungsinformation nicht für alle zu mischenden Blöcke eindeutig ist, müssen einige Blocklücken in einem Zylinder zweifach reserviert werden, während der erste vonm Strings auf einer Magnetplatte gespeichert wird. Die Größe der Lücken wird allgemein für den ungünstigsten Fall des Vorplanens bestimmt.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Instant access to the full article PDF.

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  • (GK 73) Graham, J. W., Kritzinger, P. S.: A Survey of Sorting Activity at Canadian Computer Installations, Canadian Data Systems, January 1973, pp. 40–41.

  • (IBM) IBM OS/VS Sort/Merge General Information, Form-No.: GC 33-4033-2 IBM, White Plains, NY 10604, U.S.A.

  • (Kn 72) Knuth, D. E.: The Art of Computer Programming, Vol. 3, Sorting and Searching. Reading, Mass.: Addison-Wesley 1972.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The research reported in this paper was performed while the authors were visiting at IBM Research Laboratory, San Jose, CA 95193, U.S.A.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Bayer, R., Härder, T. Preplanning of disk merges. Computing 21, 1–16 (1978). https://doi.org/10.1007/BF02252191

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02252191

Keywords