Re: GEQO status?

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pghackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GEQO status?
Date: 2000-12-22 23:39:49
Message-ID: 3A43E645.B84685E2@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Ed Loehr <eloehr(at)austin(dot)rr(dot)com> writes:
> > What is the status of the genetic algorithm query optimizer? Is this
> > supposed to work well on many-table joins, or has it fallen out of favor
> > or in disrepair?
>
> It's supposed to work ;-). I'm not sure that the default parameters are
> optimal, however. If you experiment with other settings, please post your
> results.

Query time dropped from many minutes to 13 seconds on a 12-table join
with a little tweaking from the default params:

My $PGDATA/pg_geqo:
-------------------
Pool_Size 1024
# Effort high
Generations 100
Random_Seed 330418761
Selection_Bias 2.00

Similar performance with Generations setting of 800 derived from Effort.

Regards,
Ed Loehr

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yusuf Goolamabbas 2000-12-22 23:46:53 Re: Unable to check out REL7_1 via cvs
Previous Message Alfred Perlstein 2000-12-22 23:36:50 Re: Unable to check out REL7_1 via cvs