Re: [PERFORM] The order of fields around the "=" in the WHERE

2006-04-04 Thread Mike Quinn
06 rows=1 loops=69) Index Cond: (commtypes.number = "outer".commtype) Total runtime: 1.091 ms (12 rows) >>> "Mike Quinn" <[EMAIL PROTECTED]> 4/4/06 10:18:30 AM >>> The datatype of the join columns is a user defined type and there are no comm

Re: [PERFORM] The order of fields around the "=" in the WHERE

2006-04-04 Thread Mike Quinn
The datatype of the join columns is a user defined type and there are no commutators defined. I will fix that and retest. Thanks for the insight. Mike Quinn ---(end of broadcast)--- TIP 3: Have you checked our extensive FAQ? http

[PERFORM] The order of fields around the "=" in the WHERE conditions

2006-04-03 Thread Mike Quinn
is second. -- Mike Quinn -- the worst way -- EXPLAIN ANALYZE SELECT Locts.id, Commtypes.name FROM Growers , Locts , Crops , Commtypes WHERE Growers.id = '0401606' AND -- Commtypes.number = Crops.Commtype Crops.Commtype = Commtypes.number AND Locts.number = Crops.Loct -- Crops.Loc