Re: Error in getNextException No space left on device Call getNextException to see other errors in the batch. (java.sql.BatchUpdateException)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dbatoCloud Solution <dbatocloud17(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Error in getNextException No space left on device Call getNextException to see other errors in the batch. (java.sql.BatchUpdateException)
Date: 2020-12-17 14:05:41
Message-ID: 64837.1608213941@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

dbatoCloud Solution <dbatocloud17(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2020-12-17 18:40:17 Re: 12 to 13 migration, the privs error with pg_pltemplate
Previous Message Holger Jakobs 2020-12-17 13:00:44 Re: Error in getNextException No space left on device Call getNextException to see other errors in the batch. (java.sql.BatchUpdateException)