Project

General

Profile

Actions

Task #100932

closed

Speed up SysLogSerializationUpdate

Added by Alexander Schnitzler 12 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Performance
Start date:
2023-05-31
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Sprint Focus:

Description

During the upgrade to version 12 with a lot of entries in sys_log , SysLogSerializationUpdate takes quite a lot of time because it processes each row individually. This however is only necessary for rows where log_data is not a:0:{}. I suggest adding a fast update command on all rows that have that value stored and afterwards process all other rows:

update sys_log set log_data = '[]' where log_data = 'a:0:{}';
Actions

Also available in: Atom PDF