Re: query slow only after reboot

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Wei Yan <weiyan1(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: query slow only after reboot
Date: 2009-02-10 01:35:47
Message-ID: 4990D9F3.6020809@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Wei Yan wrote:
> Hi:
>
> Our queries are extremely slow only after db server reboot, not after
> restart postgres db only. The difference is about 10 mins vs. 8 secs.
> Not acceptable. I have browsed around , set the postgres db parameters
> as suggested. Still the same.
>
> Any suggestion on how to tackle the problem?
>
What OS, amount of RAM, DB size...?

If the queries get progressively faster as you use the system then slow
again after a reboot, my initial guess would be that you are getting
more and more disk-cache hits the longer you use the system.

Cheers,
Steve

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Carey 2009-02-10 02:20:56 Re: query slow only after reboot
Previous Message Wei Yan 2009-02-10 01:21:31 query slow only after reboot