G
GPO
Env: Office 2003, Win XP, relevant service packs.
I am regularly required to append about two million rows of data (20 cols)
to a table with several indexes Obviously it is going to take a long time
run. What I would like to clarify though is this: When I look at the
Performance tab in the Task Manager, the CPU usage history shows that
activity spikes for about 1 second or less in every 10 and then goes back
down near zero. What is likely to be happening when the CPU is not active? It
seems to me, that there is a bottleneck in moving data around. If this is the
case how can I identify it, and what can I do to address it? I have 1 gb of
ram and plenty of space on the drive (IDE slave) in question (it's half
full).
FWIW The data being appended is coming from a tab delimited text file
(270543k) in the form of a linked table and it is a straight SQL INSERT -
there are no transformations on the data coming it. The text file is on the
same drive as the receiving table, but in a different path.
Regards
GPO
I am regularly required to append about two million rows of data (20 cols)
to a table with several indexes Obviously it is going to take a long time
run. What I would like to clarify though is this: When I look at the
Performance tab in the Task Manager, the CPU usage history shows that
activity spikes for about 1 second or less in every 10 and then goes back
down near zero. What is likely to be happening when the CPU is not active? It
seems to me, that there is a bottleneck in moving data around. If this is the
case how can I identify it, and what can I do to address it? I have 1 gb of
ram and plenty of space on the drive (IDE slave) in question (it's half
full).
FWIW The data being appended is coming from a tab delimited text file
(270543k) in the form of a linked table and it is a straight SQL INSERT -
there are no transformations on the data coming it. The text file is on the
same drive as the receiving table, but in a different path.
Regards
GPO