From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
Cc: | <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: An unresolved performance problem. |
Date: | 2003-05-07 15:42:27 |
Message-ID: | Pine.LNX.4.33.0305070940260.8765-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-performance pgsql-sql |
On Wed, 7 May 2003, Achilleus Mantzios wrote:
>
> Hi, few days ago, i posted some really wierd (at least to me)
> situation (maybe a potentian bug) to the performance and bugs list
> and to some core hacker(s) privately as well,
> and i got no response.
> Moreover i asked for some feedback
> in order to understand/fix the problem myself,
> and again received no response.
>
> What i asked was pretty simple:
> "1. Is it possible that the absense of statistics make the planer produce
> better plans
> than in the case of statistcs generated with vacuum
> analyze/analyze?
One of the common examples of this happening was posted a few weeks back.
someone was basically doing this:
delete from table;
analyze table;
insert into table (1,000,000 times);
the problem was that the table had fk constraints to another table, and
the query planner for the inserts (all 1,000,000 of them) assumed it was
inserting into a mostly empty table, and therefore used seq scans instead
of index scans.
It's not a bug, not quite a feature, just a corner case.
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2003-05-07 16:33:24 | An unresolved performance problem. |
Previous Message | Mendola Gaetano | 2003-05-07 15:36:29 | Re: [SQL] An unresolved performance problem. |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruno Wolff III | 2003-05-07 16:28:15 | Re: Yet another 'why does it not use my index' question. |
Previous Message | Mendola Gaetano | 2003-05-07 15:36:29 | Re: [SQL] An unresolved performance problem. |
From | Date | Subject | |
---|---|---|---|
Next Message | Jean-Luc Lachance | 2003-05-07 15:47:01 | Re: ERROR: Â pg_atoi: error in "NULL": can't |
Previous Message | Bruno Wolff III | 2003-05-07 15:39:38 | Re: Date Anomaly?? |