Re: CREATE TABLE slowing down significantly over time

From: "Aris Samad-Yahaya" <aris(at)quickschools(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: CREATE TABLE slowing down significantly over time
Date: 2009-11-08 04:58:03
Message-ID: 009601ca6030$0e731440$2b593cc0$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Saturday, November 07, 2009 10:29 PM
To: Aris Samad-Yahaya
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] CREATE TABLE slowing down significantly over time

"Aris Samad-Yahaya" <aris(at)quickschools(dot)com> writes:
> I'm facing a problem where running a CREATE TABLE has slowed down
> significantly over time.

System catalog bloat maybe? What are your vacuuming practices?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2009-11-08 05:30:56 Re: CREATE TABLE slowing down significantly over time
Previous Message Aris Samad-Yahaya 2009-11-08 04:55:00 Re: CREATE TABLE slowing down significantly over time