pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eugeny N Dzhurinsky <bofh@redwerk.com>
To: pgsql-performance@postgresql.org
Subject: managing database with thousands of tables
Date: Wed, 5 Jul 2006 16:07:03 +0300
Message-ID: <20060705130703.GA2428@office.redwerk.com> (raw)

Hello!

I facing some strange problems with PostgreSQL 8.0 performance.
I have application which handles a lot of tasks, each task is keps in separate
table. Those tables are dropped and created again periodically (precisely -
when new task results came back from remote server). Also each table can have
hundreds of thousands records inside (but mostly they do have just few
thousands).

Sometimes I facing performance loss when working with database, and aafter I
performed vacuuming on entire database, i saw some tables and indexes in pg_*
schemas were optimized and hundreds of thousands records were deleted. Could
that be the reason of performance loss, and if so - how can I fix that?

I have pg_autovacuum up and running all the time

pg_autovacuum -d 3 -D -L /dev/null

but it seems pg_autovacuum does not do vacuuming on system tables.

-- 
Eugene Dzhurinsky



view thread (4+ messages)  latest in thread

Message-ID: <20060705130703.GA2428@office.redwerk.com>
Permalink:  ../20060705130703.GA2428@office.redwerk.com/
Also on:    postgresql.org/message-id/20060705130703.GA2428@office.redwerk.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: bofh@redwerk.com
  Subject: Re: managing database with thousands of tables
  In-Reply-To: <20060705130703.GA2428@office.redwerk.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