Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3cms-00041y-LU for pgsql-performance@arkaria.postgresql.org; Tue, 12 Mar 2019 08:29:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h3cmr-00059C-Bh for pgsql-performance@arkaria.postgresql.org; Tue, 12 Mar 2019 08:29:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3cmr-000594-45 for pgsql-performance@lists.postgresql.org; Tue, 12 Mar 2019 08:29:25 +0000 Received: from mx2a.mailbox.org ([2001:67c:2050:104:0:2:25:2] helo=mx2.mailbox.org) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3cmp-00022L-FJ for pgsql-performance@lists.postgresql.org; Tue, 12 Mar 2019 08:29:24 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id D9A7CA1195; Tue, 12 Mar 2019 09:29:20 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id aILJ9DihPbnF; Tue, 12 Mar 2019 09:29:14 +0100 (CET) Message-ID: <56099ac31c7cc1a4e8a51963e2674e7fe592b86f.camel@cybertec.at> Subject: Re: Shared_buffers From: Laurenz Albe To: Daulat Ram , "pgsql-performance@lists.postgresql.org" Date: Tue, 12 Mar 2019 09:29:13 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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