Find Jobs
Hire Freelancers

High Speed Efficient Data Upload (ASP.NET/SQL DATA)

$30-250 USD

Completed
Posted about 10 years ago

$30-250 USD

Paid on delivery
This project is to: Load data from a custom delimited text file into SQL Server as FAST AS POSSIBLE. Code already exists, and works that does the following: a) Upload from client to webserver b) Read the text file into dataset(s) on the webserver. --------------------------------------------------------------------------------- The required work: We require code to transfer data from the dataset(s) into SQL Server. The SQL Server is not on the webserver, it is a separate machine/location. The current code for this is too slow. The data being imported may result in an INSERT if it is new data, or an UPDATE if it sound to already exist. Consequently, the code must first search & check for an existing record. If found, UPDATE, if not then insert. Data is hierarchical, with parent, child and sub-child tables. Check for existing data, finding parent keys etc must be done for all tables so as to retain referential integrities between all the tables involved. We envisage the use of bulkcopy or similar code. The use of a GENERIC stored procedure, including triggers, cascading updates etc. would be considered. Please provide a reasonably detailed technical idea of how you would achieve this, timescale and costs. This is required so that we can assess your technical competency. We would consider milestone payments.
Project ID: 5807025

About the project

19 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, This can be achieved by using OPENXML in SQL Server to import data. Application will pass all data in form of XML to SQL Stored Procedure. Stored Procedure will parse that data in populates in a temporary table. After populating INSERT/UPDATE will be performed using joins with permanent tables. I have 8.5 years experience in SQL Server 2005|2008|2008R2|2012 and involve in designing databases, Indexing Strategies, table partitioning, writing Stored Procedures, Triggers, functions and views. I have expertise in writing complex queries with proper joins and index selection. In past, i involved in balancing between concurrency and locking and lock escalation. Thanks
$277 USD in 10 days
4.8 (24 reviews)
5.8
5.8
19 freelancers are bidding on average $220 USD for this job
User Avatar
By bulk copy, do you mean the BCP utility? I can code both methods, BCP and BULK INSERT so we can compare which is faster. There is however another method. Using the SQL Server Integration Utility.
$242 USD in 10 days
5.0 (12 reviews)
5.0
5.0
User Avatar
Hello, I am very much interested to do this work as i am experienced a lot with asp.net. I also did similar work before. Your requirements could be done in several ways as you also mentioned. I will prefer BulkInsert as it is most faster, but in that case field mapping is very important. I will consider another thing, if you have a primary key column, to check each data existence in the database, i will load the DB's existing primary key value in memory, then to check each record, i will do it in memory rather than going to database for each record, this will effect less time consuming. Anyway, looking forward to have a positive response from you. Thanks
$200 USD in 7 days
5.0 (51 reviews)
4.8
4.8
User Avatar
Dear Sir, If you are trying to batch update / insert bulk of data to remote SQL Server; it is not an efficient solution to update records either in batch or record by record. I suggest if you do not have SQL Server on web server, then install IIS on SQL Server if not installed already, then create an FTP site, now upload file using your UI directly to FTP site at specific location and execute a stored procedure to load bulk data. As you require if record exists then update else insert; for this purpose we normally uses change tracking feature or sync framwork; but as we are trying to compare existing records with file, so I need to determine best and efficient solution for you after reviewing your data and technical scenario. Looking forward to hearing from you! Regards, Habib ur Rehman PMP, MCSE - BI MCSA - SQL Server MCSD - Web Applications
$285 USD in 8 days
5.0 (23 reviews)
4.8
4.8
User Avatar
hi i have a sound knowledge of development and have 7 years of experience tell me when we can discuss about the same
$222 USD in 3 days
4.8 (7 reviews)
4.2
4.2
User Avatar
Hi, I have gone through your description.I have understood your requirement and I can do this job confidently. Please let me know if you have any concern.
$210 USD in 5 days
5.0 (4 reviews)
2.9
2.9
User Avatar
Good morning, I'm experienced SQL Server developer and I have a huge background working with integration solutions, ETL and BI systems. You can check my linkedin profile to review my competency. (in/viniciusdavila) We can do that data import with a few techniques, and it's necessary to understand your environment before. 1* We can build a integration package (not so good and complicated to maintain) 2* We can use bulk insert (better performance but limited) 3* We can create C# SQL CLR Procedures and deploy at your database (amazing performance) With SQL CLR we can do many workarounds to increase your performance, like: 1* Upload a zip package to your database 2* Unpack the zip before the imports 3* Insert in your tables with parallel processing over threads. I will study your needs and provide the best solution. I'm eager to get a answer from you, if you have any questions don't hesitate to ask.
$222 USD in 3 days
5.0 (3 reviews)
2.1
2.1
User Avatar
i can do you it. i have a experience in visual basic. you can assign this to me. i am doing in visual basic since more than a year and have a good command on it.
$277 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
We can use EF 6.1.0 to make it fast and also we can use TPL , if in case it can be applied, so that can have faster thread performance. Thanks.
$222 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Dear Sir/Madam, My name is Andriy Bilan and I’m a software developer with more than 10 years of experience in IT. Last 6 years I work with C#/.NET (+ tools/technologies around it) and Databases (mainly SQL Server) I’m very interested in project you published and I’d like to offer my services to you. You asked about technical description of my approach for your project. I would like to see your DB structure and clarify couple things, but here is my initial plan: 1. Use bulk insert to transfer all data from machine with webserver to the machine with SQL Server. All data will be inserted into TEMP TABLES(S); 2. For update: update PersistentTableWithData set ... from PersistentTableWithData inner join TempTableWithData on ... 3. Similar approach for insert. As you see, data will be transferred only once - for bulk insert, all other operations (including search & check for an existing record) will be executed on the SQL Server machine side by SQL Server engine itself. I expect this approach should be fast enough to meet your needs. Timeframe for this project is 7 days. And I have one questions: will you be able to send me backup of your DB (possibly empty or with demo data) so that I will be able to work on this project on my computer? Please, contact me if you think I'm the right person for this project or in case any questions. Thank You, Andriy Bilan.
$200 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Uploading Data from Excel Methodology: -Use ADO framework and reference library -Take connection string of server, password and username -Establish ADO connection with server -Execute SQL Queries (like INSERT) through VBA connection query execute command -Optimize insertion algorithm (this depends on data structure. I upload rows one by one which gets updated as records in SQL database. Tried uploading Data blocks of excel but found very tedious on SQL query side. So will stick to one by one row upload) -If any, conditions need to be created, example if data already exists and needs to be checked for duplicacy or any such criteria, then will have to use Recordset function of ADO to fetch SQL query results into VBA This is what I can do, if this fits your need. Please get in touch. Thanks.
$166 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Purpose:- Load data from a delimited text file into SQL Server as FAST AS POSSIBLE. Present Scenario:- Code already exists, and works that does the following: a) Upload from client to webserver b) Read the text file into dataset(s) on the webserver. Problem Statement:- The current code for this is too slow. Proposed Solution:- The project will be carried out mostly on the DataBase server side using a better option/feature in SQL Server called “SQL Merge” where the data manipulation is faster than bulk activities as it allows us to perform all the update activities in one pass of the DataBase table(s). The data will be passed to the DB side using a Stored proc parameter of type - table. However knowledge of the table relations is of utmost importance to keep the referential integrity. I plan to put constraints on the child tables with foreign key relationships with cascading update and delete statements so that the related data also gets deleted when the related row is deleted from the parent table. Assumptions:- 1) The rest of the application is built in .NET 2) DataBase table knowledge / references and relationship will be provided so that the same can be maintained while the update is being done. Timeline (Days) :- 1-2: Understanding the environment and work already done. 3: Design, prototyping. 4-5: Development of the system based on the prototype 6: Overall integration 7-8: Testing, revision and integration testing 9-10: Documentation
$194 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Scarborough, United Kingdom
4.9
21
Payment method verified
Member since Jun 8, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.