on disk and in memory

From: Jayadevan M <jayadevan(dot)maymala(at)ibsplc(dot)com>
To: "'pgsql-performance(at)postgresql(dot)org'" <pgsql-performance(at)postgresql(dot)org>
Subject: on disk and in memory
Date: 2013-06-25 04:57:08
Message-ID: 3411BBAFF5A2244FA405CC91D9473A60236995B7@PBOX2.ibsplc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,

If a table takes 100 MB while on disk, approximately how much space will it take in RAM/database buffer?
Context - We are designing a database that will hold a couple of GBs of data. We wanted to figure out how much shared_buffers we should provide to ensure that most of the time, all the data will be in memory. This is mostly master data (transactions will go to Casandra), and will be read from, rarely written to. We do need data integrity, transaction management, failover etc - hence PostgreSQL.

Regards,
Jayadevan

DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Albe Laurenz 2013-06-25 07:33:57 Re: on disk and in memory
Previous Message Ben 2013-06-24 23:48:47 Re: incorrect row estimates for primary key join