pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Karl Denninger <karl@denninger.net>
Cc: Rick Otten <rotten@manta.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: average query performance measuring
Date: Tue, 21 Aug 2012 16:27:02 -0400
Message-ID: <20120821202702.GO1267@tamriel.snowman.net> (raw)
In-Reply-To: <5033E60A.1030808@denninger.net>
References: <362605510214004CB3313A03D3D697DE5508FF27@cmhvm005>
	<20120821185316.GN1267@tamriel.snowman.net>
	<5033E60A.1030808@denninger.net>

Karl,

* Karl Denninger (karl@denninger.net) wrote:
> That looks EXTREMELY useful and I'm looking forward to checking it out
> in 9.2; I have asked a similar question about profiling actual queries
> in the past and basically it came down to "turn on explain or run a
> separate explain yourself since the app knows what's similar and what's
> not", which of course has hideous performance implications (as the query
> basically executes twice.)

Just to clarify one thing- if your application is currently using
prepared queries for everything, you can probably use the existing
contrib module.  The difference is that, with 9.2, it'll actually do
normalization of non-PREPARED queries and will include some additional
statistics and information.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 197B) download

view thread (7+ messages)  latest in thread

Message-ID: <20120821202702.GO1267@tamriel.snowman.net>
Permalink:  ../20120821202702.GO1267@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20120821202702.GO1267@tamriel.snowman.net

 · 

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: sfrost@snowman.net, karl@denninger.net, rotten@manta.com
  Subject: Re: average query performance measuring
  In-Reply-To: <20120821202702.GO1267@tamriel.snowman.net>

* 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