Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQbDf-00063D-5L for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jun 2018 16:23:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQbDd-0007br-Ow for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jun 2018 16:23:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQbDd-0007bd-FV for pgsql-bugs@lists.postgresql.org; Wed, 06 Jun 2018 16:23:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQbDa-00007s-VL for pgsql-bugs@lists.postgresql.org; Wed, 06 Jun 2018 16:23:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w56GNMNc011601; Wed, 6 Jun 2018 12:23:22 -0400 From: Tom Lane To: Frits Jalvingh cc: Thomas Munro , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15225: [XX000] ERROR: invalid DSA memory alloc request size 1073741824 / Where: parallel worker In-reply-to: References: <152802081668.26724.16985037679312485972@wrigleys.postgresql.org> <6681.1528295893@sss.pgh.pa.us> Comments: In-reply-to Frits Jalvingh message dated "Wed, 06 Jun 2018 18:19:27 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11599.1528302202.1@sss.pgh.pa.us> Date: Wed, 06 Jun 2018 12:23:22 -0400 Message-ID: <11600.1528302202@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Frits Jalvingh writes: > The "good" news is that this effect is apparently caused by something else. > I fired those statements through an IDE (IntelliJ) written in Java and > using jdbc. There seems to be something odd going on in there, because when > I paste the query in psql then the effect with and without explain looks > the same: 3 processes of which 2 "parallel workers" doing enormous amounts > of I/O at 50..90% CPU. I will try to find out what easter egg in either > that IDE or the JDBC driver causes this 8-/. Ah. Something about query parameterization, is my bet. regards, tom lane