GET https://new.tossa.cat/ca/noticies/notes-de-premsa

Query Metrics

36 Database Queries
8 Different statements
97.48 ms Query time
0 Invalid entities
69 Managed entities

Queries

Group similar statements

#▲ Time Info
1 28.93 ms
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"
]
2 2.15 ms
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.language = ? AND t0.slug = ? LIMIT 1
Parameters:
[
  "ca"
  "notes-de-premsa"
]
3 14.99 ms
SELECT COUNT(*) AS dctrn_count FROM (SELECT DISTINCT id_0 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 ORDER BY n0_.date DESC, n0_.id DESC) dctrn_result) dctrn_table
Parameters:
[
  "ca"
  1
]
4 10.70 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:
[
  "noticies"
]
5 15.49 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:
[
  "noticies"
]
6 2.38 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 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 30
Parameters:
[
  "ca"
  1
]
7 1.53 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_ 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
  536
  534
  533
  535
  532
  531
  530
  528
  527
  526
  525
  524
  522
  523
  521
  520
  519
  518
  517
  516
  515
  514
  513
  512
  510
  509
]
8 3.47 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
]
9 0.30 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
]
10 0.25 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
]
11 0.28 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
]
12 0.50 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
]
13 0.46 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
]
14 1.19 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1692
]
15 0.30 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1695
]
16 0.25 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1691
]
17 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:
[
  1690
]
18 0.50 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1689
]
19 0.61 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1687
]
20 0.47 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1686
]
21 0.34 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1685
]
22 0.38 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1682
]
23 0.35 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1681
]
24 0.42 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1680
]
25 0.30 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1679
]
26 0.69 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1678
]
27 0.95 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1677
]
28 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:
[
  1673
]
29 1.00 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1672
]
30 0.82 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1671
]
31 1.69 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1670
]
32 0.99 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1669
]
33 1.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:
[
  1667
]
34 0.93 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1666
]
35 1.28 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1663
]
36 0.68 ms
SELECT t0.id AS id_1, t0.file AS file_2, t0.fieldOrder AS fieldOrder_3 FROM images t0 WHERE t0.id = ?
Parameters:
[
  1662
]

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\News 30
App\Entity\Image 29
App\Entity\NewsCategoryContent 2
App\Entity\NewsCategory 2
App\Entity\Language 2
App\Entity\PageContent 2
App\Entity\Page 1
App\Entity\PageCategory 1