Re: [PERFORM] Problem with joining queries.

2007-02-15 Thread Konstantinos Krikellas
> Not happening here (8.2.x, output redirected using "\o /dev/null") - are > you sure it's not psql (or whatever client) that's using up your memory, > as it tries to build the entire result set before sending it to > /dev/null? Don't forget, you've got 5 copies of the columns so that > would b

Re: [PERFORM] Problem with joining queries.

2007-02-15 Thread Richard Huxton
Konstantinos Krikellas wrote: Hi, I am using PostgreSQL for benchmarking and I study the following query: SELECT * FROM k10_1, k10_2, k10_3, k10_4, k10_5 WHERE k10_1.times4 = k10_2.times4 AND k10_2.times4 = k10_3.times4 AND k10_3.times4 = k10_4.times4 AND k10_4.times4 = k10_5.times4

[PERFORM] Problem with joining queries.

2007-02-15 Thread Konstantinos Krikellas
Hi, I am using PostgreSQL for benchmarking and I study the following query: SELECT * FROM k10_1, k10_2, k10_3, k10_4, k10_5 WHERE k10_1.times4 = k10_2.times4 AND k10_2.times4 = k10_3.times4 AND k10_3.times4 = k10_4.times4 AND k10_4.times4 = k10_5.times4 The used schema for all the tables