pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Marc Mamin <m.mamin@gmx.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query limitations (size, number of UNIONs ...)
Date: Fri, 3 Jun 2005 09:27:20 -0400
Message-ID: <20050603132720.GB30011@ns.snowman.net> (raw)
In-Reply-To: <30384.1117780528@www35.gmx.net>
References: <1117758630.429fa4a66825f@webmail.rawbw.com>
	<30384.1117780528@www35.gmx.net>

* Marc Mamin (m.mamin@gmx.net) wrote:
> I've just made a first test wich resulted in a query being 15KB big annd
> containing 63 UNION.

If the data is distinct from each other or you don't mind duplicate
records you might try using 'union all' instead of 'union'.  Just a
thought.

	Stephen

Attachments:

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

view thread (2+ messages)

Message-ID: <20050603132720.GB30011@ns.snowman.net>
Permalink:  ../20050603132720.GB30011@ns.snowman.net/
Also on:    postgresql.org/message-id/20050603132720.GB30011@ns.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: sfrost@snowman.net, m.mamin@gmx.net
  Subject: Re: Query limitations (size, number of UNIONs ...)
  In-Reply-To: <20050603132720.GB30011@ns.snowman.net>
  References: <1117758630.429fa4a66825f@webmail.rawbw.com> <30384.1117780528@www35.gmx.net> <20050603132720.GB30011@ns.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