Re: [PERFORM] Memory question on win32 systems - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: [PERFORM] Memory question on win32 systems
Date
Msg-id 20080529143053.GA10943@svana.org
Whole thread Raw
In response to Re: [PERFORM] Memory question on win32 systems  (Justin <justin@emproshunts.com>)
List pgsql-hackers
On Thu, May 29, 2008 at 10:19:46AM -0400, Justin wrote:
> To my understanding Postgresql only caches queries and results in memory
> for that specific connection.  So when that connection is closed those
> cached results are cleared out.    So cached indexs and queries are for
> that connection only.   I hope my understanding is correct.

Incorrect, the shared buffer cache is shared between all running
postgresql processes and between connections. Also the OS cache is
shared between all programs on the system.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

pgsql-hackers by date:

Previous
From: Justin
Date:
Subject: Re: [PERFORM] Memory question on win32 systems
Next
From: "Merlin Moncure"
Date:
Subject: Re: [PERFORM] Memory question on win32 systems