Re: Performance after restart/reboot pre-Analyze - Mailing list pgsql-novice

From Tom Lane
Subject Re: Performance after restart/reboot pre-Analyze
Date
Msg-id 3584163.1711641179@sss.pgh.pa.us
Whole thread Raw
In response to [MASSMAIL]Performance after restart/reboot pre-Analyze  (David Fogarty <dfogarty@icsusa.com>)
List pgsql-novice
David Fogarty <dfogarty@icsusa.com> writes:
> It seems like whenever I restart my database server performance is quite bad until an Analyze has been performed. I
expectthis is due to the query planner needing new stats, but that leads me to three questions: 

A simple restart shouldn't invalidate statistics.  I'd lay some small
change on your actual problem being not that, but the need to
repopulate the server's buffers from disk files.  If so, pg_prewarm
might help you.

            regards, tom lane



pgsql-novice by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Performance after restart/reboot pre-Analyze
Next
From: Alvaro Herrera
Date:
Subject: Re: Performance after restart/reboot pre-Analyze