Seeking for vacuum advise

From: Yogesh Sharma <ysharma(at)catprosystems(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Seeking for vacuum advise
Date: 2008-09-05 04:59:58
Message-ID: 48C0BCCE.4000004@catprosystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

We are using postgres for one of our application. Currently using
Postgres 8.3 with CentOS 5.3 x86_64

We are using inherited tables. Base table has 3 columns:
entry_date timestamp with time zone
name text
value text
pk is timestamp

data tables are derived from this base table with constraint on year
month table_id
days table_id
1-7 1
8-14 2
15-21 3
>= 22 4
data tables are created pre-created before start of month
data_table_<year>_<mm>_<table_id>

No updates or delete will ever occur on data table except during purge
we will dump full table and drop it, inserting ~30 million per day
(every couple second data is loaded using copy statement).

What are the recommendation for vacuum / auto vacuum and statistics
generation ? Does vacuum on postgres catalog tables is enough to
overcome oid rollover or any other measures I have to take ?

Thanks,
YS

Browse pgsql-general by date

  From Date Subject
Next Message Paul Shapley 2008-09-05 06:45:30 Cannot connect to server
Previous Message Devrim GÜNDÜZ 2008-09-05 04:15:04 Re: You need to rebuild PostgreSQL using --with-libxml.