| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Weber, Geoffrey M(dot)" <Geoffrey(dot)Weber(at)mcleodusa(dot)com> |
| Cc: | "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Continual Postgres headaches... |
| Date: | 2007-12-07 01:00:56 |
| Message-ID: | 5275.1196989256@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
"Weber, Geoffrey M." <Geoffrey(dot)Weber(at)mcleodusa(dot)com> writes:
> My problems really are with performance consistency. I have tweaked the
> execution so that everything should run with sub-second execution times, but
> even after everything is running well, I can get at most a week or two of
> steady running before things start to degrade.
Aside from the other responses: gradual degradation over a period of
time sounds like a bloat problem to me. You should monitor table and
index sizes to confirm or deny that and find out just what's bloating.
Switching to autovacuum, or a better-designed manual vacuum schedule,
might be the ultimate answer, but first you need some concrete data
about what's going wrong. Otherwise you're just shooting in the dark.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ow Mun Heng | 2007-12-07 03:44:24 | Q: using generate_series to fill in the blanks |
| Previous Message | Charles.Hou | 2007-12-07 00:55:56 | Re: autovacuum is stopping automatically.... |