From: Tom Lane <tgl@sss.pgh.pa.us>
To: dbatoCloud Solution <dbatocloud17@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Error in getNextException No space left on device Call getNextException to see other errors in the batch. (java.sql.BatchUpdateException)
Date: Thu, 17 Dec 2020 09:05:41 -0500
Message-ID: <64837.1608213941@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEz7P_sjhZTU+zUCSKwEfT_fdqx9kouSn_PHe6ShdXKvfYdJsw@mail.gmail.com>
References: <CAEz7P_sjhZTU+zUCSKwEfT_fdqx9kouSn_PHe6ShdXKvfYdJsw@mail.gmail.com>
dbatoCloud Solution <dbatocloud17@gmail.com> writes:
> ERROR: could not write to hash-join temporary file: No space left on device
> Call getNextException to see other errors in the batch.
> (java.sql.BatchUpdateException)
If there's a reasonable amount of free disk space when the problem
query isn't running, this is likely telling you that you have a
query logic error. That is, you're commanding the DB to form some
unreasonably large join product, perhaps as a result of a missing
WHERE constraint.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, dbatocloud17@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Error in getNextException No space left on device Call getNextException to see other errors in the batch. (java.sql.BatchUpdateException)
In-Reply-To: <64837.1608213941@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox