Re: Speed & Memory Management
От | Kris Kiger |
---|---|
Тема | Re: Speed & Memory Management |
Дата | |
Msg-id | 3E8C8AEC.607@musicrebellion.com обсуждение исходный текст |
Ответ на | Re: Speed & Memory Management (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: Speed & Memory Management
|
Список | pgsql-admin |
Under what circumstances does a character not take up a set number of bytes? For example, i was under the impression that utf-8 allocated 6 bytes per character. While the character may not occupy all six bytes, each byte would still be reserved for that character set. Kris >Juan Miguel writes: > > > >>Well ... but ... reading database theory books, you can see that fixed size >>records are "better" than variant size records. >> >> > >Theory and practice are only the same in theory. In practice there is a >difference. > >Anyway, char(30) means 30 characters, not 30 bytes. So it's not a >fixed-size record anyway. Other factors are out-of-line storage and >automatic compression of long values. > > >
В списке pgsql-admin по дате отправления: