Re: Slow in morning hours

From: Harald Fuchs <hf517(at)protecting(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow in morning hours
Date: 2004-06-05 20:54:31
Message-ID: pusmd9lo8o.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

In article <40361DBE(dot)3636(dot)10FEBF(at)localhost>,
<vathakar(at)banas(dot)guj(dot)nic(dot)in> writes:

> Hi All,
> I am using Linux 7.2 and postgresql 7.2.

> Our Office hours are over at 6pm but we use to keep our server
> running 24 hours a day. On the second day morning, Our PGSQL
> Server becomes very slow.

> After continuous usage of one hour, It gradually starts responding
> faster ! This has become every day routine !

> do u have any idea related to this !!!! Is there any other reason that I
> need to check up?

> Please any any idea to get relief daily morning problem !!

I guess you're doing a VACUUM at night which invalidates the buffer
cache. If that's what happens, it's easy to fix: run some dummy
queries after the VACUUM which cause the buffer cache to get filled.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Laurent Martelli 2004-06-06 11:08:43 Query involving views
Previous Message Steve Wampler 2004-06-05 20:12:29 Using a COPY...FROM through JDBC?