From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org, <pgsql-performance(at)pgsql(dot)org> |
Subject: | Wrong index usage in 7.3.2 |
Date: | 2003-05-05 12:27:41 |
Message-ID: | Pine.LNX.4.44.0305050921580.15785-100000@matrix.gatewaynet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi,
this is in continuation from the previous
http://archives.postgresql.org/pgsql-performance/2003-05/msg00003.php
thread.
Summary:
On a table i have this situation: on the queries i do, the best plan is
used only if NO statistics
are produced (via ANALYZE).
Once i run [VACUUM] [FULL] ANALYZE; the correct index is used only
in certain circumstances, and the planner fails to use it
in the most common ones.
Since Message
http://archives.postgresql.org/pgsql-performance/2003-05/msg00003.php
had no responces, i thought that the best way to solve the problem
is to provide the pg_dump for anyone willing to examine the case.
bzip2'ed it is about 355K.
Thanx.
--
==================================================================
Achilleus Mantzios
S/W Engineer
IT dept
Dynacom Tankers Mngmt
Nikis 4, Glyfada
Athens 16610
Greece
tel: +30-210-8981112
fax: +30-210-8981877
email: achill(at)matrix(dot)gatewaynet(dot)com
mantzios(at)softlab(dot)ece(dot)ntua(dot)gr
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2003-05-06 01:16:28 | Reindex and Vacuum togheter BUG ? [ was Vacuum bug ] |
Previous Message | Tom Lane | 2003-05-03 22:29:30 | Re: pg_dump Crashes and core dumps |