Project

General

Profile

Feature #79438

Updated by Thomas Hohn over 7 years ago

This request has the aim In moderne environments it seems unnecessary to make checkStoredRecord in possible to disable the call to checkStoredRecord  
 when Insert/Updates are performed by the Datahandler. database after having storing them. 

 As default the following configuration has been add to 
 @$GLOBALS['TYPO3_CONF_VARS']['BE'] 

 'checkStoredRecords' => [ 
             'enable' => true, 
             'checkStoredRecordsLoose' => true 
 ],@ 

 This ensures that the original functionality is kept as today. If enable is set to false 
 the checkStoredRecord is NOT called Database field definitions and constraints on insert/updates and might lead to truncated 
 data in the database depending on the configuration of the database. 
 However a speed-up of a factor 2 can be achieved - and especially in the scenario 
 where exists page-tree are copied columns should ensure that this can give a significant speedup. Since the 
 checkStoredRecord has a side-effect of loading the record - there might be situations 
 where [NO-Title] property is written as element title in sys_log. However this must be considered maintained. 
 as a small trade-off It seems like an unnecessary performance degradation to the speed gained. 
 perform 	 this check.

Back