Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 9C4AE9FA54C for ; Tue, 25 Sep 2007 14:28:44 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 25687-09 for ; Tue, 25 Sep 2007 14:28:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by postgresql.org (Postfix) with ESMTP id 42D819FA4D1 for ; Tue, 25 Sep 2007 14:28:36 -0300 (ADT) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IaED4-0002p3-VG for pgsql-general@postgresql.org; Tue, 25 Sep 2007 10:28:34 -0700 Message-ID: <12884512.post@talk.nabble.com> Date: Tue, 25 Sep 2007 10:28:34 -0700 (PDT) From: Alessandra Bilardi To: pgsql-general@postgresql.org Subject: Re: could not [extend relation|write block N of temporary file|write to hash-join temporary file] In-Reply-To: <16915.1186241901@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: bilardi@cribi.unipd.it References: <18096.21836.812964.708628@gargle.gargle.HOWL> <16915.1186241901@sss.pgh.pa.us> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/1221 X-Sequence-Number: 121143 Tom Lane-2 wrote: > > Alessandra Bilardi writes: >> ERROR: could not write to hash-join temporary file: No space left on >> device > > Check your queries. I suspect you've written an incorrectly constrained > join that is producing many more rows than you expect. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > > Sorry, I reply only Tom Lane: From: Alessandra Bilardi To: Tom Lane Subject: Re: [GENERAL] could not [extend relation|write block N of temporary file|write to hash-join temporary file] Date: Tue, 7 Aug 2007 11:23:55 +0200 Dear Tom, I attach you the sql script and file.log and file.err obtain with command: psql -d sgdlite < sgdlite_mart.sql > sgdlite_mart.log 2> sgdlite_mart.err first server machine is:AMD Opteron(tm) Processor 244, 1790.535MHz, 1024MB second server machine is:AMD Opteron(tm) Bi Processor 244, 1804.153MHz, 8192MB I had "could not write to hash-join temporary file" one time with second server machine. Thanks for you help. Regards, Alessandra Bilardi http://www.nabble.com/file/p12884512/sgdlite_mart.sql sgdlite_mart.sql http://www.nabble.com/file/p12884512/sgdlite_mart1.err sgdlite_mart1.err http://www.nabble.com/file/p12884512/sgdlite_mart1.log sgdlite_mart1.log http://www.nabble.com/file/p12884512/sgdlite_mart2.err sgdlite_mart2.err http://www.nabble.com/file/p12884512/sgdlite_mart2.log sgdlite_mart2.log -- View this message in context: http://www.nabble.com/could-not--extend-relation%7Cwrite-block-N-of-temporary-file%7Cwrite-to-hash-join-temporary-file--tf4216684.html#a12884512 Sent from the PostgreSQL - general mailing list archive at Nabble.com.