| От | The Hermit Hacker |
|---|---|
| Тема | Re: [HACKERS] include/config.h FOLLOWUP |
| Дата | |
| Msg-id | 748121cf1c60ff125e7f9887a17a5eaf обсуждение исходный текст |
| Список | pgsql-hackers |
On Sat, 3 Jan 1998, Bruce Momjian wrote:
> I believe it is 8k to match the base size for the filesystem block size,
> for performance.
Hrmmm...how does one find out what the file system block size is? I know
there is an option to newfs for changing this, and at least under FreeBSD, the
default is set to:
sys/param.h:#define DFLTBSIZE 4096
So maybe a multiple of block size should be considered more appropriate?
Maybe have it so that you can stipulate # of blocks that equal max tuple size?
Then, if I wanted, I could format a drive with a block size of 16k that is only
going to be used for databases, and have a tuple size up to that level?
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
------------------------------
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера