Bug #114015 | 'Undo log record is to big error' when updating column | ||
---|---|---|---|
Submitted: | 16 Feb 2024 10:14 | Modified: | 16 Feb 2024 11:24 |
Reporter: | Wilhelm Laschinger | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 8.0.32, 8.036, 8.3 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | longtext, unique key, UPDATE |
[16 Feb 2024 10:14]
Wilhelm Laschinger
[16 Feb 2024 10:29]
Wilhelm Laschinger
The problem also occurs, when I define the table with varchar columns: -- create i18n table CREATE TABLE `i18n` ( `i18n_id` bigint NOT NULL, `unique_group` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, `de` varchar(5100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, `en` varchar(5100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, `cz` varchar(5100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
[16 Feb 2024 11:24]
MySQL Verification Team
Hello Wilhelm Laschinger, Thank you for the report and feedback. IMHO this is duplicate of Bug #113952, please see Bug #113952. regards, Umesh
[20 Feb 2024 14:58]
huahua xu
The size of the undo log record exceeds the page size of the undo tablespace, because the undo log record contains both old value and index value of the blob field stored locally on the page.
[20 Feb 2024 15:02]
huahua xu
I try to fix the bug by enhancing the conditional restriction that lob field can be stored locally on the page.
Attachment: undo_log_record_too_big_for_lob_stored_locally.patch (application/octet-stream, text), 777 bytes.