Re: Autovacuum working / not working ?

From: "Machiel Richards" <machielr(at)rdc(dot)co(dot)za>
To: "'Shoaib Mir'" <shoaibmir(at)gmail(dot)com>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Autovacuum working / not working ?
Date: 2010-05-05 05:45:12
Message-ID: 003b01caec16$238c3fb0$6aa4bf10$@co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I am connected to the default db (postgres).

Does this need to be run on a per database basis?

Reason for asking is because the client have a total of about 120 databases
running at present , does this then need to be run on each database?

They for instance have one server with postgresql installed and running but
may have up to 24 databases created (one for each client).

Ps... a consolidation process still underway to consolidate to one server
and db with schemas for each client, however this will still take quite some
time to implement and in the meantime we need to monitor these databases.

From: Shoaib Mir [mailto:shoaibmir(at)gmail(dot)com]
Sent: 05 May 2010 7:38 AM
To: Machiel Richards
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] Autovacuum working / not working ?

On Wed, May 5, 2010 at 3:28 PM, Machiel Richards <machielr(at)rdc(dot)co(dot)za> wrote:

Hi All

postgres-# where schemaname = 'public';

relname | last_vacuum | last_analyze | last_autovacuum | last_autoanalyze

---------+-------------+--------------+-----------------+------------------

(0 rows)

Hmmm... looks like you don't have any tables in the public schema, is that
true?

Or it might be you are connected to 'postgres' (default) DB and not the
correct one.

--
Shoaib Mir
http://shoaibmir.wordpress.com/

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Shoaib Mir 2010-05-05 05:51:06 Re: Autovacuum working / not working ?
Previous Message Shoaib Mir 2010-05-05 05:38:29 Re: Autovacuum working / not working ?