Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have written an client application that runs on mysql that downloads its data through a web service from ms sql 2000. My web service passes the data in a dataset.

 

The problem i am having is speed. deleting the old data out of mysql and inserting the new(rewrites the old data with the updated data not all data in the tables are updated). thousends of records are sent down to the client application. I have tried using normal datasets. Much to slow. I have tried generating the deletes and insert statments. which is a lot faster . but still to slow. How can improve peformance in the deletetion and insertion.

 

So basicly i am loopimg through the rows and columns and generating the delete and insert statement. the looping is quick. its the sql statement that takes a long time to execute. The tables are indexed.

Programmers are trying to create bigger and beter idiot proof programs.The universe is trying to create bigger and beter idiots and so far the universe is winning.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...