pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anj Adu <fotographs@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Aris Samad-Yahaya <aris@quickschools.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: CREATE TABLE slowing down significantly over time
Date: Mon, 9 Nov 2009 06:46:29 -0800
Message-ID: <f2fd819a0911090646w159e6e4bu309742528554068f@mail.gmail.com> (raw)
In-Reply-To: <603c8f070911081958sbac9712k15f50b80e5419d3c@mail.gmail.com>
References: <008801ca6021$c1cc7630$45656290$@com>
	<18869.1257650960@sss.pgh.pa.us>
	<009601ca6030$0e731440$2b593cc0$@com>
	<603c8f070911081958sbac9712k15f50b80e5419d3c@mail.gmail.com>

Why is reindex needed ?    Unless most of the key values get deleted
frequently..this is not needed. (I am assuming postgres 8.x and above)

On Sun, Nov 8, 2009 at 7:58 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Sat, Nov 7, 2009 at 11:58 PM, Aris Samad-Yahaya
> <aris@quickschools.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
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>



view thread (13+ messages)  latest in thread

Message-ID: <f2fd819a0911090646w159e6e4bu309742528554068f@mail.gmail.com>
Permalink:  ../f2fd819a0911090646w159e6e4bu309742528554068f@mail.gmail.com/
Also on:    postgresql.org/message-id/f2fd819a0911090646w159e6e4bu309742528554068f@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: fotographs@gmail.com, robertmhaas@gmail.com, aris@quickschools.com, tgl@sss.pgh.pa.us
  Subject: Re: CREATE TABLE slowing down significantly over time
  In-Reply-To: <f2fd819a0911090646w159e6e4bu309742528554068f@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox