pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6565: GEQO documentation discrepancy after 9.0 change?
3+ messages / 3 participants
[nested] [flat]

* BUG #6565: GEQO documentation discrepancy after 9.0 change?
@ 2012-03-29 07:36  gcottenc@gmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: gcottenc@gmail.com @ 2012-03-29 07:36 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6565
Logged by:          Guillaume Cottenceau
Email address:      gcottenc@gmail.com
PostgreSQL version: 9.1.3
Operating system:   not relevant
Description:        

9.0 release notes contain:

"""
E.8.3.1.4. GEQO

Use the same random seed every time GEQO plans a query (Andres Freund)

While the Genetic Query Optimizer (GEQO) still selects random plans, it now
always selects the same random plans for identical queries, thus giving more
consistent performance. You can modify geqo_seed to experiment with
alternative plans.
"""

However, documentation up to 9.1 (pg website) say:

http://www.postgresql.org/docs/9.1/static/runtime-config-query.html#RUNTIME-CONFIG-QUERY-GEQO

"""GEQO's searching is randomized and therefore its plans may vary
nondeterministically."""

I guess this sentence is outdated now?




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6565: GEQO documentation discrepancy after 9.0 change?
@ 2012-04-09 14:30  Robert Haas <robertmhaas@gmail.com>
  parent: gcottenc@gmail.com
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Haas @ 2012-04-09 14:30 UTC (permalink / raw)
  To: gcottenc@gmail.com; +Cc: pgsql-bugs

On Thu, Mar 29, 2012 at 3:36 AM,  <gcottenc@gmail.com> wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6565
> Logged by:          Guillaume Cottenceau
> Email address:      gcottenc@gmail.com
> PostgreSQL version: 9.1.3
> Operating system:   not relevant
> Description:
>
> 9.0 release notes contain:
>
> """
> E.8.3.1.4. GEQO
>
> Use the same random seed every time GEQO plans a query (Andres Freund)
>
> While the Genetic Query Optimizer (GEQO) still selects random plans, it now
> always selects the same random plans for identical queries, thus giving more
> consistent performance. You can modify geqo_seed to experiment with
> alternative plans.
> """
>
> However, documentation up to 9.1 (pg website) say:
>
> http://www.postgresql.org/docs/9.1/static/runtime-config-query.html#RUNTIME-CONFIG-QUERY-GEQO
>
> """GEQO's searching is randomized and therefore its plans may vary
> nondeterministically."""
>
> I guess this sentence is outdated now?

Hmm, sounds like it.  Does anyone think otherwise?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #6565: GEQO documentation discrepancy after 9.0 change?
@ 2012-04-10 00:51  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2012-04-10 00:51 UTC (permalink / raw)
  To: Robert Haas <robertmhaas@gmail.com>; +Cc: gcottenc@gmail.com; pgsql-bugs

Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Mar 29, 2012 at 3:36 AM,  <gcottenc@gmail.com> wrote:
>> """GEQO's searching is randomized and therefore its plans may vary
>> nondeterministically."""
>> 
>> I guess this sentence is outdated now?

> Hmm, sounds like it.  Does anyone think otherwise?

Well, you could still argue that it's nondeterministic, but the
nondeterminism is at least mostly hidden from users.  I've removed
that sentence and adjusted some other places to match.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2012-04-10 00:51 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 07:36 BUG #6565: GEQO documentation discrepancy after 9.0 change? gcottenc@gmail.com
2012-04-09 14:30 ` Robert Haas <robertmhaas@gmail.com>
2012-04-10 00:51   ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox