From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Vivek Khera <khera(at)kcilink(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: A Question About Insertions -- Performance |
Date: | 2003-09-11 15:54:09 |
Message-ID: | 200309111554.h8BFs9S07650@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Vivek Khera wrote:
> >>>>> "TL" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
> TL> My best guess is that the dropoffs occur because of background checkpoint
> TL> operations, but there's not enough info here to prove it. Four inserts
> TL> per second seems horrendously slow in any case.
>
> I'll concur with this diagnosis. I've been doing a bunch of
> performance testing with various parameter settings, and the
> checkpoint frequency is a big influence. For me, by making the
> checkpoints occur as far apart as possible, the overall speed
> improvement was incredible. Try bumping the number of
> checkpoint_segments in your postgresql.conf file. For my tests I
> compared the default 3 with 50 segments.
>
> Check your logs to see if you are checkpointing too frequently.
That warning message is only in 7.4.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Stark | 2003-09-11 16:24:20 | How to avoid inlining subquery result columns |
Previous Message | Network Administrator | 2003-09-11 15:36:56 | Re: Picture with Postgres and Delphi |