StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



SQLBulkCopy and ESExpand / Collapse
Author
Message
Posted 10/24/2009 2:53:49 AM
StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 06/09/2010 1:43:54 PM
Posts: 62, Visits: 531
Can SQLBulkCopy be implemented with ES? Something tells me I can't because of a connection string issue. But if it is possible, how?

I'm looking for a way to speed up bulk insert in a table in server database (2000 + records)

Thanks as always,

Marcel

Post #24983
Posted 10/24/2009 8:03:38 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 07/06/2010 6:04:33 PM
Posts: 6,275, Visits: 6,165
Well, technically no. The ES connection (EsDataSourceItem) connections you to the ES server which in turn connects to the SQL Server. EVen if you could, you would not necessarily want to do this as you are looking to consume a lot of bandwidth. SqlBulkCopy is generally for use when you are trying to update a database/table with a lot of records for initial or static use (or synchronizations). In other words, a massive number of records for whatever the intent may be. There are some options, dependign on how your ES server is deployed and implemented.

One idea, in this case, would be to add another web server that accepts a ZIP file (or whatever) that has the XML file contents within it. The web service would then do the SqlBlukCopy. This would be pretty fast since you would only be copying up a single file at that point, then the web service would dump all of the records into the table.
Post #24984
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dustin Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 11:26am

Powered by InstantForum.NET v4.1.4 © 2010
Execution: 0.047. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.