what is the smallest working page size for postgresql

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема what is the smallest working page size for postgresql
Дата
Msg-id 1135294098.3566.8.camel@localhost.localdomain
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PL/pgSQL proposal: using list of scalars in assign stmts, fore and fors stmts
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Oracle PL/SQL Anonymous block equivalent in postgres