what is the smallest working page size for postgresql - Mailing list pgsql-hackers

From Hannu Krosing
Subject what is the smallest working page size for postgresql
Date
Msg-id 1135294098.3566.8.camel@localhost.localdomain
Whole thread Raw
List pgsql-hackers
Hi

Could anybody tell me what is the smallest working page size for
postgresql ?

I have a table where access is highly random over huge table getting
usually only one small tuple from each page. One way to get more
performance could be using smaller page size, so the per-tuple read
overhead would be smaller. 

Would 4k pages work ? what about 2k and 1k ? 512bytes ?

What would it take, to make only heap pages small and keep index pages
larger ? Probably at least per-tablespace or per-pagesize split shared
buffer space and changes in caching algorithms ?

Has anyone tested if 8k is big enough to trigger (in my case
unneccesary) read-ahead on disks/controllers/devices/filesystem ?

---------------
Hannu




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PL/pgSQL proposal: using list of scalars in assign stmts, fore and fors stmts
Next
From: Hannu Krosing
Date:
Subject: Re: Oracle PL/SQL Anonymous block equivalent in postgres