guest2013-1
guest
- Joined
- Aug 22, 2003
- Messages
- 19,800
- Reaction score
- 13
I've recently modified the original XML reader APP I wrote to write into mssql 2008 instead of mysql. mssql performance on the machine is brilliant compared to mysql, and I figured insert/update/delete would also be.
db is about 14gb big now (have about 7 million records with accompanied data so well over 80 million rows, legacy **** I'm working to get rid of)
In any case, on my slow machine the insert/update and delete happens quite fast. Given this is a blank database I'm working from with real-world xml file data so sqlserver doesn't have that much to do... but why are inserts so slow on the live server? there's no data-check like the updates have.
Would it speed things up if I were to write all the data into a temp table (or different database) and use the stored proc's I wrote for the insert/update/delete to run it in a batch, from table to table?
I've tried everything. truncated the log/simple recovery plan/write cache disabled to speed up the disk/removed unnecessary indexes. Even temporarily removed the full-text index thinking it might slow down. The app is running on the machine it connects to, so no network issues to worry about. I do realize the disk is most likely the culprit since I don't have things setup on separate partitions or whatever, but surely it can't make THAT much of a difference if it ran fine previously?
db is about 14gb big now (have about 7 million records with accompanied data so well over 80 million rows, legacy **** I'm working to get rid of)
In any case, on my slow machine the insert/update and delete happens quite fast. Given this is a blank database I'm working from with real-world xml file data so sqlserver doesn't have that much to do... but why are inserts so slow on the live server? there's no data-check like the updates have.
Would it speed things up if I were to write all the data into a temp table (or different database) and use the stored proc's I wrote for the insert/update/delete to run it in a batch, from table to table?
I've tried everything. truncated the log/simple recovery plan/write cache disabled to speed up the disk/removed unnecessary indexes. Even temporarily removed the full-text index thinking it might slow down. The app is running on the machine it connects to, so no network issues to worry about. I do realize the disk is most likely the culprit since I don't have things setup on separate partitions or whatever, but surely it can't make THAT much of a difference if it ran fine previously?