Re: A costing analysis tool

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Subject: Re: A costing analysis tool
Date: 2005-10-19 17:58:50
Message-ID: 200510191058.50324.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin,

> When it gets downt to the detail, it may make sense to combine
> or split some of these. For example, runtime_options should
> probably not have a column for each currently known option,
> but a child table which maps to all non-default option values.

I'm a little cautious about storing only non-defaults; the defaults have
changed from version to version, after all. If we did that, we'd need to
have a "defaults" table in the db as a reference list.

Also, we'll need to store runtime options both on the "machine" level and
on the "query" level, in order to allow testing of changing an enable_* or
other query cost option at runtime. Not sure how to capture this,
though.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2005-10-19 18:01:40 Re: A costing analysis tool
Previous Message Kevin Grittner 2005-10-19 17:53:45 Re: A costing analysis tool