| From: | Vincent de Phily <vincent(dot)dephily(at)mobile-devices(dot)fr> |
|---|---|
| To: | "French, Martin" <frenchm(at)cromwell(dot)co(dot)uk> |
| Cc: | pgsql-general(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: [PERFORM] DELETE taking too much memory |
| Date: | 2011-07-08 09:20:14 |
| Message-ID: | 6960221.CJCJgSSb5M@moltowork |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-performance |
On Thursday 07 July 2011 19:54:08 French, Martin wrote:
> How up to date are the statistics for the tables in question?
>
> What value do you have for effective cache size?
>
> My guess would be that planner thinks the method it is using is right
> either for its current row number estimations, or the amount of memory
> it thinks it has to play with.
Not very up to date I'm afraid (as shown by the low estimate of deleted rows).
Table t2 has been insert-only since its re-creation (that's another story),
while t1 is your classic insert-many, update-recent.
We haven't tweaked effective cache size yet, it's on the TODO... like many
other things :/
--
Vincent de Phily
| From | Date | Subject | |
|---|---|---|---|
| Next Message | French, Martin | 2011-07-08 09:31:33 | Re: [PERFORM] DELETE taking too much memory |
| Previous Message | Vincent de Phily | 2011-07-08 09:13:13 | Re: DELETE taking too much memory |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | French, Martin | 2011-07-08 09:31:33 | Re: [PERFORM] DELETE taking too much memory |
| Previous Message | Vincent de Phily | 2011-07-08 09:13:13 | Re: DELETE taking too much memory |