Improving the performance of concurrent sorts in database systems

dc.contributor.authorZhang, Weiyeen
dc.date.accessioned2006-07-28T19:46:10Z
dc.date.available2006-07-28T19:46:10Z
dc.date.issued1997en
dc.date.submitted1997en
dc.description.abstractMost research on sorting has been focused on improving single sort performance. This thesis focuses on improving overall system throughout when multiple sorts (or other operations) are running concurrently, competing for the same resources. This is the normal environment in a database system. A dynamic memory adjustment technique is proposed for external merge sort which adjusts sort space at run time in response to actual input size and available memory space. It balances memory allocation among concurrent sorts so that more sort jobs are done entirely in main memory. This significantly increases system throughput and reduces average response time. Several read-ahead strategies which reduce disk seeks during merging are studied. Three strategies, called equal buffering, simple clustering, and clustering with atomic reads, effectively reduce disk seeks. The latter two exploit existing order in the input data much better than the first. A set of formulas are derived for estimating the performance improvement resulting from these read-ahead strategies. They provide close estimates for uniformly distributed random data. The amount of data transferred between main memory and disk is determined by the merge pattern, i.e., the order in which runs are merged. For the case when the sort space remains fixed throughout the merge phase, we derive formulas for calculating the optimum merge cost and provide methods for choosing the best merge width and buffer size. For the case when the sort space is adjustable between merge steps, four merge strategies are proposed and studied. Two are found promising for practical use.en
dc.formatapplication/pdfen
dc.format.extent9202274 bytes
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://hdl.handle.net/10012/211
dc.language.isoenen
dc.pendingfalseen
dc.publisherUniversity of Waterlooen
dc.rightsCopyright: 1997, Zhang, Weiye. All rights reserved.en
dc.subjectHarvested from Collections Canadaen
dc.titleImproving the performance of concurrent sorts in database systemsen
dc.typeDoctoral Thesisen
uws-etd.degreePh.D.en
uws.peerReviewStatusUnrevieweden
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
nq22255.pdf
Size:
6.74 MB
Format:
Adobe Portable Document Format