Two-pass multi way merge sort?

Posted by Nimesh on Stack Overflow See other posts from Stack Overflow or by Nimesh
Published on 2009-05-21T14:28:10Z Indexed on 2010/05/12 5:04 UTC
Read the original article Hit count: 190

Filed under:

If I have a relation (SQL) that does not fit in memory and I want to sort the relation using TPMMS (Two-pass multi-way merge sort method). How would I divide the table in sub tables (and how many) that can fit in memory and than merge them? Let's say I am using C#.

© Stack Overflow or respective owner

Related posts about sorting