Re: Sorting. When? - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Sorting. When?
Date
Msg-id 4D568590020000250003A916@gw.wicourts.gov
Whole thread Raw
In response to Re: Sorting. When?  ("mac_man2008@yahoo.it" <mac_man2008@yahoo.it>)
List pgsql-hackers
"mac_man2008@yahoo.it" <mac_man2008@yahoo.it> wrote:
> So, invoking or not invoking sorting depends on different
> parameters of the specific DBMS, does it?
In the right circumstances (where autovacuum or other maintenance
jobs happen to run in the background at the right moment), two
back-to-back runs on the same database with no data or configuration
changes could do this differently.  You wouldn't see that too often,
but if the estimated costs of sorting versus non-sorting plans were
close, the random sampling of one statistics sampling run versus
another could cause a change.
-Kevin


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Sorting. When?
Next
From: "Kevin Grittner"
Date:
Subject: Re: SQL/MED - file_fdw