Re: Insertion to temp table deteriorating over time - Mailing list pgsql-performance

From Tom Lane
Subject Re: Insertion to temp table deteriorating over time
Date
Msg-id 13032.1166052447@sss.pgh.pa.us
Whole thread Raw
In response to Re: Insertion to temp table deteriorating over time  ("Steven Flatt" <steven.flatt@gmail.com>)
Responses Re: Insertion to temp table deteriorating over time
List pgsql-performance
"Steven Flatt" <steven.flatt@gmail.com> writes:
> Having said that, what kinds of things should I be looking for that could
> deteriorate/bloat over time?  Ordinarily the culprit might be infrequent
> vacuuming or analyzing, but that wouldn't be corrected by a restart of
> Postgres.  In our case, restarting Postgres gives us a huge performance
> improvement (for a short while, anyways).

Do you actually need to restart the postmaster, or is just starting a
fresh session (fresh backend) sufficient?  And again, have you monitored
the backend process to see if it's bloating memory-wise or open-file-wise?

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange query behavior
Next
From: Tom Lane
Date:
Subject: Re: Insertion to temp table deteriorating over time