Query Metrics

44 Database Queries
12 Different statements
45.56 ms Query time
0 Invalid entities
230 Managed entities

Grouped Statements

Show all queries

Time Count Info
17.41 ms
(38.21%)
14
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.pageCategory AS pageCategory_4, t0.language AS language_5 FROM pages_categories_contents t0 WHERE t0.language = ? AND t0.pageCategory = ? LIMIT 1
Parameters:
[
  "ca"
  10
]
8.74 ms
(19.18%)
1
SELECT n0_.id AS id_0, n0_.slug AS slug_1, n0_.name AS name_2, n0_.newsCategory AS newsCategory_3, n0_.language AS language_4 FROM news_categories_contents n0_ INNER JOIN news_categories n1_ ON n0_.newsCategory = n1_.id INNER JOIN languages l2_ ON n0_.language = l2_.id WHERE l2_.id = ? AND n1_.isActive = 1 ORDER BY n1_.orderPosition ASC
Parameters:
[
  "ca"
]
5.80 ms
(12.72%)
15
SELECT p0_.id AS id_0, p0_.slug AS slug_1, p0_.name AS name_2, p0_.title AS title_3, p0_.subtitle AS subtitle_4, p0_.intro AS intro_5, p0_.body AS body_6, p0_.metaTitle AS metaTitle_7, p0_.metaDescription AS metaDescription_8, p0_.metaKeywords AS metaKeywords_9, p0_.bannerText AS bannerText_10, p0_.redirect_url AS redirect_url_11, p0_.is_external AS is_external_12, p0_.bannerImage AS bannerImage_13, p0_.page AS page_14, p0_.language AS language_15 FROM pages_contents p0_ INNER JOIN pages p1_ ON p0_.page = p1_.id INNER JOIN languages l2_ ON p0_.language = l2_.id WHERE l2_.id = ? AND p1_.active = 1 AND p1_.pages_categories = ? ORDER BY p1_.orderPosition ASC, p1_.id ASC
Parameters:
[
  "ca"
  10
]
5.73 ms
(12.58%)
1
SELECT DISTINCT id_0 FROM (SELECT DISTINCT id_0, date_4 FROM (SELECT n0_.id AS id_0, n0_.slug AS slug_1, n0_.isPublished AS isPublished_2, n0_.isOld AS isOld_3, n0_.date AS date_4, n0_.startPublishDate AS startPublishDate_5, n0_.title AS title_6, n0_.author AS author_7, n0_.introduction AS introduction_8, n0_.body AS body_9, n0_.source AS source_10, n0_.link AS link_11, n0_.linkText AS linkText_12, n0_.url AS url_13, n0_.shareTitle AS shareTitle_14, n0_.shareDescription AS shareDescription_15 FROM news n0_ WHERE n0_.isPublished = 1 AND n0_.language = ? AND n0_.category = ? AND n0_.isPublished = 1 AND CURRENT_DATE >= n0_.startPublishDate) dctrn_result_inner ORDER BY date_4 DESC, id_0 DESC) dctrn_result LIMIT 4
Parameters:
[
  "ca"
  1
]
2.73 ms
(5.99%)
1
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.isPublished AS isPublished_3, t0.isOld AS isOld_4, t0.date AS date_5, t0.startPublishDate AS startPublishDate_6, t0.title AS title_7, t0.author AS author_8, t0.introduction AS introduction_9, t0.body AS body_10, t0.source AS source_11, t0.link AS link_12, t0.linkText AS linkText_13, t0.url AS url_14, t0.shareTitle AS shareTitle_15, t0.shareDescription AS shareDescription_16, t0.category AS category_17, t0.mainImage AS mainImage_18, t0.language AS language_19, t0.shareImage AS shareImage_20, t0.equipment_id AS equipment_id_21 FROM news t0 WHERE t0.id = ? LIMIT 1
Parameters:
[
  "538"
]
1.60 ms
(3.51%)
1
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.newsCategory AS newsCategory_4, t0.language AS language_5 FROM news_categories_contents t0 WHERE t0.newsCategory = ?
Parameters:
[
  1
]
0.98 ms
(2.15%)
4
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1702
]
0.67 ms
(1.46%)
2
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.title AS title_4, t0.subtitle AS subtitle_5, t0.intro AS intro_6, t0.body AS body_7, t0.metaTitle AS metaTitle_8, t0.metaDescription AS metaDescription_9, t0.metaKeywords AS metaKeywords_10, t0.bannerText AS bannerText_11, t0.redirect_url AS redirect_url_12, t0.is_external AS is_external_13, t0.bannerImage AS bannerImage_14, t0.page AS page_15, t0.language AS language_16 FROM pages_contents t0 WHERE t0.page = ?
Parameters:
[
  "noticies"
]
0.57 ms
(1.24%)
1
SELECT n0_.id AS id_0, n0_.slug AS slug_1, n0_.isPublished AS isPublished_2, n0_.isOld AS isOld_3, n0_.date AS date_4, n0_.startPublishDate AS startPublishDate_5, n0_.title AS title_6, n0_.author AS author_7, n0_.introduction AS introduction_8, n0_.body AS body_9, n0_.source AS source_10, n0_.link AS link_11, n0_.linkText AS linkText_12, n0_.url AS url_13, n0_.shareTitle AS shareTitle_14, n0_.shareDescription AS shareDescription_15, n0_.category AS category_16, n0_.mainImage AS mainImage_17, n0_.language AS language_18, n0_.shareImage AS shareImage_19, n0_.equipment_id AS equipment_id_20 FROM news n0_ WHERE n0_.isPublished = 1 AND n0_.language = ? AND n0_.category = ? AND n0_.isPublished = 1 AND CURRENT_DATE >= n0_.startPublishDate AND n0_.id IN (?, ?, ?, ?) ORDER BY n0_.date DESC, n0_.id DESC
Parameters:
[
  "ca"
  1
  540
  539
  538
  537
]
0.56 ms
(1.22%)
2
SELECT t0.id AS id_1, t0.active AS active_2, t0.orderPosition AS orderPosition_3, t0.opcionals AS opcionals_4, t0.fieldType AS fieldType_5, t0.pages_categories AS pages_categories_6, t0.bannerImage AS bannerImage_7 FROM pages t0 WHERE t0.id = ?
Parameters:
[
  "noticies"
]
0.40 ms
(0.89%)
1
SELECT t0.id AS id_1, t0.name AS name_2, t0.orderPosition AS orderPosition_3, t0.isActive AS isActive_4, t0.parent AS parent_5, t0.image AS image_6 FROM news_categories t0 WHERE t0.id = ?
Parameters:
[
  1
]
0.39 ms
(0.85%)
1
SELECT a0_.id AS id_0, a0_.slug AS slug_1, a0_.name AS name_2, a0_.agendaCategory AS agendaCategory_3, a0_.language AS language_4 FROM agenda_categories_contents a0_ INNER JOIN agenda_categories a1_ ON a0_.agendaCategory = a1_.id INNER JOIN languages l2_ ON a0_.language = l2_.id WHERE l2_.id = ? AND a1_.isActive = 1 ORDER BY a1_.orderPosition ASC
Parameters:
[
  "ca"
]

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.

Managed Entities

default entity manager

Class Amount of managed objects
App\Entity\PageContent 87
App\Entity\Page 85
App\Entity\PageCategory 15
App\Entity\PageCategoryContent 14
App\Entity\AgendaCategoryContent 7
App\Entity\AgendaCategory 7
App\Entity\News 4
App\Entity\Image 4
App\Entity\NewsCategoryContent 3
App\Entity\NewsCategory 2
App\Entity\Language 2