Re: inserting into brand new database faster than old database - Mailing list pgsql-performance

From Tom Lane
Subject Re: inserting into brand new database faster than old database
Date
Msg-id 2000.1089427924@sss.pgh.pa.us
Whole thread Raw
In response to inserting into brand new database faster than old database  ("Missner, T. R." <T.R.Missner@Level3.com>)
List pgsql-performance
"Missner, T. R." <T.R.Missner@Level3.com> writes:
> ... Each day a brand new set of tables is
> created and eventually the old tables are dropped.

You did not say which PG version you are using (tut tut) but my first
thought is that it's a pre-7.4 release and your problems trace to bloat
in the system-catalog indexes.  The indexes on pg_class and pg_attribute
would be quite likely to suffer serious bloat if you continually create
and drop tables, because the range of useful table OIDs will be
continually shifting.  We didn't fix this until 7.4.

If you are seeing this in 7.4.* then more investigation is needed...

            regards, tom lane

pgsql-performance by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: [JDBC] Cursors performance
Next
From: Mark Kirkwood
Date:
Subject: Re: Cursors performance