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 19:05:35
Message-ID: 56326DFF.2060105@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/29/2015 11:52 AM, Jim Longwill wrote:
> I have a question about Postgres management. Our situation is
> probably similar to many data shops.
>
> We have one (Linux) server, and one Postgres installation (v9.4),
> hence one Postgres process-daemon set running on the server, but we
> have multiple databases created: ddev1, ddev2, ddev3.
>
> I would like to do a different vacuum configuration on ddev2 than on
> ddev1, such as turning off autovacuum, etc. How do I do this? E.g.
> how do I turn off autovacuum on one database .. using different
> postgres.conf files(?) or within the database, without affecting the
> other database(s) on the same localhost?
>
> Is there a relatively easy way to do this?

alter database dbname set autovacuum = false;

--
john r pierce, recycling bits in santa cruz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dane Foster 2015-10-29 19:10:23 Re: mysql_fdw trouble
Previous Message John R Pierce 2015-10-29 19:01:38 Re: mysql_fdw trouble