J
Jason
Hi,
I have an access database with around 500k records.
I have C++.Net code that does the normal ado.net thing:
1) open connection
2) attach adapter with sql select statement
3) fill dataset
4) loop through all rows in dataset, modify each row as desired
5) fill in the update sql statement in adapter: "Update table_name
set col = ? Where ..."
6) call adapter.update
It took more than 2 hours to finish, yes, more than 2 hours.
My program spent almost all of the time in the adapter.Update()
function call.
My questions are:
1) Is there a work around this problem?
2) If this is a known problem, is Microsoft working on a solution? Or
is Microsoft leaving it as it is?
2) does the same performance problem exist between ADO.NET and all
other database as well?
Thanks in advance for your help.
I have an access database with around 500k records.
I have C++.Net code that does the normal ado.net thing:
1) open connection
2) attach adapter with sql select statement
3) fill dataset
4) loop through all rows in dataset, modify each row as desired
5) fill in the update sql statement in adapter: "Update table_name
set col = ? Where ..."
6) call adapter.update
It took more than 2 hours to finish, yes, more than 2 hours.
My program spent almost all of the time in the adapter.Update()
function call.
My questions are:
1) Is there a work around this problem?
2) If this is a known problem, is Microsoft working on a solution? Or
is Microsoft leaving it as it is?
2) does the same performance problem exist between ADO.NET and all
other database as well?
Thanks in advance for your help.