The typical external sorting is a clustered sorting that is
to make records sorted in a contiguous space as much as
possible so that accessing the sorted records in disk-based
storage systems has better performance. We propose an
unclustered sorting that is to create small meta-items that
point to the records and then sort these meta-items. After
these meta-items are sorted, we can rearrange the original
records by the sorted meta-items. In the experiments, we
can observe that the sum of page reads and page writes for
the unclustered sorting is more than that of the clustered
sorting, as shown in Table 1. Undoubtedly, the clustered
sorting is always adopted in disk-based storage systems because
the sum of reads and writes is less, and reads and
writes on hard-disk drives are symmetrical operations. However,
the unclustered sorting can trade the number of page
reads for the number of page writes so that the number
of page writes and block erases can be less than that of
the clustered sorting. For NAND flash-based storage systems,
because reads, writes, and erases on flash memory are
asymmetrical operations, reads on flash memory have faster
access speed and less energy consumption than writes and
erases on flash memory. Therefore, the unclustered sorting
might have faster execution time than the clustered sorting,
as shown with ♠ in Table 1. However, when record length
is 512B, 16B, or 8B, the clustered sorting could be superior
to the unclustered sorting. As a result, there are pros and
cons for the clustered sorting and the unclustered sorting
in NAND flash-based storage systems. An external sorting
design should exploit the advantages of the clustered sorting
and the unclustered sorting for NAND flash-based storage
systems.
โดยทั่วไปการเรียงลำดับภายนอกเป็นแบบเรียงลําดับที่คือให้บันทึกเรียงในพื้นที่ต่อเนื่องเท่าที่เป็นไปได้เพื่อให้เข้าถึงเรียงข้อมูลในดิสก์ตามระบบการจัดเก็บข้อมูลที่มีประสิทธิภาพที่ดีขึ้น เราเสนอunclustered การเรียงลำดับ นั่นคือการสร้างขนาดเล็ก meta รายการชี้ไปที่บันทึกและจัดเรียงรายการเหล่านี้เมตา หลังจากรายการเหล่านี้ meta เรียงไว้ เราสามารถจัดเรียงต้นฉบับบันทึกโดยเรียง meta รายการ ในการทำการทดลอง เราจะสังเกตว่า ผลรวมของหน้าอ่านและเขียนสำหรับหน้าการ unclustered เรียงมากกว่าของกลุ่มการเรียงลำดับ ดังแสดงในตารางที่ 1 ไม่ต้องสงสัย จับกลุ่มการเรียงลำดับคือ มักจะประกาศใช้ในดิสก์ที่ใช้ระบบจัดเก็บเพราะผลรวมของอ่านและเขียนและอ่านหนังสือ และน้อยเขียนบนฮาร์ดดิสก์ไดรฟ์ได้รับการไม่เท่ากัน อย่างไรก็ตามการ unclustered การเรียงลำดับสามารถค้าจำนวนหน้าอ่านจำนวนหน้าเขียนเพื่อให้จำนวนหน้าเขียนและบล็อกลบ อาจจะน้อยกว่าที่ของโดยการจัดกลุ่มการเรียงลำดับ สำหรับระบบการจัดเก็บและใช้แฟลช ,เพราะอ่าน , เขียนและลบในหน่วยความจำแฟลชเป็นการดำเนินงานที่ไม่อ่านในหน่วยความจำแฟลชได้เร็วขึ้นความเร็วในการเข้าถึง และการใช้พลังงานน้อยกว่าเขียนและลบความจำแฟลช ดังนั้น unclustered การเรียงลำดับจะได้มีเวลาปฏิบัติการได้เร็วกว่าการจัดกลุ่มการเรียงลำดับที่แสดงกับ♠ในตารางที่ 1 อย่างไรก็ตาม เมื่อระเบียนความยาวเป็น 512b 16b , หรือ , 8B , การจัดกลุ่มการเรียงลำดับอาจจะเหนือกว่าการ unclustered การเรียงลำดับ เป็นผลให้ , มีข้อดีข้อเสียสำหรับการจัดกลุ่มการเรียงลำดับและ unclustered การเรียงลำดับใช้แฟลช และระบบการจัดเก็บข้อมูล การเรียงลำดับภายนอกการออกแบบควรใช้ประโยชน์จากข้อดีของการจัดกลุ่มการเรียงลำดับและ unclustered การเรียงลำดับสำหรับใช้แฟลชและกระเป๋าระบบ
การแปล กรุณารอสักครู่..
