Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 1478A2E401D for ; Tue, 8 Jan 2008 20:09:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 42927-09 for ; Tue, 8 Jan 2008 20:09:02 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id C3A3D2E40B5 for ; Tue, 8 Jan 2008 20:06:00 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id m0905tV1022397; Tue, 8 Jan 2008 19:05:55 -0500 (EST) To: "Guillaume Pungeot" cc: pgsql-performance@postgresql.org Subject: Re: Loss of cache when persistent connexion is closed In-reply-to: <95c13b360801080735y181e4f5fs75c0741603f6021c@mail.gmail.com> References: <95c13b360801080735y181e4f5fs75c0741603f6021c@mail.gmail.com> Comments: In-reply-to "Guillaume Pungeot" message dated "Tue, 08 Jan 2008 16:35:56 +0100" Date: Tue, 08 Jan 2008 19:05:55 -0500 Message-ID: <22396.1199837155@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/28 X-Sequence-Number: 28267 "Guillaume Pungeot" writes: > I assume that each postgresql process manage its own cache but that there is > no global cache. Am I right ? No, you aren't. Are you sure you're not shutting down the postmaster? Just exiting individual sessions shouldn't result in anything getting discarded from shared buffers. regards, tom lane