SteveDingle
Programmer
Heya All,
A while back my client came to me saying the current process of 'migrating' about 250,000 records from a coupla of VFP table to SQL Server 2K was taking too long. Current between 30-40 min. Initially I was setting transactions 1 Auto (letting SQL Server handling them) and sending 1 Insert/Update/Delete at a time. So I thought I would try instead using Transactions = 2 and SQLCOMMIT. I thought this would help but instead it was actually taking longer.
So I have a coupla questions:
1) Anyone have an idea of what times I can expect if all is set up correctly. The tables have quite a few fields (79 for one table)
2) Are there any SQL Server/VFP settings I can change which might help
I should add I am build the INSERT/UPDATE/DELETE commands on the fly using my own class and then submitting them using SQLEXEC(). I am going to start tracing through my code to see if I can refactor some processes but thought I would start a thread here to see if there is anything else I can do
Thanks for any and all thoughts
Steve
A while back my client came to me saying the current process of 'migrating' about 250,000 records from a coupla of VFP table to SQL Server 2K was taking too long. Current between 30-40 min. Initially I was setting transactions 1 Auto (letting SQL Server handling them) and sending 1 Insert/Update/Delete at a time. So I thought I would try instead using Transactions = 2 and SQLCOMMIT. I thought this would help but instead it was actually taking longer.
So I have a coupla questions:
1) Anyone have an idea of what times I can expect if all is set up correctly. The tables have quite a few fields (79 for one table)
2) Are there any SQL Server/VFP settings I can change which might help
I should add I am build the INSERT/UPDATE/DELETE commands on the fly using my own class and then submitting them using SQLEXEC(). I am going to start tracing through my code to see if I can refactor some processes but thought I would start a thread here to see if there is anything else I can do
Thanks for any and all thoughts
Steve