Does TOYS create an optimal synchronization script?
The DDL synchronization script generated by TOYS attempts to be “optimal”. However sometimes it produces additional DDL statements that are not required. The case of handling temporaries during re-naming of objects is discussed in another FAQ. Another example of this is that when an object is being modified and if any grants are different, TOYS re-issues all grants for the object. Generally these do not affect the execution times of the DDL script. Of much greater significance are the [potentially] long running commands that create indexes, enable constraints and copy table data. Given the capabilities of the Oracle server you are targeting, TOYS will attempt to optimize the upgrade process, however, it will not always do so. Here are some cases where TOYS may generate less than optimal DDL.