Re: avoiding file system caching of a table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Gabriel E(dot) Sánchez Martínez <gabrielesanchez(at)gmail(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: avoiding file system caching of a table
Date: 2014-02-18 02:17:39
Message-ID: 12020.1392689859@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeff Janes <jeff(dot)janes(at)gmail(dot)com> writes:
> If you told postgresql to tell the kernel not to cache the data it reads,
> how would this help?

I seem to recall also that O_DIRECT disables optimizations we definitely
want, like read-ahead. So it could come out a loser independently of
any what's-in-cache concerns.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gabriel Sánchez Martínez 2014-02-18 03:30:18 Re: avoiding file system caching of a table
Previous Message Tom Lane 2014-02-18 02:14:35 Re: Deleted files still open long after droping a database