×

Run formation in large scale sorting using batched replacement selection

  • US 6,571,244 B1
  • Filed: 10/28/1999
  • Issued: 05/27/2003
  • Est. Priority Date: 10/28/1999
  • Status: Active Grant
First Claim
Patent Images

1. A method for forming an output run of data records using a selection tree, the method comprising:

  • reading multiple data records into a memory from an input stream;

    forming mini-runs from the multiple data records;

    adding the mini-runs as leaf nodes of the selection tree;

    selecting multiple records for output from the mini-runs;

    collecting the selected records into a batch of selected records, the batch having a predefined size; and

    outputting the batch of selected records, wherein the selecting, collecting, and outputting steps are performed together as a batch output routine, and wherein the method further includes switching to an input routine following the outputting of the batch of selected records, further wherein the selection tree has a dynamically varying size.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×