Query Metrics

40 Database Queries
14 Different statements
154.98 ms Query time
0 Invalid entities

Grouped Statements

Show all queries

Time Count Info
126.17 ms
(0.00%)
1
SELECT n0_.id AS id_0, n0_.date_created AS date_created_1, n0_.date_modified AS date_modified_2, n0_.publication_date AS publication_date_3, n0_.video1 AS video1_4, n0_.video2 AS video2_5, n0_.besoccer_id AS besoccer_id_6, n0_.kaltura_id AS kaltura_id_7, n0_.active AS active_8, n1_.title AS title_9, n1_.cod_lang AS cod_lang_10, n1_.text AS text_11, n1_.seo_title AS seo_title_12, n1_.seo_description AS seo_description_13, n1_.subtitle AS subtitle_14, n2_.id AS id_15, n2_.date_created AS date_created_16, n2_.date_modified AS date_modified_17, n2_.sort AS sort_18, n2_.active AS active_19, n0_.banner_id AS banner_id_20, n0_.banner2_id AS banner2_id_21, n1_.news_id AS news_id_22, n2_.banner_id AS banner_id_23 FROM news n0_ LEFT JOIN news_i18n n1_ ON n0_.id = n1_.news_id INNER JOIN news_news_category n3_ ON n0_.id = n3_.news_id INNER JOIN news_category n2_ ON n2_.id = n3_.news_category_id WHERE COALESCE(n1_.title, '') <> '' AND n1_.cod_lang = ? AND n0_.active = 1 AND n2_.id = ? AND n0_.publication_date <= ? AND n0_.id <> 4164 ORDER BY n0_.publication_date DESC LIMIT 5
Parameters:
[
  "ca"
  2
  "2025-10-19 14:45:07"
]
10.76 ms
(0.00%)
15
SELECT f0_.id AS id_0, f0_.name AS name_1, f0_.extension AS extension_2, f0_.date_created AS date_created_3, f0_.date_modified AS date_modified_4, f0_.size AS size_5, f0_.itemId AS itemId_6, f0_.section AS section_7, f0_.type AS type_8, f0_.sort AS sort_9 FROM file f0_ WHERE f0_.itemId = ? AND f0_.section = ? AND f0_.type = ? ORDER BY f0_.sort ASC LIMIT 1
Parameters:
[
  14278
  "news"
  "image"
]
5.14 ms
(0.00%)
6
SELECT n0_.id AS id_0, n0_.date_created AS date_created_1, n0_.date_modified AS date_modified_2, n0_.sort AS sort_3, n0_.active AS active_4, n1_.name AS name_5, n1_.cod_lang AS cod_lang_6, n0_.banner_id AS banner_id_7, n1_.news_category_id AS news_category_id_8 FROM news_category n0_ INNER JOIN news_news_category n3_ ON n0_.id = n3_.news_category_id INNER JOIN news n2_ ON n2_.id = n3_.news_id LEFT JOIN news_category_i18n n1_ ON n0_.id = n1_.news_category_id WHERE n1_.cod_lang = ? AND n2_.id = ? ORDER BY n0_.sort ASC
Parameters:
[
  "ca"
  4164
]
2.33 ms
(0.00%)
4
SELECT title, subtitle, text, seo_title AS seoTitle,
                 seo_description AS seoDescription
          FROM news_i18n 
          WHERE news_id = :news_id
            AND cod_lang = :cod_lang
