pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Performance hit if I create multiple DBs on same instance
Date: Tue, 24 Nov 2020 11:34:42 -0600
Message-ID: <81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com> (raw)
In-Reply-To: <CAMBRECBzwQ+7FhuO61Zd2dQRxcXFpijdR2=eyfNPfUpO4K6XaQ@mail.gmail.com>
References: <CAMBRECBzwQ+7FhuO61Zd2dQRxcXFpijdR2=eyfNPfUpO4K6XaQ@mail.gmail.com>

On 11/24/20 8:36 AM, David Gauthier wrote:
> Hi:
>
> 11.3 on linux
>
> I've come up with a plan to archive data from my main DB which involves 
> creating other DBs on the same server.  But even though there will be zero 
> activity on the archive DBs in terms of insert/update/delete, and almost 
> no activity in terms of select, I'm still worried that the mere existence 
> of these other DBs will steal resources away from the instance and degrade 
> performance in my main DB.

*Why?*  If the data is just sitting there like a dead lump, it's not using 
any RAM or CPU cycles... And if you're afraid of autovacuum and autoanalyze 
stealing resources, then disable them (at the table level).

-- 
Angular momentum makes the world go 'round.

view thread (10+ messages)  latest in thread

Message-ID: <81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com>
Permalink:  ../81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com/
Also on:    postgresql.org/message-id/81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: Performance hit if I create multiple DBs on same instance
  In-Reply-To: <81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com>
  References: <CAMBRECBzwQ+7FhuO61Zd2dQRxcXFpijdR2=eyfNPfUpO4K6XaQ@mail.gmail.com> <81211276-b0d3-305b-6fcb-4682af73b5f4@gmail.com>

* 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