Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id EB81847594B for ; Wed, 8 May 2002 09:54:49 -0400 (EDT) Received: from ias.digitro.com.br (unknown [200.247.100.134]) by postgresql.org (Postfix) with ESMTP id 948B24758E1 for ; Wed, 8 May 2002 09:51:41 -0400 (EDT) Received: from serverdgt.daf.digitro.com.br ([192.2.2.10]) by ias.digitro.com.br (8.11.1/8.11.1) with ESMTP id g48D8ww15897 for ; Wed, 8 May 2002 10:08:58 -0300 Received: from dgtac ([192.168.160.152]) by serverdgt.daf.digitro.com.br (8.11.1/8.8.7) with SMTP id g48DAx030363 for ; Wed, 8 May 2002 10:10:59 -0300 Message-ID: <002f01c1f691$8fcea560$98a0a8c0@dgtac> From: "Vilson farias" To: Subject: Performance question related with temporary tables Date: Wed, 8 May 2002 10:09:16 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002C_01C1F678.691A6350" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200205/63 X-Sequence-Number: 4238 This is a multi-part message in MIME format. ------=_NextPart_000_002C_01C1F678.691A6350 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings, =20=20 I've been testing some queries and I have a question : Is there a way to = put a index in a temporary table? I have a query that does a join from a ta= ble and a temporary table and this join is done with a very long sequencial= scan because the temporary table aparently hasn't any index. I would like = to know how can I deal with this kind of situation.=20 Best Regards, ---------------------------------------------------------------------------= ----- Jos=E9 Vilson de Mello de Farias Software Engineer D=EDgitro Tecnologia Ltda - www.digitro.com.br APC - Customer Oriented Applications E-mail: vilson.farias@digitro.com.br Tel.: +55 48 281 7158=20 ICQ 11866179 ------=_NextPart_000_002C_01C1F678.691A6350 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Greetings,
 
 
  I've been testing some queri= es and I=20 have a question : Is there a way to put a index in a temporary table? I hav= e a=20 query that does a join from a table and a temporary table and this join is = done=20 with a very long sequencial scan because the temporary table aparently hasn= 't=20 any index. I would like to know how can I deal with this kind of situation.= =20
 
Best Regards,
 
------------------------------------------------------------------= --------------
Jos=E9=20 Vilson de Mello de Farias
Software Engineer
 
D=EDgitro Tecnologia Ltda - www.digitro.com.br
APC - Customer= =20 Oriented Applications
E-mail: vilson.farias@digitro.com.br
Tel.:=20 +55 48 281 7158
ICQ 11866179
------=_NextPart_000_002C_01C1F678.691A6350--