Re: [PERFORM] A question on the query planner

2003-12-03 Thread Jared Carr
Greg Stark wrote: Jared Carr <[EMAIL PROTECTED]> writes: The patch definitely makes things more consistent...unfortunately it is more consistent toward the slower execution times. Of course I am looking at this simply from a straight performance standpoint and not a viewpoint of what *

Re: [PERFORM] A question on the query planner

2003-12-03 Thread Jared Carr
Tom Lane wrote: Hmmm ... [squints] ... it's not supposed to do that ... The attached patch seems to make it better. The patch definitely makes things more consistent...unfortunately it is more consistent toward the slower execution times. Of course I am looking at this simply from a st

Re: [PERFORM] A question on the query planner

2003-12-02 Thread Jared Carr
Greg Stark wrote: Jared Carr <[EMAIL PROTECTED]> writes: Greg Stark wrote: Merge Cond: ("outer"."?column7?" = "inner"."?column5?") Well it looks like you have something strange going on. What data type is car_id in each

Re: [PERFORM] A question on the query planner

2003-12-02 Thread Jared Carr
Greg Stark wrote: Merge Cond: ("outer"."?column7?" = "inner"."?column5?") Well it looks like you have something strange going on. What data type is car_id in each table? car_id is a varchar(10) in both tables. ---(end of broadcast)---

Re: [PERFORM] A question on the query planner

2003-12-02 Thread Jared Carr
Robert Treat wrote: On Mon, 2003-12-01 at 16:44, Jared Carr wrote: I am currently working on optimizing some fairly time consuming queries on a decently large dataset. The Following is the query in question. SELECT z.lat, z.lon, z.city, z.state, q.date_time, c.make, c.model, c.year FROM

[PERFORM] A question on the query planner

2003-12-01 Thread Jared Carr
I am currently working on optimizing some fairly time consuming queries on a decently large dataset. The Following is the query in question. SELECT z.lat, z.lon, z.city, z.state, q.date_time, c.make, c.model, c.year FROM quotes AS q, zips AS z, cars AS c WHERE z.zip = q.zip