Re: Speed & Memory Management - Mailing list pgsql-admin

From Kris Kiger
Subject Re: Speed & Memory Management
Date
Msg-id 3E8C8AEC.607@musicrebellion.com
Whole thread Raw
In response to Re: Speed & Memory Management  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Speed & Memory Management
List 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 by date:

Previous
From: Robert Treat
Date:
Subject: Re: Vacuumdb
Next
From: Robert Treat
Date:
Subject: Re: Speed & Memory Management