RRinTetons
IS-IT--Management
SQL Server 2005 Enterprise
I have to run a couple of vendor supplied update scripts as part of an application upgrade. One does a string REPLACE in XML columns in some 50,000,000 rows. The other creates a temp table for each table in the db (4.000+), writes the original data into the temp, drops the original and recreates it with some new data types and then writes the original data back. Right now it's taking 16 hours to complete the two of them. That means I'll have to take the resort's primary enteprise application off line for an entire business day to get it done. I'd like to avoid that! The vendor is trying to split the scripts up, and I'm exploring othe options.
Can anyone suggest any resource tweaks that might help speed up such updates? The box ha 4 GB of RAM a 10,000 RPM local drive and several LUN's mounted from a NetApp Filer. I already have it switched in Simple Recovery for the update.
I realize this is a very vague problem description, I'm just fishing for ideas, I don't expect anybody to come up with a way to make it complete in 15 minutes (although that would be cool!)
-
Richard Ray
Jackson Hole Mountain Resort
I have to run a couple of vendor supplied update scripts as part of an application upgrade. One does a string REPLACE in XML columns in some 50,000,000 rows. The other creates a temp table for each table in the db (4.000+), writes the original data into the temp, drops the original and recreates it with some new data types and then writes the original data back. Right now it's taking 16 hours to complete the two of them. That means I'll have to take the resort's primary enteprise application off line for an entire business day to get it done. I'd like to avoid that! The vendor is trying to split the scripts up, and I'm exploring othe options.
Can anyone suggest any resource tweaks that might help speed up such updates? The box ha 4 GB of RAM a 10,000 RPM local drive and several LUN's mounted from a NetApp Filer. I already have it switched in Simple Recovery for the update.
I realize this is a very vague problem description, I'm just fishing for ideas, I don't expect anybody to come up with a way to make it complete in 15 minutes (although that would be cool!)
-
Richard Ray
Jackson Hole Mountain Resort