purge hash table, how to? - Mailing list pgsql-hackers

From huaxin zhang
Subject purge hash table, how to?
Date
Msg-id f2f5625105090611373dbbce1d@mail.gmail.com
Whole thread Raw
In response to Attention PL authors: want to be listed in template table?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: purge hash table, how to?
List pgsql-hackers
i am using postgresql 8.0.3 as a single user by running "postgres"

I want to purge all contents in the bufferpool, and I did this by
calling "InitBufTable(256)" (buf_table.c)  after each query. However,
this seems not working for each followup query I still get less disk read
(tracked by "smgrread()"  in smgr.c) and increased bufferhitcount.

Could anyone tell me which module shall i modify instead?


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Mysteriously lost values in nodes
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Simple tester for MVCC in PostgreSQL