Re: A costing analysis tool - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: A costing analysis tool
Date
Msg-id 200510191058.50324.josh@agliodbs.com
Whole thread Raw
In response to Re: A costing analysis tool  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List 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


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: A costing analysis tool
Next
From: Robert Treat
Date:
Subject: Re: A costing analysis tool