From: Gregory Williamson <Gregory.Williamson@digitalglobe.com>
To: Bill Moran <wmoran@collaborativefusion.com>
To: Galantucci Giovanni <Giovanni.Galantucci@italtel.it>
Cc: pgsql-performance@postgresql.org
Subject: Re: R: R: DELETE queries slow down
Date: Wed, 19 Sep 2007 05:25:29 -0600
Message-ID: <8B319E5A30FF4A48BE7EEAAF609DB233015E2C07@COMAIL01.digitalglobe.com> (raw)
References: <20070918121845.19008a51.wmoran@collaborativefusion.com>
<AF4EB29748E178458A0067661112724B0FCF78@BESONE.corp.dom>
<20070919071451.9ba7f1b4.wmoran@collaborativefusion.com>
"Galantucci Giovanni" <Giovanni.Galantucci@italtel.it> wrote:
>
> No, I perform a single DELETE for about 80000/100000 rows at a time.
>
> Yesterday I tried to raise the parameter default_statistics_target on the file postgresql.conf, setting it to 50 (previously it was set to 10) and everything went ok.
>
> It seems that postgres needs some time to adapt itself to sudden changes in the way I use the DB, maybe to adapt its planner to the new way of use. I think that tuning this parameter could be enough to help postgres update it's planner faster.
>
> Do you think it could be reasonable?
Based on the information you've given and the responses you've made,
I think you're as likely to roll a 1d6 and get the right solution as
anything else.
Good luck.
<...snip...>
LOL ... hit the nail right on the head ...
Greg Williamson
Senior DBA
GlobeXplorer LLC, a DigitalGlobe company
Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information and must be protected in accordance with those provisions. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
(My corporate masters made me say this.)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: Gregory.Williamson@digitalglobe.com, wmoran@collaborativefusion.com, Giovanni.Galantucci@italtel.it
Subject: Re: R: R: DELETE queries slow down
In-Reply-To: <8B319E5A30FF4A48BE7EEAAF609DB233015E2C07@COMAIL01.digitalglobe.com>
References: <20070918121845.19008a51.wmoran@collaborativefusion.com> <AF4EB29748E178458A0067661112724B0FCF78@BESONE.corp.dom> <20070919071451.9ba7f1b4.wmoran@collaborativefusion.com> <8B319E5A30FF4A48BE7EEAAF609DB233015E2C07@COMAIL01.digitalglobe.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox