Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: [PERFORM] Memory question on win32 systems


  • From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
  • To: Justin <justin(at)emproshunts(dot)com>
  • Cc: Sabbiolina <sabbiolina(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: [PERFORM] Memory question on win32 systems
  • Date: Thu, 29 May 2008 16:30:53 +0200
  • Message-id: <20080529143053(dot)GA10943(at)svana(dot)org>

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(at)svana(dot)org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while 
> boarding. Thank you for flying nlogn airlines.

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group