Skip to content

FbBulkCopy class for faster import [DNET1041] #952

@firebird-automations

Description

@firebird-automations

Submitted by: Baldur Fürchau (bfuerchau)

Attachments:
FbBulkCopy.cs

I have developed a class FbBulkCopy, similar the SqlBulkCopy. I can't reach the speed of SQL-Server, but with less columns and small records the speed is good.

I create an execute block (p1...pn) with many insert into table (:p1...:pn); end;

Restrictions are: The size of parameters must be within recordsize 64K, the size of block must be less 64k.
But, for example, an insert with 8 columns speeds up from 8000 to 22.500.

Where can i send/upload my class, so you can check this if it can be used for Firebird client?
Some fieldtypes must be added.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions