Subject | RE: [firebird-support] RTRIM Overhead |
---|---|
Author | Helen Borrie |
Post date | 2007-10-16T23:03:24Z |
At 01:52 AM 17/10/2007, you wrote:
(But things are likely to get complicated if you throw a UDF with a
CSTRING argument into the mix...)
factors like row size, presence or not of indexes, dependencies,
other connections, etc.) has been noted as a good starting point as
the batching size for bulk inserts. It is not some deterministic
number, nor even "optimal in every case."
I've been wondering whether you spec'ed the input file based on the
belief that string fields were *required* to be null-terminated....?
./heLen
>Helen,On storing them, yes.
>
>I'd appreciate if you would verify whether the following is a correct
>understanding of your last reply.
>
>1. "Autocast" from a CHAR column in an external table to a VARCHAR
>column in an internal table will trim trailing blanks.
>2. "Autocast" does not treat null characters differently than any otherThat's right.
>characters.
(But things are likely to get complicated if you throw a UDF with a
CSTRING argument into the mix...)
>3. It's "optimal" to load about 8,000 rows at a time from an externalNot quite. 8,000 rows *per transaction* (more or less, depending on
>table into an internal table. (The number of columns in the tables I'm
>dealing with vary from 7 to 523 with an average of 52.)
factors like row size, presence or not of indexes, dependencies,
other connections, etc.) has been noted as a good starting point as
the batching size for bulk inserts. It is not some deterministic
number, nor even "optimal in every case."
I've been wondering whether you spec'ed the input file based on the
belief that string fields were *required* to be null-terminated....?
./heLen