GET https://contao5.env-test.fr/actualites/tag/Ceci%20est%20le%20tag%201

Query Metrics

104 Database Queries
57 Different statements
105.25 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
36.76 ms
(34.93%)
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"
]
9.36 ms
(8.89%)
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
]
7.28 ms
(6.92%)
1
SHOW FULL COLUMNS FROM tl_news_category
Parameters:
[]
4.91 ms
(4.67%)
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"
]
3.67 ms
(3.48%)
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<=1734963900) AND (tl_content.stop='' OR tl_content.stop>1734963900) AND tl_content.tstamp!=0 ORDER BY tl_content.sorting
Parameters:
[
  442
  "tl_article"
]
3.33 ms
(3.16%)
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<=1734963900) AND (p2.stop='' OR p2.stop>1734963900)) 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<=1734963900) AND (p1.stop='' OR p1.stop>1734963900) ORDER BY p1.sorting
Parameters:
[
  225
]
2.68 ms
(2.55%)
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<=1734963900) AND (tl_article.stop='' OR tl_article.stop>1734963900) ORDER BY tl_article.sorting
Parameters:
[
  297
  "Tagline"
]
2.55 ms
(2.42%)
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.25 ms
(2.14%)
5
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? AND tl_page.published=1 AND (tl_page.start='' OR tl_page.start<=1734963900) AND (tl_page.stop='' OR tl_page.stop>1734963900) LIMIT 0,1
Parameters:
[
  298
]
2.16 ms
(2.05%)
3
SELECT tl_module.* FROM tl_module WHERE tl_module.`id`=? LIMIT 0,1
Parameters:
[
  245
]
1.83 ms
(1.74%)
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
]
1.82 ms
(1.73%)
5
SELECT tl_page.* FROM tl_page WHERE tl_page.`id`=? LIMIT 0,1
Parameters:
[
  225
]
1.50 ms
(1.43%)
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<=1734963900) AND (tl_news.stop='' OR tl_news.stop>1734963900) ORDER BY tl_news.date
Parameters:
[]
1.41 ms
(1.34%)
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.38 ms
(1.31%)
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.12 ms
(1.06%)
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.11 ms
(1.05%)
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<=1734963900) AND (tl_page.stop='' OR tl_page.stop>1734963900) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,295')
Parameters:
[]
1.02 ms
(0.97%)
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<=1734963900) AND (n.stop='' OR n.stop>1734963900)
                ORDER BY t.tag ASC
Parameters:
[]
1.02 ms
(0.97%)
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<=1734963900) AND (tl_page.stop='' OR tl_page.stop>1734963900) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,294,293')
Parameters:
[]
0.97 ms
(0.92%)
1
SELECT urlPrefix, urlSuffix FROM tl_page WHERE type='root'
Parameters:
[]
0.87 ms
(0.83%)
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<=1734963900) AND (n.stop='' OR n.stop>1734963900)
Parameters:
[
  1
]
0.83 ms
(0.79%)
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:
[
  ""
  1734963900
  ""
  1734963960
  1
  1
]
0.82 ms
(0.78%)
1
SELECT tl_content.* FROM tl_content WHERE tl_content.`id`=? LIMIT 0,1
Parameters:
[
  5551
]
0.77 ms
(0.73%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.alias IN (?,?,?)
Parameters:
[
  "actualites/tag/Ceci est le tag 1"
  "actualites/tag"
  "actualites"
]
0.77 ms
(0.73%)
2
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? LIMIT 0,1
Parameters:
[
  "299"
]
0.72 ms
(0.68%)
1
SHOW INDEXES FROM `tl_news_category`
Parameters:
[]
0.68 ms
(0.65%)
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.66 ms
(0.63%)
2
SELECT * FROM tl_tags WHERE tl_tags.`tag`=? LIMIT 0,1
Parameters:
[
  "Ceci est le tag 1"
]
0.66 ms
(0.63%)
2
SELECT DATABASE()
Parameters:
[]
0.66 ms
(0.62%)
2
SELECT COUNT(*) AS count FROM tl_comments WHERE tl_comments.source=? AND tl_comments.parent=? AND tl_comments.published=1
Parameters:
[
  "tl_news"
  33
]
0.62 ms
(0.59%)
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.59 ms
(0.56%)
2
SELECT tl_files.* FROM tl_files WHERE tl_files.`path`=? LIMIT 0,1
Parameters:
[
  "files/public/pdf/thumbnails/958.png"
]
0.57 ms
(0.54%)
2
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid=UNHEX(?) LIMIT 0,1
Parameters:
[
  "1ca8724f1f3311ef89b06c2408b0350e"
]
0.52 ms
(0.49%)
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.49 ms
(0.47%)
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<=1734963900) AND (tl_page.stop='' OR tl_page.stop>1734963900) ORDER BY tl_page.sorting LIMIT 0,1
Parameters:
[
  225
]
0.48 ms
(0.46%)
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.48 ms
(0.46%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('285bc67e73f111e4893459743ac631a1'),UNHEX('cd59d714747911e4893459743ac631a1')) ORDER BY tl_files.uuid!=UNHEX('285bc67e73f111e4893459743ac631a1'), tl_files.uuid!=UNHEX('cd59d714747911e4893459743ac631a1')
Parameters:
[]
0.45 ms
(0.43%)
1
SELECT tl_user.* FROM tl_user WHERE tl_user.`id`=? LIMIT 0,1
Parameters:
[
  1
]
0.41 ms
(0.39%)
1
SELECT tl_layout.* FROM tl_layout WHERE tl_layout.`id`=? LIMIT 0,1
Parameters:
[
  32
]
0.41 ms
(0.39%)
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<=1734963900) AND (tl_page.stop='' OR tl_page.stop>1734963900) ORDER BY FIND_IN_SET(`tl_page`.`id`, '300')
Parameters:
[]
0.37 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.34 ms
(0.32%)
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
  ""
  1734963900
  ""
  1734963900
]
0.33 ms
(0.32%)
1
SELECT * FROM tl_tiles WHERE (start='' OR start<1734963914) AND (stop='' OR stop>1734963914) AND published=1 ORDER by sorting ASC
Parameters:
[]
0.31 ms
(0.29%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('7a644076a0b411eea6f26c2408b0350e'),UNHEX('7a644061a0b411eea6f26c2408b0350e')) ORDER BY tl_files.uuid!=UNHEX('7a644076a0b411eea6f26c2408b0350e'), tl_files.uuid!=UNHEX('7a644061a0b411eea6f26c2408b0350e')
Parameters:
[]
0.31 ms
(0.29%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('a53ab1707be611efb8686c2408b0350e')) ORDER BY tl_files.uuid!=UNHEX('a53ab1707be611efb8686c2408b0350e')
Parameters:
[]
0.30 ms
(0.28%)
1
SELECT category_id FROM tl_news_categories WHERE news_id IN ('33')
Parameters:
[]
0.29 ms
(0.28%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('7a578444a0b411eea6f26c2408b0350e'),UNHEX('7a57831aa0b411eea6f26c2408b0350e')) ORDER BY tl_files.uuid!=UNHEX('7a578444a0b411eea6f26c2408b0350e'), tl_files.uuid!=UNHEX('7a57831aa0b411eea6f26c2408b0350e')
Parameters:
[]
0.29 ms
(0.28%)
1
SELECT templates FROM tl_theme WHERE templates != ''
Parameters:
[]
0.28 ms
(0.27%)
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
  ""
  1734963900
  ""
  1734963900
]
0.27 ms
(0.26%)
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
  ""
  1734963900
  ""
  1734963900
]
0.26 ms
(0.24%)
1
SELECT category_id FROM tl_news_categories WHERE news_id IN ('37')
Parameters:
[]
0.25 ms
(0.24%)
1
SELECT * FROM tl_theme WHERE tl_theme.`id`=? LIMIT 0,1
Parameters:
[
  3
]
0.22 ms
(0.21%)
1
SELECT id, pid FROM tl_news_category WHERE pid IN(2) AND published=1
Parameters:
[]
0.22 ms
(0.21%)
1
SELECT id, pid FROM tl_news_category WHERE pid IN(3) AND published=1
Parameters:
[]
0.21 ms
(0.20%)
1
SELECT news_id FROM tl_news_categories
Parameters:
[]
0.20 ms
(0.19%)
1
SELECT news_id FROM tl_news_categories WHERE category_id IN ('2')
Parameters:
[]
0.19 ms
(0.18%)
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.