pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Victor Yegorov <viy@pirmabanka.lv>
Cc: Postgres SQL <pgsql-sql@postgresql.org>
Subject: Re: vacuum all but system tables
Date: Wed, 19 Mar 2003 15:53:56 +0100
Message-ID: <3E788484.9050604@klaster.net> (raw)
In-Reply-To: <20030319143954.GD14195@pirmabanka.lv>
References: <20030319083846.GB14195@pirmabanka.lv>
	<6527.1048084170@sss.pgh.pa.us>
	<20030319143954.GD14195@pirmabanka.lv>

Użytkownik Victor Yegorov napisał:
> * Tom Lane <tgl@sss.pgh.pa.us> [19.03.2003 16:32]:
> 
>>"Victor Yegorov" <viy@pirmabanka.lv> writes:
>>
>>>I'd like to make a script to automatically vacuum all my DBs nightly. And
>>>I'd like to skip system tables, starting with pg_*.
>>
>>Um ... what in the world makes you think that's a good idea?  System
>>tables need maintenance too.
>>
>>			regards, tom lane
> 
> 
> Yes, of course they need.
> 
> May be I'll put my question in a different manner:
> 
> System tables are location-wide (I mean one set of tables for PostgreSQL
> location) or each database has it's own set of system tables?
> 
> If second, I apologies for noising. If first, I'd like to have a separate
> script for them.

They are location-wide. What's wrong with default vacuuming all 
databases at once nightly? Or maybe you better need to vacuume only 
specific tables?

Regards,
Tomasz Myrta





view thread (8+ messages)  latest in thread

Message-ID: <3E788484.9050604@klaster.net>
Permalink:  ../3E788484.9050604@klaster.net/
Also on:    postgresql.org/message-id/3E788484.9050604@klaster.net

 · 

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-sql@postgresql.org
  Cc: jasiek@klaster.net, viy@pirmabanka.lv
  Subject: Re: vacuum all but system tables
  In-Reply-To: <3E788484.9050604@klaster.net>

* 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