I'm working a project to bring up an old Magento EE system up to date with the latest and greatest version of EE. Running some tests locally on my development laptop (spinning disks), the Setup Resource Migration scripts took around 90 minutes to run.
On one hand I was surprised it was only 90 minutes, given the number of new indexes and foreign keys an upgrade adds. At the same time, I'm not wild about taking my client's side down for 90 minutes when we perform the actual upgrade. (or, alternately, dealing with keeping the old store up for those 90 minutes and reconciling and new orders, customers, or data that's added to the system)
Is there any known science for speeding up the setup resource script running? (Skipping certain unneeded updates, temporary tweaks to my.cnf, etc.)