Project

General

Profile

Actions

Feature #63897

open

Add DataHandler-option enableSuccessLogging to disable logging of successful actions

Added by Stephan Großberndt almost 10 years ago. Updated over 8 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2014-12-15
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Currently the DataHandler has an option enableLogging.

Importing 5000 records
  • with logging enabled: 216 seconds with multiple internal memory uses up to 100MB
  • with logging disabled 92 seconds and maximum internal memory use 18MB

The performance loss is due to displaying the info about the successful insert in the log.
The log entry features the record header, which might need all the fields of the record if a label_userFunc is used.

If logging is disabled, the performance gain is there but also any notification is lost if something fails.

If there were an additional option

$this->enableSuccessLogging
in DataHandler it would be possible to set
$this->enableLogging = TRUE;
$this->enableSucessLogging = FALSE;
to be notified of any errors when importing but still have the performance gain due to not logging successful inserts and updates.

Actions #1

Updated by Mathias Schreiber almost 10 years ago

  • Parent task set to #63692
Actions #2

Updated by Mathias Schreiber almost 10 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)
Actions #3

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.1 (Cleanup) to 7.4 (Backend)
Actions #4

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #5

Updated by Benni Mack about 9 years ago

  • Target version deleted (7.5)
Actions #6

Updated by Wouter Wolters over 8 years ago

  • Parent task deleted (#63692)
Actions

Also available in: Atom PDF