因为TPC - H工作负载中表扫描和表排序的数量较多,所以为获得最佳性能将数据从磁盘预取到内存是很重要的。
Because of the number of table scans and table sorts in the TPC-H workload, prefetching data from disks into memory is important for optimal performance.
事实上,后来的研究已经证明,在元素周期表中,元素不应该严格按照原子质量来排序。
In fact, subsequent work has shown that in a periodic table, elements should not be ordered strictly by atomic mass.
对于应用程序,加载一个包含雇员数据的简单表;该表将支持对其任何列进行排序。
For the application, load a simple table with employee data; the table will support sorting on any of its columns.
Let's check it out. I've written a little bit of a test script here, so if we test cell sort, and I've written this so that it's going to print out what the list is at the end of each round, OK.
我们来检查检查,我写了一个小测试脚本,我写这个脚本来测试单元排序,它能够打印出每一轮结束后,链表的是什么样子的。
应用推荐