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

Re: Caching of Queries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jason Coene" <jcoene(at)gotfrag(dot)com>
Cc: "'Mr Pink'" <mr_pink_is_the_only_pro(at)yahoo(dot)com>,"'Scott Kirkwood'" <scottakirkwood(at)gmail(dot)com>,pgsql-performance(at)postgresql(dot)org
Subject: Re: Caching of Queries
Date: 2004-09-23 17:05:32
Message-ID: 27437.1095959132@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
"Jason Coene" <jcoene(at)gotfrag(dot)com> writes:
> All of our "postgres" processes end up in the "semwai" state - seemingly
> waiting on other queries to complete.  If the system isn't taxed in CPU or
> disk, I have a good feeling that this may be the cause.

Whatever that is, I'll bet lunch that it's got 0 to do with caching
query plans.  Can you get stack tracebacks from some of the stuck
processes?  What do they show in "ps"?

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Gaetano MendolaDate: 2004-09-23 17:12:16
Subject: Re: Caching of Queries
Previous:From: Jason CoeneDate: 2004-09-23 16:53:25
Subject: Re: Caching of Queries

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