Re: Configure Different Databases on One Server

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Configure Different Databases on One Server
Date: 2015-10-29 22:01:33
Message-ID: n0u501$15q$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jim Longwill schrieb am 29.10.2015 um 22:43:
> 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'.

If the tables don't change, then autovacuum won't do anything.

So no harm in keeping it enabled - plus this smells like premature optimization.
I would not touch this unless you _really_ see a performance problem
that is cause by autovacuum on that database.

I can't imagine any situation that would justify turning autovacuum off.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Schwarzenbach 2015-10-29 22:29:15 Re: Domain check constraint not honored?
Previous Message Martijn van Oosterhout 2015-10-29 21:57:27 Re: Better way to process boolean query result in shell-like situations?