Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ajUz4-0005id-Pe for pgsql-admin@arkaria.postgresql.org; Fri, 25 Mar 2016 16:53:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ajUz4-0003ov-93 for pgsql-admin@arkaria.postgresql.org; Fri, 25 Mar 2016 16:53:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ajUxO-0001vO-VU for pgsql-admin@postgresql.org; Fri, 25 Mar 2016 16:51:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ajUxM-0006GF-2E for pgsql-admin@postgresql.org; Fri, 25 Mar 2016 16:51:30 +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 u2PGpPH3014336; Fri, 25 Mar 2016 12:51:25 -0400 From: Tom Lane To: Artem Tomyuk cc: pgsql-admin@postgresql.org Subject: Re: temp file 1TB size In-reply-to: References: Comments: In-reply-to Artem Tomyuk message dated "Fri, 25 Mar 2016 17:43:36 +0200" Date: Fri, 25 Mar 2016 12:51:25 -0400 Message-ID: <14335.1458924685@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Artem Tomyuk writes: > PostgresSQL logged that query created temp file with size 1073741824 (as log > temporary files equalor larger than the specified size in kilobytes) which > is 1024 Gigabytes? > Is it possible???? > ===========>21992 127.0.0.1 postgres 2016-03-25 16:24:39 EET 00000 > [21-1]LOG: temporary file: path "base/pgsql_tmp/pgsql_tmp21992.451", > size 1073741824 > ===========>21992 127.0.0.1 postgres 2016-03-25 16:24:40 EET 00000 > [22-1]LOG: temporary file: path "base/pgsql_tmp/pgsql_tmp21992.452", > size 1073741824 Those sizes are in bytes, not kB. Do you see some documentation saying the other? regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin