Project

General

Profile

Actions

Bug #53702

closed

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Bug #52949: Speed decrease since 4.5

FAL fetches storages twice on every BE request

Added by Markus Klein over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-11-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

FAL fetches the storages twice on every request.

SELECT COUNT(uid) FROM sys_file_storage WHERE 1=1;
SELECT * FROM sys_file_storage WHERE 1=1 AND sys_file_storage.hidden=0 AND sys_file_storage.deleted=0;

StorageRepository->findAll() tries to detect if there's ever been a storage, and if not so it creates one for /fileadmin.

Maybe this can be optimized somehow to have only one DB access.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Story #54266: As an User I want FAL to be performantClosed2013-11-162013-12-31

Actions
Actions #1

Updated by Alexander Opitz over 10 years ago

Hi Markus,

as this doesn't happen on fully cached frontend requests, can you write down what types of requests this happen?

Actions #2

Updated by Markus Klein over 10 years ago

Yes looks like this only happens in the BE.

Actions #3

Updated by Markus Klein over 10 years ago

  • Subject changed from FAL fetches storages twice on every request to FAL fetches storages twice on every BE request
Actions #4

Updated by Philipp Gampe over 10 years ago

IMHO this magic create storage stuff should be moved to the install tool as an upgrade wizard.

Actions #5

Updated by Markus Klein over 10 years ago

  • Parent task set to #52949
Actions #6

Updated by Ingo Schmitt about 10 years ago

  • Status changed from New to Resolved

Was fixed by issue #55186

Actions #7

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF