| From: | Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com> |
|---|---|
| To: | tamanna madaan <tamanna(dot)madan(at)globallogic(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: postgres getting slow under heavy load though autivacuum is enabled |
| Date: | 2009-06-09 14:11:51 |
| Message-ID: | 2f4958ff0906090711n21d91a4ajc293a9475236958b@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, Jun 9, 2009 at 9:37 AM, tamanna
madaan<tamanna(dot)madan(at)globallogic(dot)com> wrote:
> Hi
>
> I am using postgres 8.1.2 with slony 1.1.5 used for replication between two
> nodes. Very high number of db operations like (2.8 million inserts, 1.4
> million update and 4.5 lakhs deletes.) are being done on db in one
> transaction and this is repeated for 5-6 times a day at an interval of let
> say 2 hours. This process is runnning for 5 consective days. It is obeserved
> that db is getting very slow with time. The number of dead tuples getting
> increased in pg_listener, sl_log_1 and sl_seqlog tables with time though I
> have autovacuum enabled and slony related tables like (sl_log_1 , sl_seqlog
> etc) are configured not to be processed by autovacuum . Please let me know
> what could be the reason of increasing dead tuples in these tables and
> postgres getting slow.
increase fsm size, in config.
upgrade to newest release of 8.1.x
The slony tables perhaps should be vacuumed too.
--
GJ
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Merlin Moncure | 2009-06-09 14:12:37 | Re: Can postgresql store its data on raw device now? |
| Previous Message | Jasen Betts | 2009-06-09 12:50:48 | Re: Move PGdata to a different drive |