Parameters:
[
  "news_id" => 4164
  "cod_lang" => "es"
]
1.68 ms
(0.00%)
2
SELECT f0_.id AS id_0, f0_.name AS name_1, f0_.extension AS extension_2, f0_.date_created AS date_created_3, f0_.date_modified AS date_modified_4, f0_.size AS size_5, f0_.itemId AS itemId_6, f0_.section AS section_7, f0_.type AS type_8, f0_.sort AS sort_9 FROM file f0_ WHERE f0_.itemId = ? AND f0_.section = ? AND f0_.type = ? ORDER BY f0_.sort ASC
Parameters:
[
  4164
  "news"
  "image"
]
1.54 ms
(0.00%)
1
SELECT n0_.id AS id_0, n0_.date_created AS date_created_1, n0_.date_modified AS date_modified_2, n0_.publication_date AS publication_date_3, n0_.video1 AS video1_4, n0_.video2 AS video2_5, n0_.besoccer_id AS besoccer_id_6, n0_.kaltura_id AS kaltura_id_7, n0_.active AS active_8, n1_.title AS title_9, n1_.cod_lang AS cod_lang_10, n1_.text AS text_11, n1_.seo_title AS seo_title_12, n1_.seo_description AS seo_description_13, n1_.subtitle AS subtitle_14, n2_.id AS id_15, n2_.date_created AS date_created_16, n2_.date_modified AS date_modified_17, n2_.sort AS sort_18, n2_.active AS active_19, n3_.name AS name_20, n3_.cod_lang AS cod_lang_21, n0_.banner_id AS banner_id_22, n0_.banner2_id AS banner2_id_23, n1_.news_id AS news_id_24, n2_.banner_id AS banner_id_25, n3_.news_category_id AS news_category_id_26 FROM news n0_ LEFT JOIN news_i18n n1_ ON n0_.id = n1_.news_id LEFT JOIN news_news_category n4_ ON n0_.id = n4_.news_id LEFT JOIN news_category n2_ ON n2_.id = n4_.news_category_id LEFT JOIN news_category_i18n n3_ ON n2_.id = n3_.news_category_id WHERE COALESCE(n1_.title, '') <> '' AND n1_.cod_lang = ? AND n0_.id = ? AND n0_.active = 1 AND n2_.active = 1 AND n0_.publication_date <= ? AND n3_.cod_lang = ?
Parameters:
[
  "ca"
  4164
  "2025-10-19 14:45:07"
  "ca"
]
1.52 ms
(0.00%)
4
SELECT title, link
          FROM news_category_banner_i18n 
          WHERE news_category_banner_id = :news_category_banner_id
            AND cod_lang = :cod_lang
Parameters:
[
  "news_category_banner_id" => 3
  "cod_lang" => "ca"
]
1.43 ms
(0.00%)
1
SELECT t0_.id AS id_0, t0_.date_created AS date_created_1, t0_.date_modified AS date_modified_2, t0_.sort AS sort_3, t0_.active AS active_4, t0_.besoccer_id AS besoccer_id_5, t0_.league_besoccer_id AS league_besoccer_id_6, t0_.group_id AS group_id_7, t0_.gender AS gender_8, t0_.summary AS summary_9, t0_.base AS base_10, t1_.name AS name_11, t1_.cod_lang AS cod_lang_12, t1_.stadium AS stadium_13, t0_.category_team_id AS category_team_id_14, t1_.team_id AS team_id_15 FROM team t0_ LEFT JOIN team_i18n t1_ ON t0_.id = t1_.team_id WHERE t0_.active = 1 AND t1_.cod_lang = ? AND t0_.sort IS NOT NULL ORDER BY t0_.sort ASC, t1_.cod_lang ASC
Parameters:
[
  "ca"
]
0.84 ms
(0.00%)
1
(SELECT * 
                FROM sponsor_header
                WHERE fixed = 1 AND active = 1
                ORDER BY sort
                LIMIT 1)
            UNION
                (SELECT * 
                FROM sponsor_header
                WHERE fixed <> 1 AND active = 1
                ORDER BY RAND() /* , sort ASC Si queremos la característica de que dentro de los 2 escogidos al azar se respete el orden asignado por el cliente  15/06/2022: Ahora sólo será 1 escogido al azar */
                LIMIT 2)
Parameters:
[]
0.79 ms
(0.00%)
1
SELECT n0_.id AS id_0, n0_.date_created AS date_created_1, n0_.date_modified AS date_modified_2, n0_.sort AS sort_3, n0_.active AS active_4, n1_.name AS name_5, n1_.cod_lang AS cod_lang_6, n0_.banner_id AS banner_id_7, n1_.news_category_id AS news_category_id_8 FROM news_category n0_ LEFT JOIN news_category_i18n n1_ ON n0_.id = n1_.news_category_id WHERE n0_.active = 1 AND n1_.cod_lang = ? ORDER BY n0_.sort ASC
Parameters:
[
  "ca"
]
0.78 ms
(0.00%)
1
SELECT s0_.id AS id_0, s0_.date_created AS date_created_1, s0_.date_modified AS date_modified_2, s0_.sort AS sort_3, s0_.active AS active_4, s0_.highlighted AS highlighted_5, s0_.hide_by_ip AS hide_by_ip_6, s1_.link AS link_7, s1_.title AS title_8, s1_.cod_lang AS cod_lang_9, s0_.category_sponsor_id AS category_sponsor_id_10, s1_.sponsor_id AS sponsor_id_11 FROM sponsor s0_ LEFT JOIN sponsor_i18n s1_ ON s0_.id = s1_.sponsor_id WHERE s0_.highlighted = 1 AND s0_.active = 1 AND s1_.cod_lang = ? ORDER BY s0_.sort ASC
Parameters:
[
  "ca"
]
0.74 ms
(0.00%)
1
SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.active AS active_2, s0_.sort AS sort_3, s0_.date_created AS date_created_4, s0_.date_modified AS date_modified_5, s1_.title AS title_6, s1_.second_title AS second_title_7, s1_.description AS description_8, s1_.seo_title AS seo_title_9, s1_.seo_description AS seo_description_10, s1_.cod_lang AS cod_lang_11, s0_.parent_id AS parent_id_12, s1_.section_id AS section_id_13 FROM section s0_ LEFT JOIN section_i18n s1_ ON s0_.id = s1_.section_id WHERE s1_.cod_lang = ? AND s0_.active = 1 AND s0_.code = ?
Parameters:
[
  "ca"
  "news"
]
0.72 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.extension AS extension_3, t0.date_created AS date_created_4, t0.date_modified AS date_modified_5, t0.size AS size_6, t0.itemId AS itemId_7, t0.section AS section_8, t0.type AS type_9, t0.sort AS sort_10 FROM file t0 WHERE t0.itemId = ? AND t0.section = ? AND t0.type = ? ORDER BY t0.sort ASC LIMIT 1
Parameters:
[
  3
  "newscategorybanner"
  "image_ca"
]
0.54 ms
(0.00%)
1
SELECT t0.id AS id_1, t0.date_created AS date_created_2, t0.date_modified AS date_modified_3, t0.kaltura_id AS kaltura_id_4, t0.active AS active_5 FROM audio t0 WHERE t0.active = ? LIMIT 1
Parameters:
[
  1
]

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

Class Mapping errors
App\Entity\News No errors.
App\Entity\File No errors.
App\Entity\NewsI18n No errors.
App\Entity\NewsCategory No errors.
App\Entity\NewsCategoryI18n No errors.
App\Entity\NewsBanner No errors.
App\Entity\NewsCategoryBanner No errors.
App\Entity\Employee No errors.
App\Entity\SlideNews No errors.
App\Entity\Section No errors.
App\Entity\SectionI18n No errors.
App\Entity\NewsCategoryBannerI18n No errors.
App\Entity\Team No errors.
App\Entity\TeamI18n No errors.
App\Entity\TeamCategory No errors.
App\Entity\Sponsor No errors.
App\Entity\SponsorI18n No errors.
App\Entity\SponsorCategory No errors.
App\Entity\SponsorHeader No errors.
App\Entity\Audio No errors.