GET https://new.tossa.cat/ca/

Query Metrics

35 Database Queries
14 Different statements
100.70 ms Query time
0 Invalid entities
148 Managed entities

Queries

Group similar statements

# Time Info
1 16.72 ms
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:
[
  "home"
]
2 5.77 ms
SELECT a0_.id AS id_0, a0_.title AS title_1, a0_.startDate AS startDate_2, a0_.endDate AS endDate_3, a0_.isPublished AS isPublished_4, a0_.hour AS hour_5, a0_.address AS address_6, a0_.price AS price_7, a0_.image AS image_8, a0_.category AS category_9, a0_.equipment_id AS equipment_id_10 FROM agenda a0_ WHERE a0_.isPublished = 1 AND ((a0_.endDate IS NOT NULL AND a0_.endDate >= CURRENT_DATE) OR (a0_.endDate IS NULL AND a0_.startDate >= CURRENT_DATE)) ORDER BY a0_.startDate ASC, a0_.id ASC LIMIT 20
Parameters:
[]
3 4.68 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title AS title_3, t0.subtitle AS subtitle_4, t0.introduction AS introduction_5, t0.description AS description_6, t0.price AS price_7, t0.inscription AS inscription_8, t0.organizer AS organizer_9, t0.agenda AS agenda_10, t0.language AS language_11 FROM agenda_contents t0 WHERE t0.agenda = ?
Parameters:
[
  2
]
4 4.89 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.orderPosition AS orderPosition_3, t0.isActive AS isActive_4, t0.color AS color_5, t0.parent AS parent_6, t0.image AS image_7 FROM agenda_categories t0 WHERE t0.id = ?
Parameters:
[
  7
]
5 4.80 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.agendaCategory AS agendaCategory_4, t0.language AS language_5 FROM agenda_categories_contents t0 WHERE t0.agendaCategory = ?
Parameters:
[
  7
]
6 7.01 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1725
]
7 0.48 ms
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.title AS title_3, t0.subtitle AS subtitle_4, t0.introduction AS introduction_5, t0.description AS description_6, t0.price AS price_7, t0.inscription AS inscription_8, t0.organizer AS organizer_9, t0.agenda AS agenda_10, t0.language AS language_11 FROM agenda_contents t0 WHERE t0.agenda = ?
Parameters:
[
  5
]
8 0.26 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1731
]
9 14.17 ms
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.startDate AS startDate_6, t0.endDate AS endDate_7, t0.startPublishDate AS startPublishDate_8, t0.title AS title_9, t0.author AS author_10, t0.introduction AS introduction_11, t0.body AS body_12, t0.source AS source_13, t0.link AS link_14, t0.linkText AS linkText_15, t0.url AS url_16, t0.category AS category_17, t0.mainImage AS mainImage_18, t0.language AS language_19 FROM schedule t0 WHERE t0.isPublished = ?
Parameters:
[
  1
]
10 11.31 ms
SELECT l0_.id AS id_0, l0_.name AS name_1, l0_.description AS description_2, l0_.url AS url_3, l0_.active AS active_4, l0_.language_id AS language_id_5, l0_.link_id AS link_id_6 FROM links_contents l0_ INNER JOIN links l1_ ON l0_.link_id = l1_.id INNER JOIN languages l2_ ON l0_.language_id = l2_.id INNER JOIN links_categories l3_ ON l1_.category = l3_.id WHERE l2_.id = ? AND l1_.active = 1 AND l0_.active = 1 AND l3_.name = ? ORDER BY l1_.orderPosition ASC
Parameters:
[
  "ca"
  "botons"
]
11 1.34 ms
SELECT l0_.id AS id_0, l0_.name AS name_1, l0_.description AS description_2, l0_.url AS url_3, l0_.active AS active_4, l0_.language_id AS language_id_5, l0_.link_id AS link_id_6 FROM links_contents l0_ INNER JOIN links l1_ ON l0_.link_id = l1_.id INNER JOIN languages l2_ ON l0_.language_id = l2_.id INNER JOIN links_categories l3_ ON l1_.category = l3_.id WHERE l2_.id = ? AND l1_.active = 1 AND l0_.active = 1 AND l3_.name = ? ORDER BY l1_.orderPosition ASC
Parameters:
[
  "ca"
  "destacats"
]
12 0.99 ms
SELECT l0_.id AS id_0, l0_.name AS name_1, l0_.description AS description_2, l0_.url AS url_3, l0_.active AS active_4, l0_.language_id AS language_id_5, l0_.link_id AS link_id_6 FROM links_contents l0_ INNER JOIN links l1_ ON l0_.link_id = l1_.id INNER JOIN languages l2_ ON l0_.language_id = l2_.id INNER JOIN links_categories l3_ ON l1_.category = l3_.id WHERE l2_.id = ? AND l1_.active = 1 AND l0_.active = 1 AND l3_.name = ? ORDER BY l1_.orderPosition ASC
Parameters:
[
  "ca"
  "institucionals"
]
13 3.13 ms
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:
[
  "home"
]
14 2.45 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 INNER JOIN pages_images ON t0.id = pages_images.image_id WHERE pages_images.page_id = ? ORDER BY t0.fieldOrder ASC
Parameters:
[
  "home"
]
15 1.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  242
]
16 0.53 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1703
]
17 0.40 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  243
]
18 0.52 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1704
]
19 0.28 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  4
]
20 0.20 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  87
]
21 0.63 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  244
]
22 0.22 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1705
]
23 0.17 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  245
]
24 0.13 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1706
]
25 0.25 ms
SELECT t0.id AS id_1, t0.name AS name_2, t0.bgc AS bgc_3, t0.textColor AS textColor_4, t0.orderPosition AS orderPosition_5, t0.active AS active_6, t0.newPage AS newPage_7, t0.category AS category_8, t0.image AS image_9 FROM links t0 WHERE t0.id = ?
Parameters:
[
  246
]
26 0.10 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1707
]
27 11.83 ms
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, l1_.id AS id_16, l1_.iso2 AS iso2_17, l1_.iso3 AS iso3_18, l1_.i18n AS i18n_19, l1_.name AS name_20, l1_.fieldOrder AS fieldOrder_21, l1_.isActiveFront AS isActiveFront_22, l1_.isActiveBack AS isActiveBack_23 FROM news n0_ INNER JOIN languages l1_ ON n0_.language = l1_.id WHERE l1_.id = ? AND n0_.isPublished = 1 AND CURRENT_DATE >= n0_.startPublishDate) dctrn_result_inner ORDER BY date_4 DESC, id_0 DESC) dctrn_result LIMIT 6
Parameters:
[
  "ca"
]
28 0.67 ms
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_ INNER JOIN languages l1_ ON n0_.language = l1_.id WHERE l1_.id = ? AND n0_.isPublished = 1 AND CURRENT_DATE >= n0_.startPublishDate AND n0_.id IN (?, ?, ?, ?, ?, ?) ORDER BY n0_.date DESC, n0_.id DESC
Parameters:
[
  "ca"
  540
  539
  538
  537
  536
  534
]
29 0.26 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1730
]
30 0.29 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1729
]
31 0.14 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1702
]
32 0.10 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1701
]
33 0.13 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1700
]
34 0.11 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1693
]
35 4.57 ms
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"
  "25"
]

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\LinkContent 39
App\Entity\Link 39
App\Entity\Image 28
App\Entity\Schedule 10
App\Entity\News 6
App\Entity\PageContent 5
App\Entity\Page 4
App\Entity\AgendaContent 4
App\Entity\ScheduleCategory 3
App\Entity\Agenda 2
App\Entity\Language 2
App\Entity\AgendaCategoryContent 2
App\Entity\PageCategory 1
App\Entity\AgendaCategory 1
App\Entity\LinkCategory 1
App\Entity\NewsCategory 1