Skip to content
Advertisement

Sql memory issue

I have created a new postgres server and when I trying to execute this sql command:

table1 and table2 contains around 300 000 records I got an error like this:

Any ideas ?

Regards, Arrmlet

Advertisement

Answer

Your join conditions are probably not correct. You can calculate how many rows there are by using:

My guess is that the number of rows is way larger than you expect. If that is the case, then running out of free space is merely a symptom of a badly formed query.

However, if this version of the query runs out of space, then the issue really is the free space.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement