"Edwin Quijada" <[EMAIL PROTECTED]> writes:
> This select get 20 seconds to doing. My 2 first table has 500000 reords each
> one
The row counts mentioned in your explain output seem suspiciously small.
Have you ever ANALYZEd or VACUUMed these tables?
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly