Subject | Re: [firebird-support] What are the trade-offs of CHAR vs. VARCHAR? |
---|---|
Author | Ann Harrison |
Post date | 2019-11-13T16:17:15Z |
> On Nov 13, 2019, at 10:01 AM, Dimitry Sibiryakov sd@... [firebird-support] <firebird-support@yahoogroups.com> wrote:In memory, yes. But the entire record will be compressed before being written to disk.
>
> 13.11.2019 15:51, blackfalconsoftware@... [firebird-support] wrote:
>> However, internally, the CHAR field definition is more efficient as the database does not
>> have to perform any field size calculations at the moment that data is being updated to a
>> VARCHAR field.
>
> No such calculations is performed in Firebird. Both CHAR and VARCHAR are always stored
> with full declared length.
>
Good luck,
Ann
>
>
> ------------------------------------
>
> ------------------------------------
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebirdsql.org and click the Documentation item
> on the main (top) menu. Try FAQ and other links from the left-side menu there.
>
> Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> ------------------------------------
>
> Yahoo Groups Links
>
>
>