Query Metrics

63 Database Queries
34 Different statements
89.49 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
39.94 ms
(44.63%)
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.84 ms
(7.64%)
2
SELECT DATABASE()
Parameters:
[]
5.17 ms
(5.77%)
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"
]
4.89 ms
(5.47%)
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<=1734877800) AND (p2.stop='' OR p2.stop>1734877800)) 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<=1734877800) AND (p1.stop='' OR p1.stop>1734877800) ORDER BY p1.sorting
Parameters:
[
  225
]
3.09 ms
(3.46%)
9
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid=UNHEX(?) LIMIT 0,1
Parameters:
[
  "1ca8724f1f3311ef89b06c2408b0350e"
]
2.57 ms
(2.87%)
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.08 ms
(2.33%)
4
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<=1734877800) AND (tl_article.stop='' OR tl_article.stop>1734877800) ORDER BY tl_article.sorting
Parameters:
[
  226
  "header"
]
2.04 ms
(2.28%)
2
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<=1734877800) AND (tl_content.stop='' OR tl_content.stop>1734877800) AND tl_content.tstamp!=0 ORDER BY tl_content.sorting
Parameters:
[
  324
  "tl_article"
]
1.94 ms
(2.17%)
2
SELECT tl_form_field.* FROM tl_form_field WHERE tl_form_field.pid=? AND tl_form_field.invisible=0 AND tl_form_field.tstamp!=0 ORDER BY tl_form_field.sorting
Parameters:
[
  3
]
1.87 ms
(2.09%)
3
SELECT tl_page.* FROM tl_page WHERE tl_page.`id`=? LIMIT 0,1
Parameters:
[
  0
]
1.51 ms
(1.69%)
2
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? LIMIT 0,1
Parameters:
[
  "299"
]
1.48 ms
(1.65%)
4
SELECT tl_image_size.* FROM tl_image_size WHERE tl_image_size.`id`=? LIMIT 0,1
Parameters:
[
  "4"
]
1.44 ms
(1.61%)
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.41 ms
(1.58%)
4
SELECT tl_image_size_item.* FROM tl_image_size_item WHERE tl_image_size_item.pid=? AND tl_image_size_item.invisible=0 AND tl_image_size_item.tstamp>0 ORDER BY sorting ASC
Parameters:
[
  4
]
1.37 ms
(1.53%)
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<=1734877800) AND (tl_page.stop='' OR tl_page.stop>1734877800) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,294,293')
Parameters:
[]
1.35 ms
(1.51%)
1
SELECT tl_page.* FROM tl_page WHERE (tl_page.type='root' AND (tl_page.dns=? OR tl_page.dns=''))
Parameters:
[
  "contao5.env-test.fr"
]
1.34 ms
(1.49%)
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,191,190,240,238,239,163,0,168,0,169,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,191,190,240,238,239,163,0,168,0,169,0,0,186,239,185,242,182')
Parameters:
[]
1.20 ms
(1.35%)
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<=1734877800) AND (tl_page.stop='' OR tl_page.stop>1734877800) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,295')
Parameters:
[]
0.91 ms
(1.02%)
1
SELECT tl_content.* FROM tl_content WHERE tl_content.pid IN(58,59,60,61,62,63) AND ptable=? AND tl_content.invisible='' ORDER BY tl_content.sorting
Parameters:
[
  "tl_rocksolid_slide"
]
0.74 ms
(0.82%)
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<=1734877800) AND (tl_page.stop='' OR tl_page.stop>1734877800) ORDER BY FIND_IN_SET(`tl_page`.`id`, '300')
Parameters:
[]
0.67 ms
(0.75%)
1
SELECT tl_module.* FROM tl_module WHERE tl_module.`id`=? LIMIT 0,1
Parameters:
[
  192
]
0.67 ms
(0.74%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(302,296,297,288,301) ORDER BY FIND_IN_SET(`tl_page`.`id`, '226,302,290,295,296,297,288,301')
Parameters:
[]
0.58 ms
(0.65%)
1
SELECT tl_rocksolid_slide.*, j1.`id` AS pid__id, j1.`tstamp` AS pid__tstamp, j1.`name` AS pid__name, j1.`type` AS pid__type, j1.`multiSRC` AS pid__multiSRC FROM tl_rocksolid_slide LEFT JOIN tl_rocksolid_slider j1 ON tl_rocksolid_slide.`pid`=j1.id WHERE tl_rocksolid_slide.pid=? AND (tl_rocksolid_slide.start='' OR tl_rocksolid_slide.start<1734877800) AND (tl_rocksolid_slide.stop='' OR tl_rocksolid_slide.stop>1734877800) AND tl_rocksolid_slide.published=1 ORDER BY tl_rocksolid_slide.sorting ASC
Parameters:
[
  22
]
0.57 ms
(0.64%)
1
SELECT tl_layout.* FROM tl_layout WHERE tl_layout.`id`=? LIMIT 0,1
Parameters:
[
  37
]
0.57 ms
(0.64%)
1
SELECT tl_form.* FROM tl_form WHERE tl_form.`id`=? LIMIT 0,1
Parameters:
[
  3
]
0.51 ms
(0.57%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.alias=? OR tl_page.alias=?
Parameters:
[
  "index"
  "/"
]
0.38 ms
(0.42%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('399ba3fc7a1b11e4893459743ac631a1'),UNHEX('98f85078a0b511e496640fd4fd755342')) ORDER BY tl_files.uuid!=UNHEX('399ba3fc7a1b11e4893459743ac631a1'), tl_files.uuid!=UNHEX('98f85078a0b511e496640fd4fd755342')
Parameters:
[]
0.38 ms
(0.42%)
1
SELECT * FROM tl_rocksolid_slider WHERE tl_rocksolid_slider.`id`=? LIMIT 0,1
Parameters:
[
  22
]
0.38 ms
(0.42%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('b37a53d47acb11e4893459743ac631a1')) ORDER BY tl_files.uuid!=UNHEX('b37a53d47acb11e4893459743ac631a1')
Parameters:
[]
0.36 ms
(0.40%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('c38a2f6a748111e4893459743ac631a1')) ORDER BY tl_files.uuid!=UNHEX('c38a2f6a748111e4893459743ac631a1')
Parameters:
[]
0.34 ms
(0.38%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('5c12fb741d4b11e4a00f40663e0665e7')) ORDER BY tl_files.uuid!=UNHEX('5c12fb741d4b11e4a00f40663e0665e7')
Parameters:
[]
0.32 ms
(0.36%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid IN(UNHEX('52fac2cc7a3111e4893459743ac631a1')) ORDER BY tl_files.uuid!=UNHEX('52fac2cc7a3111e4893459743ac631a1')
Parameters:
[]
0.30 ms
(0.34%)
1
SELECT templates FROM tl_theme WHERE templates != ''
Parameters:
[]
0.29 ms
(0.32%)
1
SELECT * FROM tl_theme WHERE tl_theme.`id`=? LIMIT 0,1
Parameters:
[
  3
]

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.