Re: Tuning planner cost estimates - Mailing list pgsql-performance

From Tom Lane
Subject Re: Tuning planner cost estimates
Date
Msg-id 5514.1116522981@sss.pgh.pa.us
Whole thread Raw
In response to Re: Tuning planner cost estimates  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Tuning planner cost estimates
List pgsql-performance
Josh Berkus <josh@agliodbs.com> writes:
> I think a first step would be, in fact, to develop a tool that allows us to
> put EXPLAIN ANALYZE results in a database table.  Without that, there is no
> possibility of statistical-scale analysis.

AFAIK you can do that today using, eg, plpgsql:

    for rec in explain analyze ... loop
        insert into table values(rec."QUERY PLAN");
    end loop;

            regards, tom lane

pgsql-performance by date:

Previous
From: Donald Courtney
Date:
Subject: Re: PostgreSQL strugling during high load
Next
From: Josh Berkus
Date:
Subject: Re: Tuning planner cost estimates