Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?
Date: 2014-02-16 02:44:14
Message-ID: 530025FE.3020500@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2/15/2014 4:30 PM, Antman, Jason (CMG-Atlanta) wrote:
> My current postgres instances for testing have 16GB shared_buffers (and
> 5MB work_mem, 24GB effective_cache_size). So if, hypothetically (to give
> a mathematically simple example), I have a host machine with 100GB RAM,
> I can't run 10 postgres instances with those settings, right? I'd still
> need to provide for the memory needs of each postgres server/instance
> separately?

does 16GB shared_buffers really give that much better performance than 2
or 4 GB for your application, under a development workload?

effective_cache_size is not an allocation, its just an estimate of how
much system cache is likely to contain recently accessed postgres data,
the planner uses it guess the cost of 'disk' accesses.

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James Harper 2014-02-16 08:12:15 typmod for custom type
Previous Message Antman, Jason (CMG-Atlanta) 2014-02-16 00:30:04 Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?