Reg external sorting alogrithm

Поиск
Список
Период
Сортировка
Искать

Reg external sorting alogrithm

От:
Praveen Kumar N <praveen_n@students.iiit.net>
Дата:
Hi,	can anybody tell me what is the computational complexity of 
external sorting algorithm used by postgres in terms of time and space.
And one more question is how does # of DISK I/O's vary by varying jsf and 
size of data while using external sorting algorithms to sort(I mean is it 
like linear relation ship or in terms of logarithmic function).

thanks in anticipation.

Regards, N Praveen Kumar


Re: Reg external sorting alogrithm

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Praveen Kumar N  writes:
>  	can anybody tell me what is the computational complexity of 
> external sorting algorithm used by postgres in terms of time and space.

See the comments at the head of tuplesort.c:
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/sort/tuplesort.c
		regards, tom lane

FAQ