Re: Critical performance problems on large databases - Mailing list pgsql-general

From Gunther Schadow
Subject Re: Critical performance problems on large databases
Date
Msg-id 3CB5CE43.1060304@aurora.regenstrief.org
Whole thread Raw
In response to Re: Critical performance problems on large databases  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: Critical performance problems on large databases
Re: Critical performance problems on large databases
List pgsql-general
Oleg Bartunov wrote:

> The big issue with LIMIT,OFFSET is that it still use all rows
> for sorting. I already suggested to use partial sorting to avoid
> sorting all rows if one selected only first 20 row, for example.
> It's very important for Web applications because web users usually
> read first 1-2 pages. Our experimnets have shown 6 times performance
> win when using partial sorting.


That is interesting. I haven't even dared to ask for this.
Did you contribute that partial sorting code to postgresql?

thanks,
-Gunther



--
Gunther Schadow, M.D., Ph.D.                    gschadow@regenstrief.org
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistant Professor        Indiana University School of Medicine
tel:1(317)630-7960                         http://aurora.regenstrief.org



pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Why does this not work?
Next
From: Bruce Momjian
Date:
Subject: Re: Critical performance problems on large databases