Subject | Re: slow inserts with Firebird 1.5.1 |
---|---|
Author | tracegraph |
Post date | 2004-09-29T13:13:13Z |
--- In firebird-support@yahoogroups.com, Tim Ledgerwood <tim@s...>
wrote:
to the server. The fields cannot be CHAR.
wrote:
>that one
> >precautions that a desktop database doesn't care about). I know
> >of thehaven't got a
> >fastest ways to do imports is to create an external file, but I
> >clue how to do that.regular
>
>
> I import 65k records in 13 seconds using an external file. On a
> basis - it's the average size of the weekly stolen card data fileour
> clients get from the bank.file.
>
> 1. Make sure that the external file access is enabled in the config
>external
> 2. Make sure that the external file is fixed length fields.
>
> 3. Create a table with all of the fields that will be in your
> table. Make sure that ALL field types are "CHAR". (It just makeseverything
> easier ...)EOL
>
> 4. Make sure to create a column for the EOL markers AS WELL. The
> markers depend on your OS. On windows, it is the CRLF pair - 2chars.
>(which I
> 5. Open the file using SQL ... I dump the records from the table
> call an import table) into a more permamanent table.I cannot do this because it has to be done remotely. I have no access
>
> the same process used to take me 2 hours using Paradox ...
>
> The entire procedure is WELL documented in the IB 6 docs\
>
> Regards
>
> Tim
to the server. The fields cannot be CHAR.