Query Metrics
103
Database Queries
54
Different statements
126.82 ms
Query time
0
Invalid entities
Grouped Statements
Time▼ | Count | Info |
---|---|---|
65.98 ms (52.03%) |
1 |
SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, IF( c.COLUMN_TYPE = 'longtext' AND EXISTS( SELECT * from information_schema.CHECK_CONSTRAINTS i_c WHERE i_c.CONSTRAINT_SCHEMA = 'contao5_test' AND i_c.TABLE_NAME = c.TABLE_NAME AND i_c.CHECK_CLAUSE = CONCAT( 'json_valid(`', c.COLUMN_NAME, '`)' ) ), 'json', c.COLUMN_TYPE ) AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION
Parameters:
[ "contao5_test" "contao5_test" ] |
7.57 ms (5.97%) |
1 |
SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'
Parameters:
[
"contao5_test"
]
|
6.49 ms (5.11%) |
12 |
SELECT t.* FROM tl_tags AS t JOIN tl_tags_rel AS r ON (r.tag_id=t.id AND r.field=? AND r.ptable=?) WHERE r.pid=? ORDER BY t.tag ASC
Parameters:
[ "tags" "tl_news" 33 ] |
3.26 ms (2.57%) |
5 |
SELECT p1.id, EXISTS(SELECT * FROM tl_page p2 WHERE p2.pid=p1.id AND p2.type!='root' AND p2.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND p2.hide=0 AND p2.published=1 AND (p2.start='' OR p2.start<=1734962280) AND (p2.stop='' OR p2.stop>1734962280)) AS hasSubpages FROM tl_page p1 WHERE p1.pid=? AND p1.type!='root' AND p1.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND p1.hide=0 AND p1.published=1 AND (p1.start='' OR p1.start<=1734962280) AND (p1.stop='' OR p1.stop>1734962280) ORDER BY p1.sorting
Parameters:
[
225
]
|
2.50 ms (1.97%) |
1 |
SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX
Parameters:
[
"contao5_test"
]
|
2.45 ms (1.94%) |
4 |
SELECT tl_files.* FROM tl_files WHERE tl_files.`path`=? LIMIT 0,1
Parameters:
[
"files/public/pdf/thumbnails/958.png"
]
|
2.43 ms (1.92%) |
1 |
SHOW FULL COLUMNS FROM tl_news_category
Parameters:
[] |
2.25 ms (1.78%) |
5 |
SELECT tl_page.* FROM tl_page WHERE tl_page.`id`=? LIMIT 0,1
Parameters:
[
225
]
|
2.23 ms (1.76%) |
4 |
SELECT id, @pid:=pid FROM tl_news_category WHERE id=? UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid UNION SELECT id, @pid:=pid FROM tl_news_category WHERE id=@pid
Parameters:
[
2
]
|
2.09 ms (1.65%) |
3 |
SELECT tl_module.* FROM tl_module WHERE tl_module.`id`=? LIMIT 0,1
Parameters:
[
245
]
|
2.06 ms (1.63%) |
3 |
SELECT tl_content.* FROM tl_content WHERE tl_content.pid=? AND tl_content.ptable=? AND tl_content.invisible=0 AND (tl_content.start='' OR tl_content.start<=1734962280) AND (tl_content.stop='' OR tl_content.stop>1734962280) AND tl_content.tstamp!=0 ORDER BY tl_content.sorting
Parameters:
[ 442 "tl_article" ] |
1.95 ms (1.53%) |
5 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734962280) AND (tl_page.stop='' OR tl_page.stop>1734962280) LIMIT 0,1
Parameters:
[
298
]
|
1.77 ms (1.39%) |
5 |
SELECT tl_article.* FROM tl_article WHERE tl_article.pid=? AND tl_article.inColumn=? AND tl_article.published=1 AND (tl_article.start='' OR tl_article.start<=1734962280) AND (tl_article.stop='' OR tl_article.stop>1734962280) ORDER BY tl_article.sorting
Parameters:
[ 297 "Tagline" ] |
1.71 ms (1.35%) |
3 |
SELECT IFNULL(translation.id, tl_news_category.id) AS id, IFNULL(translation.language, tl_news_category.language) AS language, IFNULL(translation.lid, tl_news_category.lid) AS lid, tl_news_category.pid, tl_news_category.sorting, tl_news_category.tstamp, tl_news_category.cssClass, tl_news_category.image, tl_news_category.hideInList, tl_news_category.hideInReader, tl_news_category.excludeInRelated, tl_news_category.jumpTo, tl_news_category.published, IFNULL(translation.title, tl_news_category.title) AS title, IFNULL(translation.frontendTitle, tl_news_category.frontendTitle) AS frontendTitle, IFNULL(translation.alias, tl_news_category.alias) AS alias, IFNULL(translation.description, tl_news_category.description) AS description FROM tl_news_category tl_news_category LEFT OUTER JOIN tl_news_category translation ON tl_news_category.id=translation.lid AND translation.language='fr' WHERE (tl_news_category.lid=0) AND (tl_news_category.id IN (2,3)) AND (tl_news_category.pid=?) AND (tl_news_category.published=?) ORDER BY tl_news_category.sorting
Parameters:
[ 0 1 ] |
1.57 ms (1.24%) |
1 |
SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'contao5_test' */ ORDER BY k.ORDINAL_POSITION
Parameters:
[
"contao5_test"
]
|
1.52 ms (1.19%) |
1 |
SELECT tl_module.* FROM tl_module WHERE tl_module.id IN(181,164,158,233,237,234,235,240,238,231,236,159,160,233,188,234,235,191,239,190,236,161,165,162,196,190,240,238,239,163,0,168,0,150,172,171,151,169,0,0,0,186,239,185,242,182) ORDER BY FIND_IN_SET(`tl_module`.`id`, '181,164,158,233,237,234,235,240,238,231,236,159,160,233,188,234,235,191,239,190,236,161,165,162,196,190,240,238,239,163,0,168,0,150,172,171,151,169,0,0,0,186,239,185,242,182')
Parameters:
[] |
1.30 ms (1.03%) |
1 |
SELECT DISTINCT t.* FROM tl_news_archive AS a JOIN tl_news AS n ON (n.pid = a.id) JOIN tl_tags_rel AS rTags ON (rTags.pid = n.id AND rTags.ptable = 'tl_news' AND rTags.field = 'tags') JOIN tl_tags_rel AS r ON (r.pid = n.id AND r.ptable = 'tl_news' AND r.field = 'tags') JOIN tl_tags AS t ON (t.id = r.tag_id) WHERE rTags.tag_id in (1) AND a.id in (6) AND n.published='1' AND (n.start='' OR n.start<=1734962280) AND (n.stop='' OR n.stop>1734962280) ORDER BY t.tag ASC
Parameters:
[] |
1.29 ms (1.01%) |
2 |
SELECT COUNT(*) as count FROM tl_news_archive AS a JOIN tl_news AS n ON (n.pid = a.id) JOIN tl_tags_rel AS rTags ON (rTags.pid = n.id AND rTags.ptable = 'tl_news' AND rTags.field = 'tags') JOIN tl_tags_rel AS r ON (r.pid = n.id AND r.ptable = 'tl_news' AND r.field = 'tags') JOIN tl_tags AS t ON (t.id = r.tag_id) WHERE rTags.tag_id in (1) AND a.id in (6) AND t.id=? AND n.published='1' AND (n.start='' OR n.start<=1734962280) AND (n.stop='' OR n.stop>1734962280)
Parameters:
[
1
]
|
1.01 ms (0.80%) |
2 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(290,295) AND tl_page.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734962280) AND (tl_page.stop='' OR tl_page.stop>1734962280) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,295')
Parameters:
[] |
0.98 ms (0.77%) |
2 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(290,294,293) AND tl_page.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734962280) AND (tl_page.stop='' OR tl_page.stop>1734962280) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,294,293')
Parameters:
[] |
0.96 ms (0.75%) |
1 |
SELECT urlPrefix, urlSuffix FROM tl_page WHERE type='root'
Parameters:
[] |
0.84 ms (0.67%) |
2 |
SELECT tl_news.* FROM tl_news WHERE tl_news.pid IN(6) AND tl_news.published=1 AND (tl_news.start='' OR tl_news.start<=1734962280) AND (tl_news.stop='' OR tl_news.stop>1734962280) ORDER BY tl_news.date
Parameters:
[] |
0.77 ms (0.61%) |
1 |
SELECT IFNULL(translation.id, tl_news_category.id) AS id, IFNULL(translation.language, tl_news_category.language) AS language, IFNULL(translation.lid, tl_news_category.lid) AS lid, tl_news_category.pid, tl_news_category.sorting, tl_news_category.tstamp, tl_news_category.cssClass, tl_news_category.image, tl_news_category.hideInList, tl_news_category.hideInReader, tl_news_category.excludeInRelated, tl_news_category.jumpTo, tl_news_category.published, IFNULL(translation.title, tl_news_category.title) AS title, IFNULL(translation.frontendTitle, tl_news_category.frontendTitle) AS frontendTitle, IFNULL(translation.alias, tl_news_category.alias) AS alias, IFNULL(translation.description, tl_news_category.description) AS description FROM tl_news_category tl_news_category LEFT OUTER JOIN tl_news_category translation ON tl_news_category.id=translation.lid AND translation.language='fr' WHERE (tl_news_category.lid=0) AND (tl_news_category.id IN (SELECT category_id FROM tl_news_categories WHERE news_id IN (SELECT id FROM tl_news WHERE pid IN (6) AND (start=? OR start<=?) AND (stop=? OR stop>?) AND published=?))) AND (tl_news_category.published=?) ORDER BY tl_news_category.sorting
Parameters:
[ "" 1734962280 "" 1734962340 1 1 ] |
0.76 ms (0.60%) |
2 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? LIMIT 0,1
Parameters:
[
"299"
]
|
0.69 ms (0.54%) |
1 |
SELECT tl_page.* FROM tl_page WHERE tl_page.alias IN (?,?,?)
Parameters:
[ "actualites/tag/Tag2" "actualites/tag" "actualites" ] |
0.66 ms (0.52%) |
2 |
SELECT IFNULL(translation.id, tl_news_category.id) AS id, IFNULL(translation.language, tl_news_category.language) AS language, IFNULL(translation.lid, tl_news_category.lid) AS lid, tl_news_category.pid, tl_news_category.sorting, tl_news_category.tstamp, tl_news_category.cssClass, tl_news_category.image, tl_news_category.hideInList, tl_news_category.hideInReader, tl_news_category.excludeInRelated, tl_news_category.jumpTo, tl_news_category.published, IFNULL(translation.title, tl_news_category.title) AS title, IFNULL(translation.frontendTitle, tl_news_category.frontendTitle) AS frontendTitle, IFNULL(translation.alias, tl_news_category.alias) AS alias, IFNULL(translation.description, tl_news_category.description) AS description FROM tl_news_category tl_news_category LEFT OUTER JOIN tl_news_category translation ON tl_news_category.id=translation.lid AND translation.language='fr' WHERE (tl_news_category.lid=0) AND (tl_news_category.id=?) LIMIT 0,1
Parameters:
[
2
]
|
0.55 ms (0.43%) |
2 |
SELECT COUNT(*) AS count FROM tl_comments WHERE tl_comments.source=? AND tl_comments.parent=? AND tl_comments.published=1
Parameters:
[ "tl_news" 34 ] |
0.53 ms (0.41%) |
1 |
SELECT tl_page.* FROM tl_page WHERE tl_page.pid=? AND tl_page.type!='root' AND tl_page.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734962280) AND (tl_page.stop='' OR tl_page.stop>1734962280) ORDER BY tl_page.sorting LIMIT 0,1
Parameters:
[
225
]
|
0.51 ms (0.40%) |
2 |
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('a53ab1707be611efb8686c2408b0350e')) ORDER BY tl_files.uuid!=UNHEX('a53ab1707be611efb8686c2408b0350e')
Parameters:
[] |
0.51 ms (0.40%) |
1 |
SELECT tl_layout.* FROM tl_layout WHERE tl_layout.`id`=? LIMIT 0,1
Parameters:
[
32
]
|
0.47 ms (0.37%) |
2 |
SELECT DATABASE()
Parameters:
[] |
0.46 ms (0.36%) |
1 |
SELECT tl_content.* FROM tl_content WHERE tl_content.`id`=? LIMIT 0,1
Parameters:
[
5551
]
|
0.45 ms (0.36%) |
1 |
SELECT IFNULL(translation.id, tl_news_category.id) AS id, IFNULL(translation.language, tl_news_category.language) AS language, IFNULL(translation.lid, tl_news_category.lid) AS lid, tl_news_category.pid, tl_news_category.sorting, tl_news_category.tstamp, tl_news_category.cssClass, tl_news_category.image, tl_news_category.hideInList, tl_news_category.hideInReader, tl_news_category.excludeInRelated, tl_news_category.jumpTo, tl_news_category.published, IFNULL(translation.title, tl_news_category.title) AS title, IFNULL(translation.frontendTitle, tl_news_category.frontendTitle) AS frontendTitle, IFNULL(translation.alias, tl_news_category.alias) AS alias, IFNULL(translation.description, tl_news_category.description) AS description FROM tl_news_category tl_news_category LEFT OUTER JOIN tl_news_category translation ON tl_news_category.id=translation.lid AND translation.language='fr' WHERE (tl_news_category.lid=0) AND (tl_news_category.id IN (2)) AND (tl_news_category.published=?) ORDER BY tl_news_category.sorting
Parameters:
[
1
]
|
0.45 ms (0.35%) |
2 |
SELECT * FROM tl_tags WHERE tl_tags.`tag`=? LIMIT 0,1
Parameters:
[
"Tag2"
]
|
0.44 ms (0.35%) |
1 |
SELECT tl_news_archive.* FROM tl_news_archive WHERE tl_news_archive.id IN(6) ORDER BY FIND_IN_SET(`tl_news_archive`.`id`, '6')
Parameters:
[] |
0.42 ms (0.33%) |
1 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(226,302,296,288,301) ORDER BY FIND_IN_SET(`tl_page`.`id`, '226,302,290,295,296,297,288,301')
Parameters:
[] |
0.38 ms (0.30%) |
1 |
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(300) AND tl_page.type NOT IN ('error_401', 'error_403', 'error_404', 'error_503') AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734962280) AND (tl_page.stop='' OR tl_page.stop>1734962280) ORDER BY FIND_IN_SET(`tl_page`.`id`, '300')
Parameters:
[] |
0.36 ms (0.29%) |
1 |
SELECT IFNULL(translation.id, tl_news_category.id) AS id, IFNULL(translation.language, tl_news_category.language) AS language, IFNULL(translation.lid, tl_news_category.lid) AS lid, tl_news_category.pid, tl_news_category.sorting, tl_news_category.tstamp, tl_news_category.cssClass, tl_news_category.image, tl_news_category.hideInList, tl_news_category.hideInReader, tl_news_category.excludeInRelated, tl_news_category.jumpTo, tl_news_category.published, IFNULL(translation.title, tl_news_category.title) AS title, IFNULL(translation.frontendTitle, tl_news_category.frontendTitle) AS frontendTitle, IFNULL(translation.alias, tl_news_category.alias) AS alias, IFNULL(translation.description, tl_news_category.description) AS description FROM tl_news_category tl_news_category LEFT OUTER JOIN tl_news_category translation ON tl_news_category.id=translation.lid AND translation.language='fr' WHERE (tl_news_category.lid=0) AND (tl_news_category.id IN (2,3)) AND (tl_news_category.published=?) ORDER BY tl_news_category.sorting
Parameters:
[
1
]
|
0.36 ms (0.28%) |
1 |
SELECT tl_user.* FROM tl_user WHERE tl_user.`id`=? LIMIT 0,1
Parameters:
[
1
]
|
0.33 ms (0.26%) |
1 |
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('cd59d714747911e4893459743ac631a1'),UNHEX('cd59d714747911e4893459743ac631a1')) ORDER BY tl_files.uuid!=UNHEX('cd59d714747911e4893459743ac631a1'), tl_files.uuid!=UNHEX('cd59d714747911e4893459743ac631a1')
Parameters:
[] |
0.31 ms (0.24%) |
1 |
SELECT templates FROM tl_theme WHERE templates != ''
Parameters:
[] |
0.30 ms (0.24%) |
1 |
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid=UNHEX(?) LIMIT 0,1
Parameters:
[
"1ca8724f1f3311ef89b06c2408b0350e"
]
|
0.30 ms (0.24%) |
1 |
SHOW INDEXES FROM `tl_news_category`
Parameters:
[] |
0.29 ms (0.23%) |
1 |
SELECT COUNT(*) AS count FROM tl_news WHERE tl_news.id IN (33,34,35,37) AND tl_news.pid IN (6) AND tl_news.published=? AND (tl_news.start=? OR tl_news.start<=?) AND (tl_news.stop=? OR tl_news.stop>?)
Parameters:
[ 1 "" 1734962280 "" 1734962280 ] |
0.29 ms (0.23%) |
1 |
SELECT COUNT(*) AS count FROM tl_news WHERE tl_news.id IN (33,34,37) AND tl_news.pid IN (6) AND tl_news.published=? AND (tl_news.start=? OR tl_news.start<=?) AND (tl_news.stop=? OR tl_news.stop>?)
Parameters:
[ 1 "" 1734962280 "" 1734962280 ] |
0.27 ms (0.21%) |
1 |
SELECT COUNT(*) AS count FROM tl_news WHERE tl_news.id IN (35,37) AND tl_news.pid IN (6) AND tl_news.published=? AND (tl_news.start=? OR tl_news.start<=?) AND (tl_news.stop=? OR tl_news.stop>?)
Parameters:
[ 1 "" 1734962280 "" 1734962280 ] |
0.26 ms (0.20%) |
1 |
SELECT category_id FROM tl_news_categories WHERE news_id IN ('34')
Parameters:
[] |
0.24 ms (0.19%) |
1 |
SELECT * FROM tl_theme WHERE tl_theme.`id`=? LIMIT 0,1
Parameters:
[
3
]
|
0.24 ms (0.19%) |
1 |
SELECT category_id FROM tl_news_categories WHERE news_id IN ('37')
Parameters:
[] |
0.23 ms (0.18%) |
1 |
SELECT id, pid FROM tl_news_category WHERE pid IN(3) AND published=1
Parameters:
[] |
0.23 ms (0.18%) |
1 |
SELECT news_id FROM tl_news_categories
Parameters:
[] |
0.21 ms (0.16%) |
1 |
SELECT id, pid FROM tl_news_category WHERE pid IN(2) AND published=1
Parameters:
[] |
0.19 ms (0.15%) |
1 |
SELECT news_id FROM tl_news_categories WHERE category_id IN ('2')
Parameters:
[] |
0.17 ms (0.13%) |
1 |
SELECT news_id FROM tl_news_categories WHERE category_id IN ('3')
Parameters:
[] |
Database Connections
Name | Service |
---|---|
default | doctrine.dbal.default_connection |
Entity Managers
Name | Service |
---|---|
default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Entities Mapping
No loaded entities.