Query Metrics
7
Database Queries
7
Different statements
38.83 ms
Query time
0
Invalid entities
8
Managed entities
Grouped Statements
| Time▼ | Count | Info |
|---|---|---|
|
13.07 ms (33.66%) |
1 |
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_ INNER JOIN agenda_municipal_areas a2_ ON a0_.id = a2_.agenda_id INNER JOIN municipal_areas m1_ ON m1_.id = a2_.municipal_area_id INNER JOIN agenda_contents a3_ ON a0_.id = a3_.agenda WHERE a0_.isPublished = 1 AND a3_.language = ? AND m1_.id = ? ORDER BY a0_.startDate ASC, a0_.id ASC
Parameters:
[ "ca" 4 ] |
|
10.70 ms (27.56%) |
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_ INNER JOIN news_municipal_areas n2_ ON n0_.id = n2_.news_id INNER JOIN municipal_areas m1_ ON m1_.id = n2_.municipal_area_id WHERE n0_.isPublished = 1 AND n0_.language = ? AND m1_.id = ? AND n0_.isPublished = 1 AND CURRENT_DATE >= n0_.startPublishDate ORDER BY n0_.date DESC, n0_.id DESC LIMIT 8
Parameters:
[ "ca" 4 ] |
|
4.86 ms (12.52%) |
1 |
SELECT t0.id AS id_1, t0.firstName AS firstName_2, t0.lastName AS lastName_3, t0.role AS role_4, t0.email AS email_5, t0.phone AS phone_6, t0.instagram AS instagram_7, t0.facebook AS facebook_8, t0.twitter AS twitter_9, t0.transparency AS transparency_10, t0.retribution AS retribution_11, t0.declaration AS declaration_12, t0.agenda AS agenda_13, t0.photoFilename AS photoFilename_14, t0.bio AS bio_15, t0.isAlcalde AS isAlcalde_16, t0.isGovern AS isGovern_17, t0.displayOrder AS displayOrder_18, t0.updatedAt AS updatedAt_19, t0.party_id AS party_id_20 FROM elected_officials t0 WHERE t0.id = ?
Parameters:
[
5
]
|
|
4.19 ms (10.79%) |
1 |
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.language = ? AND t0.page = ? LIMIT 1
Parameters:
[ "ca" "areesMunicipals" ] |
|
2.89 ms (7.44%) |
1 |
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 = ? AND t0.active = ? LIMIT 1
Parameters:
[ "areesMunicipals" 1 ] |
|
2.75 ms (7.09%) |
1 |
SELECT t0.id AS id_1, t0.slug AS slug_2, t0.name AS name_3, t0.description AS description_4, t0.introduction AS introduction_5, t0.url AS url_6, t0.active AS active_7, t0.language_id AS language_id_8, t0.municipal_area_id AS municipal_area_id_9 FROM municipal_areas_contents t0 WHERE t0.slug = ? AND t0.language_id = ? LIMIT 1
Parameters:
[ "transparencia-i-participacio" "ca" ] |
|
0.36 ms (0.94%) |
1 |
SELECT t0.id AS id_1, t0.name AS name_2, t0.iconOrImage AS iconOrImage_3, t0.displayOrder AS displayOrder_4, t0.email AS email_5, t0.updatedAt AS updatedAt_6, t0.image_id AS image_id_7, t0.responsible_official_id AS responsible_official_id_8 FROM municipal_areas t0 WHERE t0.id = ?
Parameters:
[
4
]
|
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\Page | 1 |
| App\Entity\PageCategory | 1 |
| App\Entity\PageContent | 1 |
| App\Entity\Language | 1 |
| App\Entity\MunicipalAreaContent | 1 |
| App\Entity\MunicipalArea | 1 |
| App\Entity\ElectedOfficial | 1 |
| App\Entity\PoliticalParty | 1 |