pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jason Coene <jcoene@gotfrag.com>
Cc: 'Mr Pink' <mr_pink_is_the_only_pro@yahoo.com>
Cc: 'Scott Kirkwood' <scottakirkwood@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Caching of Queries
Date: Thu, 23 Sep 2004 11:56:31 -0700
Message-ID: <200409231156.31450.josh@agliodbs.com> (raw)
In-Reply-To: <27750.1095960947@sss.pgh.pa.us>
References: <200409231722.i8NHMZaX014707@ms-smtp-02.nyroc.rr.com>
	<27750.1095960947@sss.pgh.pa.us>

Tom,

> I think you are probably looking at the same problem previously reported
> by Josh Berkus among others.  Does the rate of context swaps shown by
> vmstat go through the roof when this happens?  If you strace or ktrace
> one of the backends, do you see lots of semop()s and little else?

That would be interesting.   Previously we've only demonstrated the problem on 
long-running queries, but I suppose it could also affect massive concurrent 
query access.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (72+ messages)  latest in thread

Message-ID: <200409231156.31450.josh@agliodbs.com>
Permalink:  ../200409231156.31450.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200409231156.31450.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, tgl@sss.pgh.pa.us, jcoene@gotfrag.com, mr_pink_is_the_only_pro@yahoo.com, scottakirkwood@gmail.com
  Subject: Re: Caching of Queries
  In-Reply-To: <200409231156.31450.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox