Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP3 (5.1.6), 5.2 EE SP1 (5.2.5)
-
Oracle Database, SQL Server
Description
Upgrading a large database is unnecessarily slow in SQL Server and Oracle databases.
MySQL supports a very developer friendly inner join for update statements. Oracle, SQL Server and other vendors support a more generic method of doing inner joins for an update using nested select statements. Currently, instead of using the more generic method, the upgrade process will iterate through every entry and call an update on that sql. For example, if there are 100,000 entries in the database, the upgrade process will make 1 sql select call and 100,000 updates. So to address this issue, the upgrade script will now always use the generic method of doing inner joins for an update.
Attachments
Issue Links
- is related to
-
LPS-4836 Speed up upgrade process for Oracle and SQL Server due to updating with inner joins
- Closed