| От | Ron Mayer |
|---|---|
| Тема | Re: Converting MySQL tinyint to PostgreSQL |
| Дата | |
| Msg-id | 42D51C1F.8070506@cheapcomplexdevices.com обсуждение исходный текст |
| Ответ на | Re: Converting MySQL tinyint to PostgreSQL (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: Converting MySQL tinyint to PostgreSQL
|
| Список | pgsql-general |
Martijn van Oosterhout wrote: > > Well, you get another issue, alignment. If you squeeze your string > down, the next field, if it is an int or string, will get padded to a > multiple of 4 negating most of the gains. Like in C structures, there > is padding to optimise access. Anecdotally I hear at least as many people say that their database is more I/O bound than CPU bound; and it seems that adding bytes for alignment is a way of reducing CPU for more disk I/O. I guess unaligned access so expensive that it makes up for the extra i/o?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера