Query Metrics

36 Database Queries
23 Different statements
66.89 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
38.09 ms
(56.94%)
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"
]
5.19 ms
(7.75%)
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.75 ms
(5.61%)
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<=1734933360) AND (p2.stop='' OR p2.stop>1734933360)) 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<=1734933360) AND (p1.stop='' OR p1.stop>1734933360) ORDER BY p1.sorting
Parameters:
[
  225
]
2.60 ms
(3.89%)
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"
]
1.83 ms
(2.74%)
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,150,172,171,151,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,150,172,171,151,169,0,0,186,239,185,242,182')
Parameters:
[]
1.77 ms
(2.64%)
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<=1734933360) AND (tl_article.stop='' OR tl_article.stop>1734933360) ORDER BY tl_article.sorting
Parameters:
[
  300
  "header"
]
1.73 ms
(2.59%)
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.59 ms
(2.38%)
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<=1734933360) AND (tl_content.stop='' OR tl_content.stop>1734933360) AND tl_content.tstamp!=0 ORDER BY tl_content.sorting
Parameters:
[
  414
  "tl_article"
]
1.46 ms
(2.18%)
3
SELECT tl_page.* FROM tl_page WHERE tl_page.`id`=? LIMIT 0,1
Parameters:
[
  225
]
1.18 ms
(1.76%)
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<=1734933360) AND (tl_page.stop='' OR tl_page.stop>1734933360) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,295')
Parameters:
[]
1.02 ms
(1.52%)
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<=1734933360) AND (tl_page.stop='' OR tl_page.stop>1734933360) ORDER BY FIND_IN_SET(`tl_page`.`id`, '290,294,293')
Parameters:
[]
0.96 ms
(1.44%)
1
SELECT urlPrefix, urlSuffix FROM tl_page WHERE type='root'
Parameters:
[]
0.66 ms
(0.99%)
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<=1734933360) AND (tl_page.stop='' OR tl_page.stop>1734933360) ORDER BY tl_page.sorting LIMIT 0,1
Parameters:
[
  225
]
0.65 ms
(0.97%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.alias IN (?)
Parameters:
[
  "mentions-legales"
]
0.65 ms
(0.97%)
1
SELECT tl_layout.* FROM tl_layout WHERE tl_layout.`id`=? LIMIT 0,1
Parameters:
[
  23
]
0.56 ms
(0.84%)
2
SELECT DATABASE()
Parameters:
[]
0.55 ms
(0.82%)
1
SELECT tl_content.* FROM tl_content WHERE tl_content.`id`=? LIMIT 0,1
Parameters:
[
  5551
]
0.53 ms
(0.79%)
1
SELECT templates FROM tl_theme WHERE templates != ''
Parameters:
[]
0.49 ms
(0.74%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.id IN(226,302,296,297,288,301) ORDER BY FIND_IN_SET(`tl_page`.`id`, '226,302,290,295,296,297,288,301')
Parameters:
[]
0.48 ms
(0.71%)
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<=1734933360) AND (tl_page.stop='' OR tl_page.stop>1734933360) ORDER BY FIND_IN_SET(`tl_page`.`id`, '300')
Parameters:
[]
0.44 ms
(0.65%)
1
SELECT tl_page.* FROM tl_page WHERE tl_page.id=? LIMIT 0,1
Parameters:
[
  "299"
]
0.39 ms
(0.58%)
1
SELECT * FROM tl_theme WHERE tl_theme.`id`=? LIMIT 0,1
Parameters:
[
  3
]
0.33 ms
(0.50%)
1
SELECT tl_files.* FROM tl_files WHERE tl_files.uuid=UNHEX(?) LIMIT 0,1
Parameters:
[
  "1ca8724f1f3311ef89b06c2408b0350e"
]

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.