B
booksnore
Hi,
I have a program which performs some calculations and then updates a
table. I tested my program on a few thousand rows, worked good, no
issues, update worked. When I test on larger data - up into the millions
of rows the calculation part is fine and fairly quick but the table
update is ver, very slow (we're talking hours here). I am using a data
adaptor to update a dataset and so table on SQL Server. The code for the
update is this..
da.Update(ds,tableName);
The table on SQL server is not that wide - about 20 columns with a mix
of int and varchar fields. Does anyone know of specific things I can try
to improve the performance of this step?
I read a blog where it mentioned an option to disable reload of data
after an insert or update (see below) but it does not mention where the
option is - I posted a note to the blog
http://blogs.ittoolbox.com/visualbasic/dotnet/archives/005443.asp
Any help much appreciated - getting desperate here...
Joe
I have a program which performs some calculations and then updates a
table. I tested my program on a few thousand rows, worked good, no
issues, update worked. When I test on larger data - up into the millions
of rows the calculation part is fine and fairly quick but the table
update is ver, very slow (we're talking hours here). I am using a data
adaptor to update a dataset and so table on SQL Server. The code for the
update is this..
da.Update(ds,tableName);
The table on SQL server is not that wide - about 20 columns with a mix
of int and varchar fields. Does anyone know of specific things I can try
to improve the performance of this step?
I read a blog where it mentioned an option to disable reload of data
after an insert or update (see below) but it does not mention where the
option is - I posted a note to the blog
http://blogs.ittoolbox.com/visualbasic/dotnet/archives/005443.asp
Any help much appreciated - getting desperate here...
Joe