Temporary tables

Поиск
Список
Период
Сортировка
Искать

Temporary tables

От:
G u i d o B a r o s i o <gbarosio@uolsinectis.com.ar>
Дата:
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. 

The BF question:
Is a good idea to link this tmp tables to another partition?
If so, how can I link this tmp tables to another partition?
Suggestions?

Thanks in advance!
Guido



Re: Temporary tables

От:
Gaetano Mendola <mendola@bigfoot.com>
Дата:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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






-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD4DBQFBElSx7UpzwH2SGd4RAhnkAKDABtA1fZSCCF/WAP5TUBJnHdWHYACWLjjQ
LgncGg4+b0lPCQbafXVG6w==
=1f1i
-----END PGP SIGNATURE-----

Re: Temporary tables

От:
Gaetano Mendola <mendola@bigfoot.com>
Дата:
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





FAQ