X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 489DE3A55CA for ; Mon, 10 Jan 2005 14:32:35 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33106-05 for ; Mon, 10 Jan 2005 14:32:24 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 3A7D03A4DD4 for ; Mon, 10 Jan 2005 14:32:27 +0000 (GMT) Received: (qmail 21777 invoked from network); 10 Jan 2005 14:31:56 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 10 Jan 2005 14:31:56 -0000 Message-ID: <41E291EF.5060401@fastcrypt.com> Date: Mon, 10 Jan 2005 09:32:15 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Venkatesh Babu Cc: pgsql-jdbc@postgresql.org Subject: Re: Help with this exception... References: <20050110142124.44542.qmail@web50410.mail.yahoo.com> In-Reply-To: <20050110142124.44542.qmail@web50410.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/73 X-Sequence-Number: 11953 Hi, Apparently you do not have lots of space on the disk that the server is on. Dave Venkatesh Babu wrote: >Hello, > >I am getting this particular exception while testing >our application on postgres (we recently migrated our >application(which was earlier running fine on Oracle) >to postgres)... > >org.postgresql.util.PSQLException: ERROR: could not >write to hash-join temporary file: No space left on >device > >However, I have lot of disk space free (around 65 GB >of disk space is free)... The exception stack trace is >shown below: > > at >org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) > at >org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152) > at >org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100) > at >org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) > at >org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:517) > at >org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) > at >org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:233) > at >com.trilogy.database.JDBCPreparable.executeQueryRaw(JDBCPreparable.java:300) > at >com.trilogy.database.JDBCPreparable.executeQuery(JDBCPreparable.java:286) > at >com.trilogy.sc.query.OQLHeavyRecordset.init(OQLHeavyRecordset.java:68) > at >com.trilogy.sc.query.OQLHeavyRecordset.(OQLHeavyRecordset.java:45) > at >com.trilogy.sc.local.Persister$7.act(Persister.java:733) > at >com.trilogy.sc.local.Persister.transact(Persister.java:111) > at >com.trilogy.sc.local.Persister.executeQuery(Persister.java:744) > at >com.trilogy.sc.local.Persister.executeQuery(Persister.java:685) > at >com.trilogy.sc.local.Persister.executeQuery(Persister.java:680) > at >com.trilogy.sc.local.SCLocalSession.executeQuery(SCLocalSession.java:245) > at >com.trilogy.sc.SCQuery.execute(SCQuery.java:57) > >Does this error have anything to do with the query >that our application executes, in which case I need to >modify the particular query... In the current >situation I cannot give details about the SQL query >that is getting executed because the query in our >application is written in a custom language OQL and >the OQL parser is mapping the query to SQL query >statement... Hence, changing query may be bit of >difficult task. So, may I know as to whether we can >get rid of this exception by changing certain postgres >settings? > >Thank you, >Venkatesh > > > >__________________________________ >Do you Yahoo!? >The all-new My Yahoo! - What will yours do? >http://my.yahoo.com > >---------------------------(end of broadcast)--------------------------- >TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561