pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jim C. Nasby <decibel@decibel.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Tuning planner cost estimates
Date: Thu, 19 May 2005 10:21:05 -0700
Message-ID: <200505191021.05407.josh@agliodbs.com> (raw)
In-Reply-To: <5514.1116522981@sss.pgh.pa.us>
References: <20050518002236.GU30902@decibel.org>
	<200505190931.47662.josh@agliodbs.com>
	<5514.1116522981@sss.pgh.pa.us>

Tom,

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

I need to go further than that and parse the results as well.  And preserve 
relationships and nesting levels.   

Hmmmm ... what's the indenting formula for nesting levels?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (11+ messages)  latest in thread

Message-ID: <200505191021.05407.josh@agliodbs.com>
Permalink:  ../200505191021.05407.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200505191021.05407.josh@agliodbs.com

 · 

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: josh@agliodbs.com, tgl@sss.pgh.pa.us, decibel@decibel.org
  Subject: Re: Tuning planner cost estimates
  In-Reply-To: <200505191021.05407.josh@agliodbs.com>

* 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