Alexander Korobov <akorobov(at)gmail(dot)com> writes:
> We are having strange problem on production system with very slow
> insert/delete commands and huge cpu and disk write activity spikes in
> postgresql 7.2.4.
The first thing you should consider, if you are concerned about
performance, is adopting a less obsolete version of Postgres.
As a stopgap, increasing the checkpoint interval parameters might
help some.
regards, tom lane