Hello all, I need some helpful hints. I'm running SQLServer 2000 on a Win2000 box with 2 CPUs.
I have a 10 million record file that I load into an unindexed table on SQL Server using bcp. This runs fine. I have written a stored procedure that reads each record from this table and inserts it into another table based on certain values in the record. This proc starts slow and gets slower, the longer it runs.
Does anyone have any helpful hints as to why the second step gets slower or maybe a suggestion of another way to do what I'm trying to do?
Thanks in advance!
APF
I have a 10 million record file that I load into an unindexed table on SQL Server using bcp. This runs fine. I have written a stored procedure that reads each record from this table and inserts it into another table based on certain values in the record. This proc starts slow and gets slower, the longer it runs.
Does anyone have any helpful hints as to why the second step gets slower or maybe a suggestion of another way to do what I'm trying to do?
Thanks in advance!
APF