Issue Information
| Issue Number | 701547a |
| Issue | When an index is created in parallel on a table with a foreign key, DDL execution fails due to an internal error. |
| Cause | Parallel DML is restricted because performing index maintenance and foreign key checks in parallel on a table to which foreign key constraints and multiple indexes are simultaneously applied can cause problems with data integrity validation. This restriction was unnecessarily applied to index rebuild operations as well, causing parallel processing to switch to serial processing. As a result, an internal insert operation was executed serially under a parallel query, causing an internal error during index merge processing. |
| Solutions | The data modification logic is modified to preserve PDML when building an index in parallel on a table with a foreign key constraint. The foreign key check behavior of regular DML is unchanged. |
| Occurrence Date | 26.10.10. |
| Version Requiring the Patch | 7FS02PS |
Patch Information
| Patch Name | FS02PS_701547a |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Resolution of the error in which CREATE INDEX PARALLEL on a table with an FK lost PDML and caused an Internal Error |
| Available for Deployment | 26.11.23. |
| Compatibility | • TAC rolling patch: Yes • TSC rolling patch: Yes • Backup data compatibility: Yes • Protocol compatibility: Yes • Data format compatibility: Yes |
| AP Impact | • Whether the plan changes: Yes • Whether the result values change: No • Whether SQL syntax changes: No • Whether system objects change: No • Whether existing functionality changes: No |
| Parameters | - |
| Workaround | - |