Mostra el registre d'ítem simple
Two-way replacement selection
dc.contributor.author | Martínez Palau, Xavier |
dc.contributor.author | Domínguez Sal, David |
dc.contributor.author | Larriba Pey, Josep |
dc.contributor.other | Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors |
dc.date.accessioned | 2015-01-12T15:12:35Z |
dc.date.created | 2010-09-01 |
dc.date.issued | 2010-09-01 |
dc.identifier.citation | Martínez, X.; Domínguez, D.; Larriba, J. Two-way replacement selection. "The proceedings of the VLDB Endowment", 01 Setembre 2010, vol. 3, núm. 1-2, p. 871-881. |
dc.identifier.issn | 2150-8097 |
dc.identifier.uri | http://hdl.handle.net/2117/25227 |
dc.description.abstract | The performance of external sorting using merge sort is highly dependent on the length of the runs generated. One of the most commonly used run generation strategies is Replacement Selection (RS) because, on average, it generates runs that are twice the size of the memory available. However, the length of the runs generated by RS is downsized for data with certain characteristics, like inputs sorted inversely with respect to the desired output order. The goal of this paper is to propose and analyze two-way replacement selection (2WRS), which is a generalization of RS obtained by implementing two heaps instead of the single heap implemented by RS. The appropriate management of these two heaps allows generating runs larger than the memory available in a stable way, i.e. independent from the characteristics of the datasets. Depending on the changing characteristics of the input dataset, 2WRS assigns a new data record to one or the other heap, and grows or shrinks each heap, accommodating to the growing or decreasing tendency of the dataset. On average, 2WRS creates runs of at least the length generated by RS, and longer for datasets that combine increasing and decreasing data subsets. We tested both algorithms on large datasets with different characteristics and 2WRS achieves speedups at least similar to RS, and over 2.5 when RS fails to generate large runs. |
dc.format.extent | 11 p. |
dc.language.iso | eng |
dc.publisher | Association for Computing Machinery (ACM) |
dc.subject | Àrees temàtiques de la UPC::Informàtica::Programació |
dc.subject.lcsh | Sorting (Electronic computers) |
dc.subject.other | Sorting |
dc.subject.other | Out of core sorting |
dc.subject.other | Heap sort |
dc.subject.other | External sorting |
dc.subject.other | Replacement selection |
dc.subject.other | Merge sort |
dc.subject.other | Run formation |
dc.title | Two-way replacement selection |
dc.type | Article |
dc.subject.lemac | Programació (Ordinadors) |
dc.contributor.group | Universitat Politècnica de Catalunya. DAMA-UPC - Data Management Group |
dc.identifier.doi | 10.14778/1920841.1920952 |
dc.relation.publisherversion | http://dl.acm.org/citation.cfm?doid=1920841.1920952 |
dc.rights.access | Restricted access - publisher's policy |
local.identifier.drac | 15347279 |
dc.description.version | Postprint (published version) |
dc.date.lift | 10000-01-01 |
local.citation.author | Martínez, X.; Domínguez, D.; Larriba, J. |
local.citation.publicationName | The proceedings of the VLDB Endowment |
local.citation.volume | 3 |
local.citation.number | 1-2 |
local.citation.startingPage | 871 |
local.citation.endingPage | 881 |
Fitxers d'aquest items
Aquest ítem apareix a les col·leccions següents
-
Articles de revista [14]
-
Articles de revista [1.049]