developmentalmadness / sqlstream Goto Github PK
View Code? Open in Web Editor NEWThe most performant way to send arrays or bulk-import (streaming) from .NET to Sql Server via Table-Valued Parameters (TVP). For use with Sql 2008 or later.
The most performant way to send arrays or bulk-import (streaming) from .NET to Sql Server via Table-Valued Parameters (TVP). For use with Sql 2008 or later.
The readme is currently too minimal. Include some sample code as well as why anyone would want to use TVPs. Include some stats.
Also, include the fact that the stream is buffered and the actual output to Sql Server is asyncronous and uses lock-free concurrency to share the data between threads.
I don't like the current defaut log4net output when running the test in NUnit. Find out why the configuration in the setup is being ignored.
The example in the test project isn't complete because it doesn't actually connect to Sql Server. Write a script that Defines a UDT and and Stored Procedure that uses it.
The current implementation using queues of buffers/chunks doesn't enforce any memory limits. The ring buffer a la LMAX would prevent running out of memory with large files sending data to a slow/overloaded Sql Server.
Sql Server doesn't start the stored procedure until the stream has completed (IEnumerator.MoveNext() == false). In cases where the full dataset may be too much for Sql Server to process at once. The client would prefer to call ExecuteXXX() each time the buffer flushes instead of buffering to the same stream. This should all work internally w/o any changes to the interface other than adding a new value to the SqlStreamBehavior enum.
NOTES:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.