Skip to content

Conversation

@rad-pat
Copy link

@rad-pat rad-pat commented Oct 16, 2025

Dependency free BCP support for fast executemany path, also includes standalone connection BCP part.

Triggers if the use_bcp_fast flag is set in the cursor struct. If BCP is not supported (drivers not installed) it will default to regular fast executemany path.

#Note: Support for SLQDATE and SQLDATETIME types is not optimal, they are handled as SQLCHARACTER and passed like that to the BCP server which then handles the conversion. It is more robust and stable, but slower than a native solution. Additional effort would be required to further increase speed of execution (judging by the benchmark results this is plenty fast, but there is still space for improvement).

Included is also the test used for benchmarking.

image

@rad-pat
Copy link
Author

rad-pat commented Oct 22, 2025

I'm looking into issues here, seems like benchmarking test was set up incorrectly. Looking also into why the bulk insert test is failing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants