Issue Information
| Issue Number | 701816a |
| Issue | For indexes with long key columns, such as VARCHAR(4000), when keys that occupy nearly half of a block are stored disproportionately in one block during a branch split, the data exceeds the block capacity, causing an internal error and terminating the session or instance. |
| Cause | During the process of determining the block split point, only the size of the left child block was checked, while the combined size of the new key and remaining keys to be allocated to the right child block was not validated. As a result, the split was performed with the right child block exceeding its capacity limit. |
| Solutions | Calculate the size of the rc block during the branch split process and adjust the split point so that the right child does not exceed the block capacity. |
| Occurrence Date | 26.11.10. |
| Required Patch Version | 6FS07PS 7FS02PS |
Patch Information
| Patch Name | FS02PS_701816a |
| Major Version | 7 |
| Minor Version | FS02PS |
| Version Title | Fix for an issue where the DB terminates with an Internal Error during branch block splits of indexes with long keys |
| Available Release Date | 26.11.17. |
| Compatibility | • TAC rolling patch: Available • TSC rolling patch: Available • Backup data compatibility: Available • Protocol compatibility: Available • Data format compatibility: Available |
| AP Impact | • Plan change: No • Result value change: No • SQL syntax change: No • System object change: No • Existing functionality change: No |
| Parameters | - |
| Workaround | - |