pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Patric Bechtel <bechtel@ipcon.de>
To: pgsql-jdbc@postgresql.org
Subject: Query length restriction in v3 protocol?
Date: Tue, 09 May 2006 23:47:03 +0800
Message-ID: <4460B977.9070005@ipcon.de> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm struggling with hibernate and postgresql, because after some
performance analysis, it seems that it's wise to use table per concrete
class mapping, which means that all polymorphic queries result in huge
(I mean, very huge) union queries.
The question that I have is, if there's any length restriction regarding
on commands sent to the backend. I've seen queries 1.5 MB long, is that
really a problem or is there another solution for that (could be that
it's only possible with views in between or such)?
Normally I wouldn't even dare to send such beasts to the backend because
I would worry about parsing times and such, but I've seen the
performance of outer join queries over 5-9 tables (=inheritance depth in
O/R model), which is even more scary...

Thanks in advance,

- --
Mit freundlichen Gruessen / Regards
Patric Bechtel, IPCON Informationssysteme OHG
Kontakt: http://www.ipcon.de/kontakt.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: GnuPT 2.5.2

iD8DBQFEYLl2fGgGu8y7ypARAktCAKDMOBCM/1DviG0xGJ+TWHM2By6ZSACgjPxC
GdcrQsQkZeO5+hO9yF0jdKU=
=cFRc
-----END PGP SIGNATURE-----



view thread (6+ messages)  latest in thread

Message-ID: <4460B977.9070005@ipcon.de>
Permalink:  ../4460B977.9070005@ipcon.de/
Also on:    postgresql.org/message-id/4460B977.9070005@ipcon.de

 · 

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-jdbc@postgresql.org
  Cc: bechtel@ipcon.de
  Subject: Re: Query length restriction in v3 protocol?
  In-Reply-To: <4460B977.9070005@ipcon.de>
  References: <4460B977.9070005@ipcon.de>

* 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