Re: Configure Different Databases on One Server

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Configure Different Databases on One Server
Date: 2015-10-29 21:55:59
Message-ID: 563295EF.2070705@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/29/2015 2:43 PM, Jim Longwill wrote:
> Ok. The reason I wanted to experiment with autovacuum disable for
> 'ddev2' database is that it is a mostly read-only database -- to
> support querying from our web apps. I.e. there are only 1 or 2 small
> tables ever updated all day on it, and only about 20 or so records
> total per day (compared to 'ddev1' which has much more frequent
> activity). Also, it's rebuilt periodically from the other db, so I
> had the idea that we didn't need autovacuum running for 'ddev2'.
>
> However, given that it is connected to the Postgres processes
> (launcher) and I can't turn it off per database, it may not be worth
> the trouble to configure this. I plan to experiment with other
> parameters as well, but this is not critical at this time.

autovacuum of tables that have already been vacuumed and have no changes
is essentially a no-op, it checks some stats and moves on to another table.

--
john r pierce, recycling bits in santa cruz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2015-10-29 21:57:27 Re: Better way to process boolean query result in shell-like situations?
Previous Message Jim Longwill 2015-10-29 21:43:29 Re: Configure Different Databases on One Server