EMAIL REMOVED wrote:
> Hi all,
> I'm designing a database for use in a program, and I am worried about
> the size ramifications. Basically, I'd like to store text in one of the
> database columns; this text will typically be ~a few thousand bytes,
> but could conceivably be a few million. If I was to declare the type of
> this column as MEDIUM TEXT, this would be big enough to allow for all
> sizes of character strings.
> However, if I only have a few entries at first that are a few thousand
> characters, would the unused space in the cell be padded out to fill it
> up to MEDIUM TEXT size? And would it do this if I had 2 records of a
> thousand characters, and one of size MEDIUM TEXT?
>
> TIA
>
> Paul
>
Paul,
The data will take only as much space as is required.
The only problem you can run into is when you update a row with new text
which is larger. In that case the old row will be marked invalid and a
new row written. So when the table starts taking up too much space you
will want to compress it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
EMAIL REMOVED
==================