pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Daulat Ram <Daulat.Ram@exponential.com>
To: pgsql-performance@lists.postgresql.org <pgsql-performance@lists.postgresql.org>
Subject: Re: Shared_buffers
Date: Tue, 12 Mar 2019 09:29:13 +0100
Message-ID: <56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at> (raw)
In-Reply-To: <BL0PR01MB51871A89E9255FFCD13CC3839B480@BL0PR01MB5187.prod.exchangelabs.com>
References: <BL0PR01MB51871A89E9255FFCD13CC3839B480@BL0PR01MB5187.prod.exchangelabs.com>

Daulat Ram wrote:
> I want to know about the working and importance of shared_buffers  in Postgresql?
> is it similar to the oracle database buffer cache?

Yes, exactly.

The main difference is that PostgreSQL uses buffered I/O, while Oracle usually
uses direct I/O.

Usually you start with shared_buffers being the minimum of a quarter of the
available RAM and 8 GB.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





view thread (16+ messages)  latest in thread

Message-ID: <56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at>
Permalink:  ../56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at/
Also on:    postgresql.org/message-id/56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: laurenz.albe@cybertec.at, Daulat.Ram@exponential.com, pgsql-performance@lists.postgresql.org
  Subject: Re: Shared_buffers
  In-Reply-To: <56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at>

* 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