From: | Rakesh Kumar <dcruncher4(at)aim(dot)com> |
---|---|
To: | |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Multiple databases and shared_buffers |
Date: | 2016-02-18 20:02:50 |
Message-ID: | 152f5fa5976-598c-b502@webprd-m28.mail.aol.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
What do you mean that the data is actually not stored in the shared buffer.
From the link you provided :
"The “shared_buffers” configuration parameter determines how much memory
is dedicated to PostgreSQL to use for caching data."
This seems to be the same like other RDBMS. Typically the terminology used is Buffer Pool.
BP is used to cache the changes done to a page and the page cleaning
process periodically flushes the dirty pages to disk.
Checkpoints typically gurantees that at a given time a page in cache is same as on the disk and is usually
used as the start time for roll forward recovery.
Does PG follow a different architecture ?
-----Original Message-----
From: Melvin Davidson <melvin6925(at)gmail(dot)com>
NOTE: It is very important you provide the version of PostgreSQL and O/S when addressing this mail list. That is so others searching the archives in the future
can determine it's pertenance.
That being said, It looks to me like you have a misunderstanding about how PostgreSQL uses shared_buffers. Data is not actually stored in the shared_buffers.
Please refer to the following url which explains it's usage.
http://leopard.in.ua/2013/09/05/postgresql-sessting-shared-memory
--
Melvin Davidson
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
From | Date | Subject | |
---|---|---|---|
Next Message | Rakesh Kumar | 2016-02-18 20:04:07 | Re: Multiple databases and shared_buffers |
Previous Message | Tom Smith | 2016-02-18 18:37:37 | Re: BRIN Usage |