GET https://contao5.env-test.fr/actualites/categorie/categorie-2

Query Metrics

61 Database Queries
40 Different statements
93.32 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
51.75 ms
(55.46%)
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"
]
6.58 ms
(7.06%)
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.34 ms
(3.58%)
4
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<=1734948000) AND (p2.stop='' OR p2.stop>1734948000)) 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<=1734948000) AND (p1.stop='' OR p1.stop>1734948000) ORDER BY p1.sorting
Parameters:
[
  225
]
3.13 ms
(3.35%)
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.51 ms
(2.69%)
5
SELECT tl_page.* FROM tl_page WHERE tl_page.`id`=? LIMIT 0,1
Parameters:
[
  225
]
1.82 ms
(1.95%)
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.78 ms
(1.91%)
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.67 ms
(1.79%)
1
SELECT tl_layout.* FROM tl_layout WHERE tl_layout.`id`=? LIMIT 0,1
Parameters:
[
  32
]
1.49 ms
(1.60%)
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.25 ms
(1.34%)
2
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? LIMIT 0,1
Parameters:
[
  "299"
]
1.21 ms
(1.30%)
2
SELECT tl_module.* FROM tl_module WHERE tl_module.`id`=? LIMIT 0,1
Parameters:
[
  245
]
1.17 ms
(1.25%)
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.10 ms
(1.18%)
3
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<=1734948000) AND (tl_article.stop='' OR tl_article.stop>1734948000) ORDER BY tl_article.sorting
Parameters:
[
  297
  "Tagline"
]
1.07 ms
(1.15%)
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<=1734948000) AND (n.stop='' OR n.stop>1734948000)
                ORDER BY t.tag ASC
Parameters:
[]
1.04 ms
(1.12%)
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<=1734948000) AND (tl_page.stop='' OR tl_page.stop>1734948000) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,295')
Parameters:
[]
0.98 ms
(1.06%)
1
SELECT urlPrefix, urlSuffix FROM tl_page WHERE type='root'
Parameters:
[]
0.97 ms
(1.04%)
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<=1734948000) AND (tl_page.stop='' OR tl_page.stop>1734948000) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,294,293')
Parameters:
[]
0.93 ms
(1.00%)
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<=1734948000) AND (n.stop='' OR n.stop>1734948000)
Parameters:
[
  1
]
0.86 ms
(0.92%)
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.83 ms
(0.89%)
1
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<=1734948000) AND (tl_content.stop='' OR tl_content.stop>1734948000) AND tl_content.tstamp!=0 ORDER BY tl_content.sorting
Parameters:
[
  442
  "tl_article"
]
0.80 ms
(0.85%)
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:
[
  ""
  1734948000
  ""
  1734948060
  1
  1
]
0.71 ms
(0.76%)
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.70 ms
(0.75%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.alias IN (?,?,?)
Parameters:
[
  "actualites/categorie/categorie-2"
  "actualites/categorie"
  "actualites"
]
0.64 ms
(0.69%)
1
SHOW FULL COLUMNS FROM tl_news_category
Parameters:
[]
0.53 ms
(0.57%)
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<=1734948000) AND (tl_page.stop='' OR tl_page.stop>1734948000) ORDER BY tl_page.sorting LIMIT 0,1
Parameters:
[
  225
]
0.42 ms
(0.45%)
2
SELECT DATABASE()
Parameters:
[]
0.38 ms
(0.40%)
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.alias=? OR translation.alias=?)) AND (tl_news_category.published=?) LIMIT 0,1
Parameters:
[
  "categorie-2"
  "categorie-2"
  1
]
0.32 ms
(0.34%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid=UNHEX(?) LIMIT 0,1
Parameters:
[
  "1ca8724f1f3311ef89b06c2408b0350e"
]
0.31 ms
(0.34%)
1
SELECT templates FROM tl_theme WHERE templates != ''
Parameters:
[]
0.31 ms
(0.33%)
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
  ""
  1734948000
  ""
  1734948000
]
0.31 ms
(0.33%)
1
SELECT id, pid FROM tl_news_category WHERE pid IN(3) AND published=1
Parameters:
[]
0.30 ms
(0.32%)
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
  ""
  1734948000
  ""
  1734948000
]
0.30 ms
(0.32%)
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
  ""
  1734948000
  ""
  1734948000
]
0.29 ms
(0.31%)
1
SHOW INDEXES FROM `tl_news_category`
Parameters:
[]
0.29 ms
(0.31%)
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.28 ms
(0.30%)
1
SELECT * FROM tl_theme WHERE tl_theme.`id`=? LIMIT 0,1
Parameters:
[
  3
]
0.28 ms
(0.30%)
1
SELECT id, pid FROM tl_news_category WHERE pid IN(2) AND published=1
Parameters:
[]
0.24 ms
(0.26%)
1
SELECT news_id FROM tl_news_categories WHERE category_id IN ('2')
Parameters:
[]
0.21 ms
(0.23%)
1
SELECT news_id FROM tl_news_categories WHERE category_id IN ('3')
Parameters:
[]
0.21 ms
(0.22%)
1
SELECT news_id FROM tl_news_categories
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.