pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Christopher Browne <cbbrowne@acm.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: What about utility to calculate planner cost constants?
Date: Tue, 22 Mar 2005 09:17:07 -0600
Message-ID: <20050322151707.GA5486@wolff.to> (raw)
In-Reply-To: <m34qf3aktn.fsf@knuth.knuth.cbbrowne.com>
References: <A66A11DBF5525341AEF6B8DE39CDE77008805C@black.aprote.com>
	<200503210951.06044.josh@agliodbs.com>
	<87acowcmut.fsf@stark.xeocode.com>
	<m34qf3aktn.fsf@knuth.knuth.cbbrowne.com>

On Tue, Mar 22, 2005 at 08:09:40 -0500,
  Christopher Browne <cbbrowne@acm.org> wrote:
> 
> Are you certain it's a linear system?  I'm not.  If it was a matter of
> minimizing a linear expression subject to some set of linear
> equations, then we could model this as a Linear Program for which
> there are some perfectly good solvers available.  (Few with BSD-style
> licenses, but we could probably get some insight out of running for a
> while with something that's there...)

For less than 100 equations and 100 unknowns, you should be able to use
naive solvers. After that you don't get very accurate answers without
being more careful. I still have my numerical analysis text books around
and can look algorithms up for doing this without too much trouble.



view thread (21+ messages)  latest in thread

Message-ID: <20050322151707.GA5486@wolff.to>
Permalink:  ../20050322151707.GA5486@wolff.to/
Also on:    postgresql.org/message-id/20050322151707.GA5486@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: bruno@wolff.to, cbbrowne@acm.org
  Subject: Re: What about utility to calculate planner cost constants?
  In-Reply-To: <20050322151707.GA5486@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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