Skip site navigation (1) Skip section navigation (2)

Re: How to diagnose a *context-switching * storm problem ?

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-bugs-owner(at)postgresql(dot)org>, <pgsql-performance(at)postgresql(dot)org>, RD黄永卫 <yongwei_huang(at)temp(dot)gtmc(dot)com(dot)cn>
Subject: Re: How to diagnose a *context-switching * storm problem ?
Date: 2010-04-12 21:39:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
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)

In response to

pgsql-performance by date

Next:From: Bruce MomjianDate: 2010-04-13 02:49:29
Subject: Re: *** PROBABLY SPAM *** Does the psql executable support a "fetch many" approach when dumping large queries to stdout?
Previous:From: Kevin GrittnerDate: 2010-04-12 21:28:36
Subject: Re: significant slow down with various LIMIT

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group