Re: [PERFORM] Forcing the use of particular execution plans

2006-10-03 Thread Tim Truman
PROTECTED] Sent: Tuesday, 3 October 2006 1:50 PM To: Tim Truman Cc: 'Dave Dutcher'; pgsql-performance@postgresql.org Subject: Re: [PERFORM] Forcing the use of particular execution plans "Tim Truman" <[EMAIL PROTECTED]> writes: > Here is an "explain analyze&q

Re: [PERFORM] Forcing the use of particular execution plans

2006-10-02 Thread Tim Truman
'4564%549'::text))" " -> Hash (cost=20.88..20.88 rows=8 width=282) (actual time=16.000..16.000 rows=0 loops=1)" "-> Seq Scan on merchant m (cost=0.00..20.88 rows=8 width=282) (actual time=0.000..16.000 rows=7 loop

[PERFORM] Forcing the use of particular execution plans

2006-09-26 Thread Tim Truman
Hi, I have the following query which has been running very slowly and after a lot of testing/trial and error I found an execution plan that ran the query in a fraction of the time (and then lost the statistics that produced it). What I wish to know is how to force the query to use the faster execu