Re: Speed & Memory Management

From: Kris Kiger <kris(at)musicrebellion(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Juan Miguel <juanmime(at)ono(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Speed & Memory Management
Date: 2003-04-03 19:26:36
Message-ID: 3E8C8AEC.607@musicrebellion.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.
>
>
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Robert Treat 2003-04-03 19:47:49 Re: Speed & Memory Management
Previous Message Robert Treat 2003-04-03 19:22:40 Re: Vacuumdb