in reply to Re^3: How can I improve the sql statements applying efficiency
in thread How can I improve the sql statements applying efficiency
In fact each of my file is a whole transaction since there is BEGIN TRAN at the beginning of the file and COMMIT TRAN at the end of the file. And I have tried to treat each statement as a transaction, but the efficiency seems almost the same.
I don't get into this kind situation a lot, in daily work the script only process say 2k records, but this time I want to process all the records accumulated during the past 2 or 3 years. 4 to 5 hours should be good, but more than 20 hours is a little out of control.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How can I improve the sql statements applying efficiency
by Marshall (Canon) on Jul 25, 2010 at 09:39 UTC |