How to find if a SELECT is reading from buffer or disk ?
am 25.05.2010 19:48:34 von Balkrishna Sharma--_c99ae5c5-baa8-46e4-9ba7-b457add1a220_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
I am increasing the shared_buffer size in postgresql.conf and want to measu=
re its effect on READ. In essence I want to know if the SELECT queries I am=
firing repeatedly is reading from the buffer or going directly to the disk=
..
I am expecting the first SELECT to go to disk and the subsequent call of th=
e same SELECT to read from buffer .
Right now I am just looking at execution time of the SELECTs and trying to =
conclude. But there should be a direct way to see where the SELECT reads fr=
om.
How can I accomplish this ?
ThanksBala =20
____________________________________________________________ _____
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with H=
otmail.=20
http://www.windowslive.com/campaign/thenewbusy?tile=3Dmultic alendar&ocid=3D=
PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5=
--_c99ae5c5-baa8-46e4-9ba7-b457add1a220_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
ql.conf and want to measure its effect on READ. In essence I want to know i=
f the SELECT queries I am firing repeatedly is reading from the buffer or g=
oing directly to the disk.
t SELECT to go to disk and the subsequent call of the same SELECT to read f=
rom buffer .
ion time of the SELECTs and trying to conclude. But there should be a direc=
t way to see where the SELECT reads from.
I accomplish this ?
The New Busy think 9 to 5 is a cute idea. Combine mult=
iple calendars with Hotmail. n/thenewbusy?tile=3Dmulticalendar&ocid=3DPID28326::T:WLMTAGL :ON:WL:en-US:WM=
_HMP:042010_5' target=3D'_new'>Get busy.
=
--_c99ae5c5-baa8-46e4-9ba7-b457add1a220_--