Re: What about utility to calculate planner cost constants? - Mailing list pgsql-performance

From Dave Held
Subject Re: What about utility to calculate planner cost constants?
Date
Msg-id 49E94D0CFCD4DB43AFBA928DDD20C8F902618482@asg002.asg.local
Whole thread Raw
In response to What about utility to calculate planner cost constants?  ("Tambet Matiisen" <t.matiisen@aprote.ee>)
List pgsql-performance
> -----Original Message-----
> From: Dave Held
> Sent: Tuesday, March 22, 2005 4:16 PM
> To: Tom Lane
> Cc: pgsql-performance@postgresql.org
> Subject: Re: [PERFORM] What about utility to calculate planner cost
> constants?
> [...]
> Then instead of building a fixed cost model, why not evolve
> an adaptive model using an ANN or GA?
> [...]

Another advantage to an adaptive planner is that for those who
can afford to duplicate/replicate their hardware/db, they can
perhaps dedicate a backup server to plan optimization where the
db just runs continuously in a learning mode trying out different
plans for a core set of important queries.  Then those network
parameters can get replicated back to the primary server(s),
hopefully improving query planning on the production dbs.  And
perhaps people could make those parameters public, with the hope
that someone with a similar setup could benefit from a pre-
learned network.

__
David B. Held
Software Engineer/Array Services Group
200 14th Ave. East,  Sartell, MN 56377
320.534.3637 320.253.7800 800.752.8129

pgsql-performance by date:

Previous
From: Simon Riggs
Date:
Subject: Re: CPU 0.1% IOWAIT 99% for decisonnal queries
Next
From: Ron Mayer
Date:
Subject: Re: What about utility to calculate planner cost constants?