Re: Temporary tables - Mailing list pgsql-performance

From Gaetano Mendola
Subject Re: Temporary tables
Date
Msg-id 4112544E.2060706@bigfoot.com
Whole thread Raw
In response to Temporary tables  (G u i d o B a r o s i o <gbarosio@uolsinectis.com.ar>)
List pgsql-performance
G u i d o B a r o s i o wrote:

> The box:
> Linux 2.4.24-ck1
> 8  Intel(R) Xeon(TM) MP CPU 2.80GHz
> 4 gb RAM.
> Postgresql 7.4.2
>
> The problem:
> Short in disk space. (waiting new hard)
>
> The real problem:
> Developers usually write queries involving the creation of temporary tables.

I seen too this behavior, till I explained that this is a valid sql:

select T.* from ( select * from table t where a = 5 ) AS T join foo using ( bar );


show us a typical function that use temporary tables.



Regards
Gaetano Mendola






pgsql-performance by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: [GENERAL] Tuning queries on large database
Next
From: Gaetano Mendola
Date:
Subject: Re: Performance Bottleneck