Re: CREATE TABLE slowing down significantly over time

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Aris Samad-Yahaya <aris(at)quickschools(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-performance(at)postgresql(dot)org
Subject: Re: CREATE TABLE slowing down significantly over time
Date: 2009-11-09 03:58:49
Message-ID: 603c8f070911081958sbac9712k15f50b80e5419d3c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sat, Nov 7, 2009 at 11:58 PM, Aris Samad-Yahaya
<aris(at)quickschools(dot)com> wrote:
> We vacuum analyze nightly, and vacuum normally ad-hoc (but we're going to
> schedule this weekly moving forward).
>
> Interesting pointer about system catalog bloat. I tried to vacuum full the
> system catalog tables (pg_*), and the performance for creating a single
> table manually improved dramatically (back to what it used to be), but as
> soon as I created the next schema, the performance went back down to the
> same level.
>
> So there's a clue there somewhere. Next I will try to vacuum full the entire
> database.

And maybe REINDEX, too.

...Robert

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Grzegorz Jaśkiewicz 2009-11-09 08:40:30 Re: CREATE TABLE slowing down significantly over time
Previous Message Scott Marlowe 2009-11-08 05:30:56 Re: CREATE TABLE slowing down significantly over time