Re: Queries sometimes take 1000 times the normal time - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: Queries sometimes take 1000 times the normal time
Date
Msg-id 3F4E1443.7646.12E864@localhost
Whole thread Raw
In response to Re: Queries sometimes take 1000 times the normal time  ("Russell Garrett" <rg@tcslon.com>)
Responses Re: Queries sometimes take 1000 times the normal time
List pgsql-performance
On 28 Aug 2003 at 10:02, Russell Garrett wrote:

> The web site queries will jump up one or two orders of magnitude (I have
> seen a normally 100ms query take in excess of 30 seconds) in duration at
> seemingly random points. It's not always when the transactions are
> committing, and it doesn't seem to be during checkpointing either. The same
> thing happens with WAL switched off. It appears to happen the first time the
> query runs after a while. If I run the same query immediately afterwards, it
> will take the normal amount of time.

Looks like it got flushed out of every type of cache and IO scheduler could not
deliver immediately because of other loads...


Bye
 Shridhar

--
Abstainer, n.:    A weak person who yields to the temptation of denying himself a
pleasure.        -- Ambrose Bierce, "The Devil's Dictionary"


pgsql-performance by date:

Previous
From: "Russell Garrett"
Date:
Subject: Re: Queries sometimes take 1000 times the normal time
Next
From: Ron Johnson
Date:
Subject: Re: The results of my PostgreSQL/filesystem performance