Re: NDirectFileRead and Write - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: NDirectFileRead and Write
Date
Msg-id 48CF7863.5080903@enterprisedb.com
Whole thread Raw
In response to Re: NDirectFileRead and Write  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
>> BTW, we have the word 'Direct' in ShowBufferUsage().
>> Can I keep it as-is?
> 
>> ShowBufferUsage()
>> !   Shared blocks: ...
>> !   Local  blocks: ...
>> !   Direct blocks: <R> read, <W> written
> 
> Good point.  Seems like it should be changed, but I am not sure to what.
> Ideas anyone?

How about "Temp blocks"? It might be slightly confusing that access to 
temporary tables shows up in "Local blocks", rather than "Temp blocks", 
though. But then again, temp_tablespaces already controls where the 
files are created, among other things, so there's some precedence to 
calling those things "temp".

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: rmgr hooks and contrib/rmgr_hook
Next
From: Russell Smith
Date:
Subject: Re: no XLOG during COPY?