Re: What about utility to calculate planner cost constants?

From: "Dave Held" <dave(dot)held(at)arrayservicesgrp(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: What about utility to calculate planner cost constants?
Date: 2005-03-22 22:33:41
Message-ID: 49E94D0CFCD4DB43AFBA928DDD20C8F902618482@asg002.asg.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> -----Original Message-----
> From: Dave Held
> Sent: Tuesday, March 22, 2005 4:16 PM
> To: Tom Lane
> Cc: pgsql-performance(at)postgresql(dot)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

Browse pgsql-performance by date

  From Date Subject
Next Message Ron Mayer 2005-03-22 22:59:44 Re: What about utility to calculate planner cost constants?
Previous Message Simon Riggs 2005-03-22 22:18:11 Re: CPU 0.1% IOWAIT 99% for decisonnal queries