X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 19C769FA3A3 for ; Tue, 9 May 2006 13:13:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 82730-07-2 for ; Tue, 9 May 2006 13:13:22 -0300 (ADT) X-Greylist: delayed 00:25:53.969998 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 54ABB9FA4E1 for ; Tue, 9 May 2006 13:13:18 -0300 (ADT) Received: from laurel.ipcon.de (dns.ipcon.de [195.50.149.130]) by svr4.postgresql.org (Postfix) with ESMTP id 000F55B2F15 for ; Tue, 9 May 2006 15:47:19 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by laurel.ipcon.de (Postfix) with ESMTP id 98AC71B6DD9 for ; Tue, 9 May 2006 17:47:13 +0200 (CEST) Received: from laurel.ipcon.de ([127.0.0.1]) by localhost (laurel.ipcon.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20273-01-19 for ; Tue, 9 May 2006 17:47:11 +0200 (CEST) Received: from [192.168.2.242] (mail.cnca.ph [125.60.248.2]) by laurel.ipcon.de (Postfix) with ESMTP id 6863A1A62E6 for ; Tue, 9 May 2006 17:47:10 +0200 (CEST) Message-ID: <4460B977.9070005@ipcon.de> Date: Tue, 09 May 2006 23:47:03 +0800 From: Patric Bechtel User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Query length restriction in v3 protocol? X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at ipcon.de X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/18 X-Sequence-Number: 15146 -----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-----