Project

General

Profile

Actions

Bug #95812

open

Record Statistics runs into an error when reaching it's limits

Added by Andreas Kalkhoff over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2021-10-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
large-site, placeholderlimit, db, prepared statement
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

for a bit of a larger installation, during my quest to resolve some DB-related issues, I tried to fetch the "Records Statistics" using the module "DB Check".
I suppose the maximum size for a SQL-Query has been reached. While the screenshot only displays a short extract, here some numbers:
Amount of placeholders ("?"): 9899 (/9898 commata)
Amount of filled parameters in that statement: 5101
The whole thing does end on a comma and it's just cut off at that point.

Amount of active pages in the installation (excluding folders, dividers, etc.): 4982
Amount of pages still "existing" (excluding folders, dividers, etc.): 8663

The table blackened is an extension table, no core-related table.

Best Regards
Andreas


Files

record_statistics.png (127 KB) record_statistics.png Andreas Kalkhoff, 2021-10-28 12:14

Related issues 2 (1 open1 closed)

Related to TYPO3 Core - Bug #92493: linkvalidator: scheduler task + list of broken links dies if too many pages ("Prepared statement contains too many placeholders")Closed2020-10-06

Actions
Related to TYPO3 Core - Task #93305: Long lists of parameters in QueryBuilder handled differently ("too many placeholders")New2021-01-18

Actions
Actions #1

Updated by Andreas Kalkhoff over 2 years ago

Edit: Forgot one important bit of info:
Total length of the query: 65440 characters.

Actions #2

Updated by Sybille Peters over 2 years ago

  • Tags set to large-site, placeholderlimit, db, prepared statement
Actions #3

Updated by Sybille Peters over 2 years ago

  • Related to Bug #92493: linkvalidator: scheduler task + list of broken links dies if too many pages ("Prepared statement contains too many placeholders") added
Actions #4

Updated by Sybille Peters over 2 years ago

  • Related to Task #93305: Long lists of parameters in QueryBuilder handled differently ("too many placeholders") added
Actions

Also available in: Atom PDF