pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: CN <cnliou9@fastmail.fm>
Cc: pgsql-sql@postgresql.org
Subject: Re: Creating Index
Date: Fri, 03 Oct 2003 11:26:23 -0400
Message-ID: <19818.1065194783@sss.pgh.pa.us> (raw)
In-Reply-To: <20031003041221.C45BB6475F@smtp.us2.messagingengine.com>
References: <20031002155005.943CD74F4F@smtp.us2.messagingengine.com>
	<29316.1065117519@sss.pgh.pa.us>
	<20031003020640.1562A74D53@smtp.us2.messagingengine.com>
	<20031003041221.C45BB6475F@smtp.us2.messagingengine.com>

"CN" <cnliou9@fastmail.fm> writes:
> I thought I have got no more question in this thread, and I was wrong :-(
> Is the extra 300ms in UNION essential?

Dividing, it looks like the Append node is taking about 3 microseconds
per tuple, which seems kind of a lot considering it isn't really doing
anything.  I suspect though that most of this overhead is due to the
EXPLAIN ANALYZE instrumentation, and would in fact go away when you
are just running the query.

			regards, tom lane



view thread (17+ messages)

Message-ID: <19818.1065194783@sss.pgh.pa.us>
Permalink:  ../19818.1065194783@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19818.1065194783@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, cnliou9@fastmail.fm
  Subject: Re: Creating Index
  In-Reply-To: <19818.1065194783@sss.pgh.pa.us>

* 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