RD黄永卫<yongwei_huang(at)temp(dot)gtmc(dot)com(dot)cn> wrote:
> My database server get sluggish suddenly
> [vmstat output showing over 200,000 context switches per second]
> My postgres version: 8.1.3;
Upgrading should help. Later releases are less vulnerable to this.
> Could you please give me some advice ?
A connection pooler can often help. (e.g., pgpool or pgbouncer)
-Kevin